Skip to content
Browse files

Fixed description tag and moved switch

  • Loading branch information...
1 parent c8138d9 commit 9284942d295fbddeb5d6bf00b201b166a24560be martin committed Dec 10, 2001
Showing with 3 additions and 5 deletions.
  1. +3 −5 index.php
View
8 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>
@@ -45,10 +47,6 @@
</TR>
</TABLE>
-<CENTER><P>
-<? print_editing_switch($site->id); ?>
-</P><CENTER>
-
<? include("$CFG->dirroot/theme/$CFG->theme/footer.html"); ?>
<P ALIGN=center>

0 comments on commit 9284942

Please sign in to comment.
Something went wrong with that request. Please try again.