|
@@ -13,7 +13,6 @@ if (!empty($_POST['language'])) { //quick hack to adapt the registration form re
|
|
|
}
|
|
|
require_once '../inc/global.inc.php';
|
|
|
require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php';
|
|
|
-require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php';
|
|
|
require_once api_get_path(CONFIGURATION_PATH).'profile.conf.php';
|
|
|
require_once api_get_path(LIBRARY_PATH).'mail.lib.inc.php';
|
|
|
require_once api_get_path(LIBRARY_PATH).'legal.lib.php';
|
|
@@ -246,7 +245,7 @@ if ($display_all_form) {
|
|
|
if ($get_lang_variables) {
|
|
|
$field_details[3] = get_lang($field_details[3]);
|
|
|
}
|
|
|
- $form->addElement('select', 'extra_'.$field_details[1], $field_details[3], $options, '');
|
|
|
+ $form->addElement('select', 'extra_'.$field_details[1], $field_details[3], $options, array('class'=>'chzn-select', 'id'=>'extra_'.$field_details[1]));
|
|
|
break;
|
|
|
case USER_FIELD_TYPE_SELECT_MULTIPLE:
|
|
|
$options = array();
|