mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
Made an "Admin" section on the frojnt page
This commit is contained in:
parent
9284942d29
commit
a166f060ec
1 changed files with 11 additions and 2 deletions
11
index.php
11
index.php
|
@ -25,8 +25,17 @@
|
|||
|
||||
<? include("mod/reading/lib.php");
|
||||
list_all_readings();
|
||||
echo "<P>";
|
||||
?>
|
||||
|
||||
<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…
Add table
Add a link
Reference in a new issue