Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

OK, this is better (sigh)

  • Loading branch information...
commit b7b6fef98c4837d21e4e76078f7ba5a488839839 1 parent c629ec1
martin authored

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. +5 4 index.php
9 index.php
@@ -34,12 +34,13 @@
34 34 echo "<LI>$reading";
35 35 }
36 36 }
  37 + if ($USER->editing) {
  38 + echo "<P align=right><A HREF=\"$CFG->wwwroot/course/mod.php?id=$site->id&week=0&add=reading\">Add Reading</A>...</P>";
  39 + } else {
  40 + echo "<BR><BR>";
  41 + }
37 42 }
38 43
39   - if ($USER->editing) {
40   - echo "<P align=right><A HREF=\"$CFG->wwwroot/course/mod.php?id=$site->id&week=0&add=reading\">Add Reading</A>...</P>";
41   - echo "<BR>";
42   - }
43 44
44 45 if (isadmin()) {
45 46 print_simple_box("Admin", $align="CENTER", $width="100%", $color="$THEME->cellheading");

0 comments on commit b7b6fef

Please sign in to comment.
Something went wrong with that request. Please try again.