. */ /** * @brief Form to choose a group in the user management (iframe included in the user management) * * * @file * @author Claire Figueras * @date $date$ * @version $Revision$ * @ingroup admin */ $core_tools = new core_tools(); $core_tools->load_lang(); require_once( "apps".DIRECTORY_SEPARATOR.$_SESSION['config']['app_id'].DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_usergroup_content.php"); $func = new functions(); if(isset($_REQUEST['removeGroup']) && !empty($_REQUEST['removeGroup'])) { if(count($_REQUEST['groups'])>0) { $tab = array(); for ($i=0; $iremove_session($tab); } $_SESSION['m_admin']['load_group'] = false; } if(isset($_REQUEST['setPrimary'])) { if(count($_REQUEST['groups'])>0) { $ugc = new usergroup_content(); $ugc->erase_primary_group_session(); $ugc->set_primary_group_session($_REQUEST['groups'][0]); } $_SESSION['m_admin']['load_group'] = false; } //here we loading the html $core_tools->load_html(); //here we building the header $core_tools->load_header(_USER_GROUPS_TITLE); ?>

:

"; echo _CHOOSE_ONE_GROUP.".
"; } else { for($theline = 0; $theline < count($_SESSION['m_admin']['users']['groups']) ; $theline++) { if( $_SESSION['m_admin']['users']['groups'][$theline]['PRIMARY'] == 'Y') { ?><?php  echo _PRIMARY_GROUP;?>
            





0) { ?>