From: gustav_delius Date: Thu, 30 Sep 2004 18:56:08 +0000 (+0000) Subject: after removing empty line at top of section the editing icon was now a bit cramped... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dfc12289a3c34c98ac5543f206ad712352c327d0;p=moodle.git after removing empty line at top of section the editing icon was now a bit cramped in, so added an empty line below it but only if editing is on. --- diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 1db06a5097..3b2e65728d 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -108,7 +108,7 @@ if (isediting($course->id)) { echo "id\">pixpath/t/edit.gif\" ". - " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />
"; + " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />

"; } print_section($course, $thissection, $mods, $modnamesused); @@ -197,7 +197,7 @@ if (isediting($course->id)) { echo " id\">". - "pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\" alt=\"\" />
"; + "pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\" alt=\"\" />

"; } print_section($course, $thissection, $mods, $modnamesused); diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 81c6239c42..95f8422cc8 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -97,7 +97,7 @@ if (isediting($course->id)) { echo " id\">pixpath/t/edit.gif\" ". - " border=\"0\" alt=\"$streditsummary\" />
"; + " border=\"0\" alt=\"$streditsummary\" />

"; } print_section($course, $thissection, $mods, $modnamesused); @@ -190,7 +190,7 @@ if (isediting($course->id)) { echo " id\">". - "pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\" />
"; + "pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\" />

"; } print_section($course, $thissection, $mods, $modnamesused); diff --git a/index.php b/index.php index 69969413cb..a8ce03945e 100644 --- a/index.php +++ b/index.php @@ -192,7 +192,7 @@ $streditsummary = get_string('editsummary'); echo "id\">pixpath/t/edit.gif\" ". - " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />
"; + " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />

"; } get_all_mods($site->id, $mods, $modnames, $modnamesplural, $modnamesused);