Commit 5e04bd58 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Pending registration approval: Change to switchbox (1431569)"

parents c480b3b6 3bde9fd3
......@@ -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