diff --git a/admin/user_editor_window.php b/admin/user_editor_window.php index dfee6b3..cee98da 100644 --- a/admin/user_editor_window.php +++ b/admin/user_editor_window.php @@ -31,32 +31,37 @@ $tabs = array('personal' => array( 'name' => 'Personal', 'types' => array('student','judge','committee','volunteer','sponsor'), 'file' => '../user_personal.php', - ), + 'enabled' => true), 'roles' => array( 'name' => 'Roles/Account', 'types' => array('student','judge','committee','volunteer','sponsor'), 'file' => '../user_activate.php', - ), + 'enabled' => true), 'judgeother' => array( 'name' => 'Judge Other', 'types' => array('judge'), 'file' => '../judge_other.php', - ), + 'enabled' => true), 'judgeexpertise' => array( 'name' => 'Expertise', 'types' => array('judge'), 'file' => '../judge_expertise.php', - ), + 'enabled' => true), + 'judgeavailability' => array( + 'name' => 'Time Avail.', + 'types' => array('judge'), + 'file' => '../judge_availability.php', + 'enabled' => $config['judges_availability_enable'] == 'yes' ? true : false), 'judgesa' => array( 'name' => 'Special Awards', 'types' => array('judge'), 'file' => '../judge_special_awards.php', - ), + 'enabled' => true,), 'volunteerpos' => array( 'name' => 'Volunteer Positions', 'types' => array('volunteer'), 'file' => '../volunteer_position.php', - ), + 'enabled' => true,), ); @@ -90,8 +95,12 @@ send_popup_header(i18n("User Editor").": {$u['name']}"); echo '