mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-19800 Upgraded calls to helpbutton, print_simple_box* and notify
This commit is contained in:
parent
a1c54f7ac1
commit
c72e53f203
@ -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();
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -23,7 +23,7 @@ if ($form = data_submitted() and confirm_sesskey()) {
|
||||
}
|
||||
|
||||
echo '<p> </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();
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user