From: martin <martin>
Date: Tue, 11 Jun 2002 07:43:54 +0000 (+0000)
Subject: OK, this is better (sigh)
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b7b6fef98c4837d21e4e76078f7ba5a488839839;p=moodle.git

OK, this is better (sigh)
---

diff --git a/index.php b/index.php
index c89c4ffd70..a41ea9eddd 100644
--- a/index.php
+++ b/index.php
@@ -34,12 +34,13 @@
 	             echo "<LI>$reading";
                  }
              }
+             if ($USER->editing) {
+                 echo "<P align=right><A HREF=\"$CFG->wwwroot/course/mod.php?id=$site->id&week=0&add=reading\">Add Reading</A>...</P>";
+             } else {
+                 echo "<BR><BR>";
+             }
          }
      
-         if ($USER->editing) {
-             echo "<P align=right><A HREF=\"$CFG->wwwroot/course/mod.php?id=$site->id&week=0&add=reading\">Add Reading</A>...</P>";
-             echo "<BR>";
-         }
 
          if (isadmin()) {
              print_simple_box("Admin", $align="CENTER", $width="100%", $color="$THEME->cellheading");