mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-11028 GUI complete, language strings complete, user key creation done. Validation is not yet coded.
This commit is contained in:
parent
b16393cb07
commit
0f78c4de3d
9 changed files with 80 additions and 39 deletions
|
@ -49,7 +49,7 @@ if ($id and $delete) {
|
|||
print_header(get_string('deleteselectedkey'), get_string('deleteselectedkey'));
|
||||
$optionsyes = array('id'=>$id, 'delete'=>1, 'courseid'=>$courseid, 'sesskey'=>sesskey(), 'confirm'=>1);
|
||||
$optionsno = array('id'=>$courseid);
|
||||
notice_yesno(get_string('deletekeyconfirm', 'key', $key->value), 'key.php', 'keymanager.php', $optionsyes, $optionsno, 'get', 'get');
|
||||
notice_yesno(get_string('deletekeyconfirm', 'userkey', $key->value), 'key.php', 'keymanager.php', $optionsyes, $optionsno, 'get', 'get');
|
||||
print_footer();
|
||||
die;
|
||||
|
||||
|
@ -81,13 +81,13 @@ if ($editform->is_cancelled()) {
|
|||
redirect($returnurl);
|
||||
}
|
||||
|
||||
$strkeys = get_string('userkeys');
|
||||
$strkeys = get_string('userkeys', 'userkey');
|
||||
$strgrades = get_string('grades');
|
||||
|
||||
if ($id) {
|
||||
$strheading = get_string('edituserkey', 'key');
|
||||
$strheading = get_string('edituserkey', 'userkey');
|
||||
} else {
|
||||
$strheading = get_string('createuserkey', 'key');
|
||||
$strheading = get_string('createuserkey', 'userkey');
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue