From: toyomoyo Date: Wed, 20 Dec 2006 02:17:13 +0000 (+0000) Subject: MDL-7861 fixng lesson xhtml tags X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2ba9db3cd53ec76e26432ed0642ab028a21a20db;p=moodle.git MDL-7861 fixng lesson xhtml tags --- diff --git a/mod/lesson/action/addbranchtable.php b/mod/lesson/action/addbranchtable.php index f25b829278..3f3fe13fa2 100644 --- a/mod/lesson/action/addbranchtable.php +++ b/mod/lesson/action/addbranchtable.php @@ -36,13 +36,13 @@ // give teacher a blank proforma print_heading_with_help(get_string("addabranchtable", "lesson"), "overview", "lesson"); ?> -
+ - + -
+
@@ -55,7 +55,7 @@ echo "\n"; @@ -64,7 +64,7 @@ echo "\n"; - echo ""; break; } $prevpageid = $page->id; $pageid = $page->nextpageid; + echo ""; } - echo "

\n"; echo "
"; echo get_string("arrangebuttonshorizontally", "lesson")."\n"; - echo "
"; + echo "
"; echo get_string("displayinleftmenu", "lesson"); echo "
\n"; echo "
".get_string("description", "lesson")." $iplus1:
\n"; print_textarea(false, 10, 70, 630, 300, "answer[$i]"); // made the default set to off also removed use_html_editor(); line from down below, which made all textareas turn into html editors echo "
".get_string("jump", "lesson")." $iplus1: \n"; + echo "
".get_string("jump", "lesson")." $iplus1: \n"; if ($i) { // answers 2, 3, 4... jumpto this page choose_from_menu($jump, "jumpto[$i]", 0, ""); diff --git a/mod/lesson/edit.php b/mod/lesson/edit.php index a342a513f7..51746beb29 100644 --- a/mod/lesson/edit.php +++ b/mod/lesson/edit.php @@ -275,13 +275,15 @@ } if (count($pages) == 1) { + echo "
"; + echo ""; break; } } diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php index 26d72f171c..13e78d1e32 100644 --- a/mod/lesson/locallib.php +++ b/mod/lesson/locallib.php @@ -480,7 +480,7 @@ function lesson_print_page_actions($cmid, $page, $printmove, $printaddpage = fal if (has_capability('mod/lesson:edit', $context)) { if ($printmove) { - $actions[] = "wwwroot/mod/lesson/lesson.php?id=$cmid&action=move&pageid=$page->id\"> + $actions[] = "wwwroot/mod/lesson/lesson.php?id=$cmid&action=move&pageid=$page->id\"> pixpath/t/move.gif\" height=\"11\" width=\"11\" alt=\"".get_string('move')."\" border=\"0\" />\n"; } $actions[] = "wwwroot/mod/lesson/lesson.php?id=$cmid&action=editpage&pageid=$page->id\">