diff --git a/course/info.php b/course/info.php
index fd36c13a925..eda64232186 100644
--- a/course/info.php
+++ b/course/info.php
@@ -66,7 +66,7 @@
echo "
";
print_simple_box_start("center", "100%");
- echo text_to_html($course->summary);
+ echo filter_text(text_to_html($course->summary),$course->id);
print_simple_box_end();
echo "
";
diff --git a/course/lib.php b/course/lib.php
index db9b8f476af..c1de26307ef 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -822,31 +822,31 @@ function print_admin_links ($siteid, $width=180) {
global $CFG, $THEME;
if (isadmin()) {
- $moddata[]="wwwroot/$CFG->admin/configure.php\">".get_string("configuration")."...";
- $modicon[]="pixpath/i/admin.gif\" height=16 width=16 alt=\"\" />";
+ $moddata[]="wwwroot/$CFG->admin/configure.php\">".get_string("configuration")."...";
+ $modicon[]="
pixpath/i/admin.gif\" height=16 width=16 alt=\"\" />";
- $moddata[]="wwwroot/$CFG->admin/users.php\">".get_string("users")."...";
- $modicon[]="
pixpath/i/users.gif\" height=16 width=16 alt=\"\" />";
+ $moddata[]="wwwroot/$CFG->admin/users.php\">".get_string("users")."...";
+ $modicon[]="
pixpath/i/users.gif\" height=16 width=16 alt=\"\" />";
}
if (iscreator()) {
- $moddata[]="wwwroot/course/index.php?edit=on\">".get_string("courses")."";
- $modicon[]="
pixpath/i/course.gif\" height=16 width=16 alt=\"\" />";
+ $moddata[]="wwwroot/course/index.php?edit=on\">".get_string("courses")."";
+ $modicon[]="
pixpath/i/course.gif\" height=16 width=16 alt=\"\" />";
$fulladmin = "";
}
if (isadmin()) {
- $moddata[]="wwwroot/course/log.php?id=$siteid\">".get_string("logs")."";
- $modicon[]="
pixpath/i/log.gif\" height=16 width=16 alt=\"\" />";
+ $moddata[]="wwwroot/course/log.php?id=$siteid\">".get_string("logs")."";
+ $modicon[]="
pixpath/i/log.gif\" height=16 width=16 alt=\"\" />";
- $moddata[]="wwwroot/files/index.php?id=$siteid\">".get_string("sitefiles")."";
- $modicon[]="
pixpath/i/files.gif\" height=16 width=16 alt=\"\" />";
+ $moddata[]="wwwroot/files/index.php?id=$siteid\">".get_string("sitefiles")."";
+ $modicon[]="
pixpath/i/files.gif\" height=16 width=16 alt=\"\" />";
- if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
+ if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
$moddata[]="wwwroot/$CFG->admin/$CFG->dbtype/frame.php\">".
get_string("managedatabase")."";
- $modicon[]="
pixpath/i/db.gif\" height=16 width=16 alt=\"\" />";
- }
+ $modicon[]="
pixpath/i/db.gif\" height=16 width=16 alt=\"\" />";
+ }
$fulladmin = "
wwwroot/$CFG->admin/\">".get_string("admin")."..."; } @@ -1240,7 +1240,7 @@ function print_course($course, $width="100%") { echo "
".text_to_html($course->summary)."
"; + echo "".filter_text(text_to_html($course->summary), $course->id)."
"; echo "