From: toyomoyo Date: Thu, 1 Mar 2007 05:29:50 +0000 (+0000) Subject: replacing fieldsets in small forms to divs X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=76d4ec009536cbf2f654c298429a6fbcf6863f4e;p=moodle.git replacing fieldsets in small forms to divs --- diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php index dad672e581..359ea027ae 100644 --- a/mod/lesson/locallib.php +++ b/mod/lesson/locallib.php @@ -245,13 +245,13 @@ function lesson_print_header($cm, $course, $lesson, $currenttab = '') { $button = '
'.$button. ''. '
frametarget.' method="get" action="'. $CFG->wwwroot .'/mod/lesson/lesson.php">'. - '
'. + '
'. ''. ''. ''. ''. ''. - '
'. + ''. '
'. '
'; } diff --git a/mod/lesson/mediafile.php b/mod/lesson/mediafile.php index 61ad4def9c..4a9acd9dc6 100644 --- a/mod/lesson/mediafile.php +++ b/mod/lesson/mediafile.php @@ -36,9 +36,9 @@ if ($lesson->mediaclose) { echo '
-
+ -
+
'; } diff --git a/mod/lesson/view.php b/mod/lesson/view.php index 20800b2e01..be8a0588c4 100644 --- a/mod/lesson/view.php +++ b/mod/lesson/view.php @@ -73,7 +73,7 @@ ''. get_string('cancel', 'lesson') .' '; lesson_print_submit_link(get_string('continue', 'lesson'), 'password', 'center', 'standardbutton submitbutton'); - echo ''; + echo ''; print_simple_box_end(); echo "\n"; print_footer($course); @@ -688,14 +688,14 @@ } // Each button must have its own form inorder for it to work with JavaScript turned off $button = "
wwwroot/mod/lesson/lesson.php\">\n". - '
'. + '
'. "id\" />\n". "\n". "\n". "\n". "jumpto\" />\n". lesson_print_submit_link(strip_tags(format_text($answer->answer, FORMAT_MOODLE, $options)), "answerform$i", '', $class, '', '', true). - '
'. + ''. '
'; $buttons[$type][] = $button; @@ -755,7 +755,7 @@ } else { // a page without answers - find the next (logical) page echo "
wwwroot/mod/lesson/view.php\">\n"; - echo '
'; + echo '
'; echo "id\" />\n"; if ($lesson->nextpagedefault) { // in Flash Card mode... @@ -803,7 +803,7 @@ } echo "\n"; lesson_print_submit_link(get_string('continue', 'lesson'), 'pageform'); - echo '
'; + echo ''; echo "
\n"; } @@ -954,14 +954,14 @@ echo '

'.get_string("youmadehighscore", "lesson", $lesson->maxhighscores). '

-
+

'; lesson_print_submit_link(get_string('clicktopost', 'lesson'), 'highscores'); echo '

-
+
'; } else { echo get_string("nothighscore", "lesson", $lesson->maxhighscores)."
";