Skip to content

Commit

Permalink
message MDL-24444 made bulk user messaging work by fixing up some inc…
Browse files Browse the repository at this point in the history
…omplete refactoring
  • Loading branch information
Andrew Davis committed Oct 13, 2010
1 parent 85ed064 commit b6138cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/user/user_bulk_confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
$usernames = implode(', ', $userlist);
echo $OUTPUT->heading(get_string('confirmation', 'admin'));
$formcontinue = new single_button(new moodle_url('user_bulk_confirm.php', array('confirm' => 1)), get_string('yes'));
$formcancel = new single_button('user_bulk.php', get_string('no'), 'get');
$formcancel = new single_button(new moodle_url('user_bulk.php'), get_string('no'), 'get');
echo $OUTPUT->confirm(get_string('confirmcheckfull', '', $usernames), $formcontinue, $formcancel);
}

Expand Down
2 changes: 1 addition & 1 deletion admin/user/user_bulk_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
echo $OUTPUT->box($msg, 'boxwidthnarrow boxaligncenter generalbox', 'preview'); //TODO: clean once we start using proper text formats here

$formcontinue = new single_button(new moodle_url('user_bulk_message.php', array('confirm' => 1, 'msg' => $msg)), get_string('yes')); //TODO: clean once we start using proper text formats here
$formcancel = new single_button('user_bulk.php', get_string('no'), 'get');
$formcancel = new single_button(new moodle_url('user_bulk.php'), get_string('no'), 'get');
echo $OUTPUT->confirm(get_string('confirmmessage', 'bulkusers', $usernames), $formcontinue, $formcancel);
echo $OUTPUT->footer();
die;
Expand Down

0 comments on commit b6138cd

Please sign in to comment.