|
@@ -190,6 +190,8 @@ $form->addElement('select', 'status', get_lang('Status'), $status, array('id' =>
|
|
|
$form->addElement('select_language', 'language', get_lang('Language'));
|
|
|
|
|
|
$display = $user_data['status'] == STUDENT || $_POST['status'] == STUDENT ? 'block' : 'none';
|
|
|
+
|
|
|
+/*
|
|
|
$form->addElement('html', '<div id="drh_list" style="display:'.$display.';">');
|
|
|
$drh_select = $form->addElement('select', 'hr_dept_id', get_lang('Drh'), array(), 'id="drh_select"');
|
|
|
$drh_list = UserManager :: get_user_list(array('status' => DRH), api_sort_by_first_name() ? array('firstname', 'lastname') : array('lastname', 'firstname'));
|
|
@@ -204,6 +206,7 @@ foreach($drh_list as $drh) {
|
|
|
$drh_select->addOption(api_get_person_name($drh['firstname'], $drh['lastname']), $drh['user_id']);
|
|
|
}
|
|
|
$form->addElement('html', '</div>');
|
|
|
+*/
|
|
|
|
|
|
// Platform admin
|
|
|
// Only when changing another user!
|