]> git.mjollnir.org Git - moodle.git/commitdiff
Tidied up the front page. Added 'editing' switch and normal footer
authormartin <martin>
Sun, 25 Nov 2001 15:45:35 +0000 (15:45 +0000)
committermartin <martin>
Sun, 25 Nov 2001 15:45:35 +0000 (15:45 +0000)
index.php

index a54aa6bd81234d3bec77e8c6a4b9d5e61591c0b1..ceeb5cdd1b8babc3a3860c67d6cfce62ab586920 100644 (file)
--- a/index.php
+++ b/index.php
@@ -9,15 +9,18 @@
 
     print_header("$site->fullname", "$site->fullname", "", "");
 
+
 ?>
 
+
 <TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5">
   <TR>
     <TD WIDTH="15%" VALIGN="TOP" NOWRAP>
       <? print_simple_box("Main Menu", $align="CENTER", $width="100%", $color="$THEME->cellheading"); ?>
 
          <LI>Home</LI>
-      <LI><A TITLE="Available courses on this server" HREF="course/">Courses</A></LI>
+      <LI><A TITLE="Available courses on this server" HREF="course/"><B>Courses</B></A><BR></LI>
+      <LI><A TITLE="Site-level Forums" HREF="mod/discuss/index.php?id=<?=$site->id?>">Forums</A></LI>
 
       <? include("mod/reading/lib.php"); 
          list_all_readings();
   </TR>
 </TABLE>
 
-<HR SIZE=1 NOSHADE>
+<CENTER><P>
+<? print_editing_switch($site->id); ?>
+</P><CENTER>
 
+<? include("$CFG->dirroot/theme/$CFG->theme/footer.html"); ?>
 
 <P ALIGN=center>
 <A WIDTH=85 HEIGHT=25 HREF="http://moodle.com/"><IMG SRC="pix/madewithmoodle.gif" BORDER=0></A>