From dfc12289a3c34c98ac5543f206ad712352c327d0 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Thu, 30 Sep 2004 18:56:08 +0000 Subject: [PATCH] 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. --- course/format/topics/format.php | 4 ++-- course/format/weeks/format.php | 4 ++-- index.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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); -- 2.39.5