exit; } if (isset($_POST["EnableUfdbGuard"])) { EnableUfdbGuard(); exit; } if (isset($_GET["progressbar-js"])) { progressbar_js(); exit; } if (isset($_GET["ShowProgress-js"])) { progressbar_js(); exit; } if (isset($_GET["video-proxy"])) { video_proxy(); exit; } js(); function automation_js() { $sock = new sockets(); $WizardSavedSettings = unserialize(base64_decode($sock->GET_INFO("WizardSavedSettings"))); $WizardSavedSettingsSend = $sock->GET_INFO("WizardSavedSettingsSend"); if (!is_numeric($WizardSavedSettingsSend)) { $WizardSavedSettingsSend = 0; } if ($WizardSavedSettingsSend == 1) { die("Already posted.."); } if ($WizardSavedSettings["company_name"] != null) {
if(isset($_GET["settings-final"])){final_show();exit;} if(isset($_GET["setup-proxy-type"])){setup_proxy_type();exit;} if(isset($_GET["setup-active-directory"])){setup_active_directory();exit;} if(isset($_GET["setup-features"])){setup_features();exit;} if(isset($_POST["EnableKerbAuth"])){setup_active_directory_save();exit;} if(isset($_POST["SquidPerformance"])){setup_features_save();exit;} if(isset($_GET["automation"])){automation_js();exit;} if(isset($_GET["automation-js"])){automation_js();exit;} if(isset($_GET["automation-popup"])){automation_popup();exit;} if(isset($_POST["AutomationScript"])){SaveAutomation();exit;} if(isset($_GET["setup-ufdbguard"])){setup_ufdbguard();exit;} if(isset($_POST["EnableUfdbGuard"])){EnableUfdbGuard();exit;} if(isset($_GET["progressbar-js"])){progressbar_js();exit;} if(isset($_GET["ShowProgress-js"])){progressbar_js();exit;} if(isset($_GET["video-proxy"])){video_proxy();exit;} js(); function automation_js(){ $sock=new sockets(); $WizardSavedSettings=unserialize(base64_decode($sock->GET_INFO("WizardSavedSettings"))); $WizardSavedSettingsSend=$sock->GET_INFO("WizardSavedSettingsSend"); if(!is_numeric($WizardSavedSettingsSend)){$WizardSavedSettingsSend=0;} if($WizardSavedSettingsSend==1){die("Already posted..");} if($WizardSavedSettings["company_name"]<>null){die("Already posted..");} header("content-type: application/x-javascript"); $GLOBALS["DEBUG_TEMPLATE"]=true; include_once(dirname(__FILE__)."/ressources/class.langages.inc");