From: gustav_delius Date: Sun, 6 Feb 2005 18:18:44 +0000 (+0000) Subject: Avoid using

tags because different browsers treat them differently (e.g in firefo... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0e2851b998124b4779348033c2238bc445599413;p=moodle.git Avoid using

tags because different browsers treat them differently (e.g in firefox if a table cell starts with a

it will start with an empty line, in IE it will not). Use

instead. --- diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 84b70df354..bfdfb99030 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -83,9 +83,9 @@ $strcancel= get_string("cancel"); echo ""; echo ""; - echo "

"; + echo "

"; echo "$stractivityclipboard  (sesskey\">$strcancel)"; - echo "

"; + echo "
"; echo ""; echo ""; echo "\"\""; @@ -182,7 +182,7 @@ echo ""; echo ""; - echo "

$section

"; + echo "
$section
"; echo ""; if (!isteacher($course->id) and !$thissection->visible) { // Hidden for students diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index e27b36cffa..09ed531860 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -73,9 +73,9 @@ $strcancel= get_string("cancel"); echo ""; echo ""; - echo "

"; + echo "

"; echo "$stractivityclipboard  (sesskey\">$strcancel)"; - echo "

"; + echo "
"; echo ""; echo ""; echo "\"\""; @@ -170,20 +170,20 @@ echo ""; echo ""; - echo "

$section

"; + echo "
$section
"; echo ""; echo ""; if (!isteacher($course->id) and !$thissection->visible) { // Hidden for students - echo "

$weekday - $endweekday "; + echo "

$weekday - $endweekday "; echo "(".get_string("notavailable").")"; - echo "

"; + echo "
"; echo ""; } else { - echo "

$weekday - $endweekday

"; + echo "
$weekday - $endweekday
"; $summaryformatoptions->noclean = true; echo format_text($thissection->summary, FORMAT_HTML, $summaryformatoptions);