Skip to content

Commit

Permalink
MDL-19800 Upgraded calls to helpbutton, print_simple_box* and notify
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 18, 2009
1 parent a1c54f7 commit c72e53f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion login/change_password.php
Expand Up @@ -109,7 +109,7 @@

print_header($strchangepassword, $strchangepassword, $navigation);
if (get_user_preferences('auth_forcepasswordchange')) {
notify(get_string('forcepasswordchangenotice'));
echo $OUTPUT->notification(get_string('forcepasswordchangenotice'));
}
$mform->display();
echo $OUTPUT->footer();
Expand Down
2 changes: 1 addition & 1 deletion login/index.php
Expand Up @@ -129,7 +129,7 @@
if (empty($user->confirmed)) { // This account was never confirmed
print_header(get_string("mustconfirm"), get_string("mustconfirm") );
echo $OUTPUT->heading(get_string("mustconfirm"));
print_simple_box(get_string("emailconfirmsent", "", $user->email), "center");
echo $OUTPUT->box(get_string("emailconfirmsent", "", $user->email), "generalbox boxaligncenter");
echo $OUTPUT->footer();
die;
}
Expand Down
2 changes: 1 addition & 1 deletion login/index_form.html
Expand Up @@ -15,7 +15,7 @@ <h2><?php print_string("returningtosite") ?></h2>
if (empty($CFG->usesid)) {
echo '<br/>';
echo '('.get_string("cookiesenabled").')';
helpbutton("cookies", get_string("cookiesenabled"));
echo $OUTPUT->help_icon(moodle_help_icon::make("cookies", get_string("cookiesenabled")));
}
?>
</div>
Expand Down
4 changes: 2 additions & 2 deletions login/mnet_email.php
Expand Up @@ -23,7 +23,7 @@
}

echo '<p>&nbsp;</p>';
print_simple_box_start('center','50%','','20');
echo $OUTPUT->box_start('generalbox boxaligncenter boxwidthnormal');

?>
<form method="post">
Expand All @@ -34,7 +34,7 @@
</form>
<?php

print_simple_box_end();
echo $OUTPUT->box_end();
echo $OUTPUT->footer();

?>

0 comments on commit c72e53f

Please sign in to comment.