diff --git a/index.php b/index.php index 246bf21f3fd..6c2578ccde2 100644 --- a/index.php +++ b/index.php @@ -18,30 +18,31 @@ -
- cellheading"); ?> + + format > 0 or $readings or $USER->editing) { + + print_simple_box("Main Menu", $align="CENTER", $width="100%", $color="$THEME->cellheading"); -
  • Home
  • -
  • Courses
  • - format > 0 ) { ?> -
  • Forums
  • - + if ($site->format > 0 ) { + echo "
  • Courses
  • "; + echo "
  • id?>\">Forums
  • "; + } - $reading"; + if ($readings) { + foreach ($readings as $reading) { + echo "
  • $reading"; + } } } if ($USER->editing) { echo "

    wwwroot/course/mod.php?id=$site->id&week=0&add=reading\">Add Reading...

    "; + echo "

    "; } - ?> -

    - - cellheading"); echo "
  • wwwroot/admin/\">Admin Page...
  • ";