Made an "Admin" section on the frojnt page

This commit is contained in:
martin 2001-12-11 04:30:58 +00:00
parent 9284942d29
commit a166f060ec

View File

@ -25,8 +25,17 @@
<? include("mod/reading/lib.php");
list_all_readings();
echo "<P>";
print_editing_switch($site->id);
?>
<BR><BR>
<?
if (isadmin()) {
print_simple_box("Admin", $align="CENTER", $width="100%", $color="$THEME->cellheading");
echo "<LI><A HREF=\"$CFG->wwwroot/admin/\">Admin Page</A></LI>";
echo "<LI>";
print_editing_switch($site->id);
}
?>
</TD>