. */ /** * @brief Form to manage the group security (iframe included in group management form) * * * @file * @author Claire Figueras * @author Laurent Giovannoni * @date $date$ * @version $Revision$ * @ingroup admin */ $core_tools = new core_tools(); $core_tools->load_lang(); $core_tools->test_admin('admin_groups', 'apps'); require_once("core".DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_security.php"); $func = new functions(); $sec= new security(); $_SESSION['doctypes_choosen'] = array(); $_SESSION['m_admin']['collection_choice'] = "coll_1"; if(isset($_REQUEST['setRights'])) { $sec->init_rights_session(); if(count($_REQUEST['rights_insert'])>0 ) { $tab = array(); for ($i=0; $iset_rights_session($tab, 'CAN_INSERT'); } if (count($_REQUEST['rights_update']) > 0) { $tab2 = array(); for ($j=0; $jset_rights_session($tab2, 'CAN_UPDATE'); } if ( count($_REQUEST['rights_delete']) > 0 ) { $tab2 = array(); for ($j=0; $jset_rights_session($tab2, 'CAN_DELETE'); } $_SESSION['m_admin']['load_security'] = false; } if(isset($_REQUEST['modifyAccess'])) { $_SESSION['m_admin']['init'] = true; if(count($_REQUEST['security'])>0) { ?> 0) { for($i=0; $iremove_security($tab); } else { } $_SESSION['m_admin']['load_security'] = false; } //here we loading the html $core_tools->load_html(); //here we building the header $core_tools->load_header(_MANAGE_RIGHTS, true, false); ?>
show_array($_SESSION['m_admin']['groups']['security']); ?>

:

"; echo _DEFINE_A_GRANT."
"; } else { ?> "") { ?>
 
cut_string(stripslashes($func->show_string($_SESSION['m_admin']['groups']['security'][$i]['WHERE_CLAUSE'])),50); ?> disabled="disabled" /> disabled="disabled" /> disabled="disabled"/>
 
0) { ?> count($_SESSION['m_admin']['groups']['security'])) { ?> 0) { ?>

load_js();?>