[svn r18710] Logic change - Fixed template list when you set a document as template - see FS#3585

skala
Cristian Fasanando 16 years ago
parent d027ac90e0
commit 22a494ff1a
  1. 2
      main/inc/lib/fckeditor/fcktemplates.xml.php

@ -71,7 +71,7 @@ $default_course_dir = api_get_path(REL_CODE_PATH).'default_course_document/';
echo '<Template title="'.s2($a_template['title']).'" >';
echo '<Description>'.s2($a_template['description']).'</Description>';
echo '<Html>';
echo htmlentities(file_get_contents(api_get_path(SYS_COURSE_PATH).$course['path'].'/document'.$document_path));
echo htmlspecialchars(file_get_contents(api_get_path(SYS_COURSE_PATH).$course['path'].'/document'.$document_path),ENT_COMPAT);
echo '</Html>';
echo '</Template>';
}

Loading…
Cancel
Save