mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
|
@ -63,7 +63,7 @@ if ($keys = get_records_select('user_private_key', "script='grade/export' AND in
|
|||
$data[] = $line;
|
||||
}
|
||||
}
|
||||
$table->head = array(get_string('keyvalue'), get_string('keyiprestriction'), get_string('keyvaliduntil'), $stredit);
|
||||
$table->head = array(get_string('keyvalue', 'userkey'), get_string('keyiprestriction', 'userkey'), get_string('keyvaliduntil', 'userkey'), $stredit);
|
||||
$table->size = array('50%', '30%', '10%', '10%');
|
||||
$table->align = array('left', 'left', 'left', 'center');
|
||||
$table->width = '90%';
|
||||
|
@ -71,7 +71,7 @@ $table->data = $data;
|
|||
print_table($table);
|
||||
|
||||
echo '<div class="buttons">';
|
||||
print_single_button('key.php', array('courseid'=>$course->id), get_string('newuserkey'));
|
||||
print_single_button('key.php', array('courseid'=>$course->id), get_string('newuserkey', 'userkey'));
|
||||
echo '</div>';
|
||||
|
||||
print_footer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue