mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Made an "Admin" section on the frojnt page
This commit is contained in:
parent
9284942d29
commit
a166f060ec
13
index.php
13
index.php
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user