]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed description tag and moved switch
authormartin <martin>
Mon, 10 Dec 2001 11:18:56 +0000 (11:18 +0000)
committermartin <martin>
Mon, 10 Dec 2001 11:18:56 +0000 (11:18 +0000)
index.php

index 35757f838819923991cfc4d614fc5bdda2443b7b..7f9fa8b2969b40e4d5fcecd6a1573e145153a367 100644 (file)
--- a/index.php
+++ b/index.php
@@ -8,7 +8,7 @@
     }
 
     print_header("$site->fullname", "$site->fullname", "", "",
-                 "<META NAME=\"Description\" CONTENT=\"$site->summary\">");
+                 "<META NAME=\"Description\" CONTENT=\"".stripslashes(strip_tags($site->summary))."\">");
 
 
 ?>
@@ -25,6 +25,8 @@
 
       <? include("mod/reading/lib.php"); 
          list_all_readings();
+         echo "<P>";
+         print_editing_switch($site->id); 
       ?>
 
     </TD>
   </TR>
 </TABLE>
 
-<CENTER><P>
-<? print_editing_switch($site->id); ?>
-</P><CENTER>
-
 <? include("$CFG->dirroot/theme/$CFG->theme/footer.html"); ?>
 
 <P ALIGN=center>