'index.php', "name" => get_lang('PlatformAdmin')); $htmlHeadXtra[] = ''; // displaying the header Display :: display_header($tool_name); $link_add_group = ''. Display::return_icon('multiple.gif', get_lang('RegistrationByUsersGroups')).get_lang('RegistrationByUsersGroups').''; echo '
'.$link_add_group.'
'; $form = new FormValidator('subscribe_user2course'); $form->addElement('header', '', $tool_name); $form->display(); //checking for extra field with filter on $extra_field_list = UserManager::get_extra_fields(); $new_field_list = array(); if (is_array($extra_field_list)) { foreach ($extra_field_list as $extra_field) { //if is enabled to filter and is a "'; echo ''; foreach ($new_field['data'] as $option) { $checked = ''; if ($fieldtype == ExtraField::FIELD_TYPE_TAG) { if (isset($_POST[$varname])) { if ($_POST[$varname] == $option['tag']) { $checked = 'selected="true"'; } } echo ''; } else { if (isset($_POST[$varname])) { if ($_POST[$varname] == $option[1]) { $checked = 'selected="true"'; } } echo ''; } } echo ''; $extraHidden = $fieldtype == ExtraField::FIELD_TYPE_TAG ? '' : ''; echo $extraHidden; echo '  '; } echo ''; echo '

'; } } ?>


:
  :

: