Permalink
Browse files

replaced DEPRECATED center tag with a div. introduced a new class=mdl…

…-align with the CSS text-align: center
  • Loading branch information...
1 parent b6e907a commit d975f343ba789246e740397e5383a97dbf58729e urs_hunkler committed Apr 7, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/attempt.php
View
@@ -515,7 +515,7 @@ function navigate(page) {
$strconfirmattempt = addslashes(get_string("confirmclose", "quiz"));
$onclick = "return confirm('$strconfirmattempt')";
- echo "<center>\n";
+ echo "<div class=\"submitbtns mdl-align\">\n";
echo "<input type=\"submit\" name=\"saveattempt\" value=\"".get_string("savenosubmit", "quiz")."\" />\n";
if ($quiz->optionflags & QUESTION_ADAPTIVE) {
@@ -524,7 +524,7 @@ function navigate(page) {
echo "<input type=\"submit\" name=\"finishattempt\" value=\"".get_string("finishattempt", "quiz")."\" onclick=\"$onclick\" />\n";
echo '<input type="hidden" name="timeup" value="0" />';
- echo "</center>";
+ echo "</div>";
// Print the navigation panel if required
if ($numpages > 1) {

0 comments on commit d975f34

Please sign in to comment.