$value) { $path = $pathtoroot. $value."admin/include/parser.php"; if(file_exists($path)) { include_once($path); } } unset($objEditItems); $objEditItems = new clsUserManager(); $objEditItems->SourceTable = $objSession->GetEditTable("PortalUser"); $objEditItems->EnablePaging = FALSE; //Multiedit init $en = GetVar('en'); $objEditItems->Query_Item("SELECT * FROM ".$objEditItems->SourceTable); $itemcount=$objEditItems->NumItems(); $c = $objEditItems->GetItemByIndex($en); if($itemcount>1) { if ($en+1 == $itemcount) $en_next = -1; else $en_next = $en+1; if ($en == 0) $en_prev = -1; else $en_prev = $en-1; } $action = "m_edit_user"; $envar = "env=" . BuildEnv() . "&en=$en"; $section = 'in-portal:edituser_permissions'; $title = GetTitle("la_Text_User", "la_tab_Permissions", $c->Get('PortalUserId'), $c->Get('Login'));//prompt_language("la_Text_Editing")." ".prompt_language("la_Text_User")." '".$c->Get("Login")."' - ".prompt_language("la_tab_Permissions"); $formaction = $adminURL."/user/adduser_permissions.php?".$envar; $saveURL = $admin."/".$objSession->GetVariable('ReturnScript'); //Display header $sec = $objSections->GetSection($section); //echo "
"; print_r($sec); echo "
"; $objCatToolBar = new clsToolBar(); $objCatToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","edit_submit('edituser','UserEditStatus','".$saveURL."',1);","tool_select.gif"); $objCatToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","edit_submit('edituser','UserEditStatus','".$saveURL."',2);","tool_cancel.gif"); if ( isset($en_prev) || isset($en_next) ) { $url = $RootUrl.$admin."/users/adduser_permissions.php"; $StatusField = "UserEditStatus"; $form = "edituser"; MultiEditButtons($objCatToolBar,$en_next,$en_prev,$form,$StatusField,$url,$sec->Get("OnClick"),'','la_PrevUser','la_NextUser'); } int_header($objCatToolBar,NULL,$title); if ($objSession->GetVariable("HasChanges") == 1) { ?>
Get("PortalUserId"); for($i=0;$i"; echo ""; echo ""; } ?>
"; $getvar = "?env=".BuildEnv()."&en=$en&module=$mod_id"; echo "$module
">
>
" name="viewmenu">