exit; } if (isset($_GET["mirror-del-schedule"])) { schedule_delete(); exit; } if (isset($_GET["events"])) { events(); exit; } if (isset($_GET["events-list"])) { events_list(); exit; } if (isset($_GET["event-id"])) { events_id(); exit; } js(); function js() { $page = CurrentPageName(); if (isset($_GET["in-front-ajax"])) { echo "document.getElementById('BodyContent').innerHTML='<center><img src=img/wait_verybig.gif></center>';\n\t\t\$('#BodyContent').load('{$page}?popup=yes');"; return; } $tpl = new templates(); $title = $tpl->_ENGINE_parse_body("{REPOSITORY_DEB_MIRROR}"); echo "YahooWin2(650,'{$page}?popup=yes','{$title}');"; } function status()
echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["service-status"])){status_service();exit;} if(isset($_GET["repositories"])){repositories();exit;} if(isset($_GET["EnableAptMirror"])){save();exit;} if(isset($_GET["schedule"])){schedule();exit;} if(isset($_GET["mirror-schedule"])){schedule_save();exit;} if(isset($_GET["mirror-del-schedule"])){schedule_delete();exit;} if(isset($_GET["events"])){events();exit;} if(isset($_GET["events-list"])){events_list();exit;} if(isset($_GET["event-id"])){events_id();exit;} js(); function js(){ $page=CurrentPageName(); if(isset($_GET["in-front-ajax"])){ echo "document.getElementById('BodyContent').innerHTML='<center><img src=img/wait_verybig.gif></center>'; $('#BodyContent').load('$page?popup=yes');"; return; } $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{REPOSITORY_DEB_MIRROR}"); echo "YahooWin2(650,'$page?popup=yes','$title');";