ini_set('error_reporting', E_ALL); } include_once 'ressources/class.templates.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.updateutility2.inc'; include_once 'ressources/class.ini.inc'; include_once 'ressources/class.system.network.inc'; $users = new usersMenus(); if (!$users->AsSystemAdministrator) { $tpl = new templates(); $ERROR_NO_PRIVS = $tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('{$ERROR_NO_PRIVS}');"; return; } if (isset($_GET["setup1"])) { setup1(); exit; } if (isset($_POST["UpdateUtilityStorePath"])) { Save(); exit; } js(); function js() { header("content-type: application/x-javascript"); $page = CurrentPageName(); $tpl = new templates(); $create_a_dedicated_container = $tpl->javascript_parse_text("{create_a_dedicated_container}"); $html = "YahooWin3('650','{$page}?setup1=yes','{$create_a_dedicated_container}');"; echo $html;
<?php if(isset($_GET["verbose"])){ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);} include_once('ressources/class.templates.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.updateutility2.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.system.network.inc'); $users=new usersMenus(); if(!$users->AsSystemAdministrator){ $tpl=new templates(); $ERROR_NO_PRIVS=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('$ERROR_NO_PRIVS');";return; } if(isset($_GET["setup1"])){setup1();exit;} if(isset($_POST["UpdateUtilityStorePath"])){Save();exit;} js(); function js(){ header("content-type: application/x-javascript"); $page=CurrentPageName(); $tpl=new templates(); $create_a_dedicated_container=$tpl->javascript_parse_text("{create_a_dedicated_container}"); $html="YahooWin3('650','$page?setup1=yes','$create_a_dedicated_container');"; echo $html; } function setup1(){ $page=CurrentPageName();