MDL-19800 Upgraded calls to helpbutton, print_simple_box* and notify

This commit is contained in:
nicolasconnault 2009-08-18 05:00:49 +00:00
parent a1c54f7ac1
commit c72e53f203
4 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -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;
}

View File

@ -15,7 +15,7 @@ if ($show_instructions) {
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>

View File

@ -23,7 +23,7 @@ if ($form = data_submitted() and confirm_sesskey()) {
}
echo '<p>&nbsp;</p>';
print_simple_box_start('center','50%','','20');
echo $OUTPUT->box_start('generalbox boxaligncenter boxwidthnormal');
?>
<form method="post">
@ -34,7 +34,7 @@ print_simple_box_start('center','50%','','20');
</form>
<?php
print_simple_box_end();
echo $OUTPUT->box_end();
echo $OUTPUT->footer();
?>