Commit 3bde9fd3 authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Pending registration approval: Change to switchbox (1431569)



Change from checkbox to switchbox when approving
a pending registration.

Change-Id: I583cc7e56eb3127a5e3861ed5c6cc6adacd2e9a1
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 586fdcd6
......@@ -38,7 +38,7 @@ if ($action == 'approve') {
define('TITLE', get_string('approveregistrationfor2', 'admin', $registration->firstname, $registration->lastname, $registration->email));
if ($registration->institution != 'mahara') {
$elements['institutionstaff'] = array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => get_string('institutionstaff', 'admin'),
'description' => get_string('makeuserinstitutionstaff', 'admin'),
'defaultvalue' => 0,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment