]> git.mjollnir.org Git - moodle.git/commitdiff
Strip tags from Window title
authormoodler <moodler>
Tue, 3 Jun 2003 03:23:29 +0000 (03:23 +0000)
committermoodler <moodler>
Tue, 3 Jun 2003 03:23:29 +0000 (03:23 +0000)
index.php

index 0ca2777f0c1372b81c5d05baf9510011093853e2..12e4d56c0a9f36265f1c2358087a57533e92d19a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -30,7 +30,7 @@
         $langmenu = popup_form ("$CFG->wwwroot/?lang=", $langs, "chooselang", $currlang, "", "", "", true);
     }
 
-    print_header("$site->fullname", "$site->fullname", "home", "",
+    print_header(strip_tags($site->fullname), "$site->fullname", "home", "",
                  "<meta name=\"description\" content=\"".s(strip_tags($site->summary))."\">",
                  true, "", "<div align=right>$loginstring$langmenu</div>");