]> git.mjollnir.org Git - moodle.git/commitdiff
xhtml fixes. MDL-7861 related
authorvyshane <vyshane>
Mon, 8 Jan 2007 07:38:29 +0000 (07:38 +0000)
committervyshane <vyshane>
Mon, 8 Jan 2007 07:38:29 +0000 (07:38 +0000)
question/preview.php

index f8e628acba0b97206a1ecac25e56c29e6ac6c5be..4f109bb0206b6704d8b693b9435ed9978805795d 100644 (file)
     print_heading($strpreview);
 
     if (!empty($quizid)) {
-        echo '<p align="center">'.get_string('modulename', 'quiz') . ': ';
+        echo '<p class="quemodname">'.get_string('modulename', 'quiz') . ': ';
         p($quiz->name);
         echo "</p>\n";
     }
     print_question($questions[$id], $curstate, $number, $quiz, $options);
 
     echo '<br />';
-    echo '<center>';
+    echo '<div class="controls">';
 
     // Print the mark and finish attempt buttons
     echo '<input name="markall" type="submit" value="' . get_string('markall',
     // Print the close window button
     echo '<input type="button" onclick="window.close()" value="' .
      get_string('closepreview', 'quiz') . "\" />";
-    echo '</center>';
+    echo '</div>';
     echo '</form>';
     print_footer();
 ?>