]> git.mjollnir.org Git - moodle.git/commitdiff
Small change
authormartin <martin>
Tue, 26 Feb 2002 13:40:11 +0000 (13:40 +0000)
committermartin <martin>
Tue, 26 Feb 2002 13:40:11 +0000 (13:40 +0000)
index.php

index c4538700f33f59978e9c92c854b232e46d84ebe1..1013f365ce380c646b6d79df2c970ed97e0b77da 100644 (file)
--- a/index.php
+++ b/index.php
@@ -52,7 +52,7 @@
     <TD WIDTH="55%" VALIGN="TOP">
       <? print_simple_box("Site News", $align="CENTER", $width="100%", $color="$THEME->cellheading"); ?>
 
-      <BR>
+      <IMG HEIGHT=8 SRC="pix/spacer.gif"><BR>
 
       <? include("mod/discuss/lib.php");
          forum_latest_topics();
     
     </TD>
     <TD WIDTH="30%" VALIGN="TOP"> 
-      <? print_simple_box($site->summary, $align="", $width="100%", $color="$THEME->cellheading"); ?>
+      <? 
+         if ($USER->editing) {
+             $site->summary .= "<BR><CENTER><A HREF=\"admin/site.php\"><IMG SRC=\"pix/i/edit.gif\" BORDER=0></A>";
+         }
+         print_simple_box($site->summary, $align="", $width="100%", $color="$THEME->cellheading");
+      ?>
     </TD>
   </TR>
 </TABLE>