From: gustav_delius Date: Thu, 30 Sep 2004 18:43:24 +0000 (+0000) Subject: removed spurious empty line at start of sections X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=eab617f96c406a5aa041b982dab7f305f2c481bb;p=moodle.git removed spurious empty line at start of sections --- diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 431fdab859..1db06a5097 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -111,8 +111,6 @@ " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />
"; } - echo '
'; - print_section($course, $thissection, $mods, $modnamesused); if (isediting($course->id)) { @@ -202,8 +200,6 @@ "pixpath/t/edit.gif\" border=\"0\" height=\"11\" width=\"11\" alt=\"\" />
"; } - echo '
'; - print_section($course, $thissection, $mods, $modnamesused); if (isediting($course->id)) { diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 8ad895e9e8..81c6239c42 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -100,8 +100,6 @@ " border=\"0\" alt=\"$streditsummary\" />
"; } - echo '
'; - print_section($course, $thissection, $mods, $modnamesused); if (isediting($course->id)) { @@ -195,8 +193,6 @@ "pixpath/t/edit.gif\" height=\"11\" width=\"11\" border=\"0\" />
"; } - echo '
'; - print_section($course, $thissection, $mods, $modnamesused); if (isediting($course->id)) { diff --git a/index.php b/index.php index 4988b9253a..69969413cb 100644 --- a/index.php +++ b/index.php @@ -195,8 +195,6 @@ " height=\"11\" width=\"11\" border=\"0\" alt=\"$streditsummary\" />
"; } - echo '
'; - get_all_mods($site->id, $mods, $modnames, $modnamesplural, $modnamesused); print_section($site, $section, $mods, $modnamesused, true); @@ -280,4 +278,3 @@ -