if(isset($_GET["index"])){index();exit;} if(isset($_GET["settings"])){settings();exit;} if(isset($_GET["REPLICATION"])){saveconfig();exit;} if(isset($_GET["MAIN_PATH"])){saveconfig();exit;} if(isset($_GET["folders"])){folders();exit;} if(isset($_GET["folders-add"])){folders_add();exit;} if(isset($_GET["folders-list"])){folders_list();exit;} if(isset($_GET["folders-delete"])){folders_delete();exit;} if(isset($_GET["tree-path"])){tree_js();exit;} if(isset($_GET["replication"])){replication();exit;} if(isset($_GET["restart"])){restart_js();exit;} if(isset($_GET["restart-popup"])){restart_popup();exit;} if(isset($_GET["restart-perform"])){restart_perform();exit;} if(isset($_GET["restart-list"])){restart_list();exit;} js(); function restart_js(){ $page=CurrentPageName(); $tpl=new templates(); $ttle=$tpl->_ENGINE_parse_body("{restart_lessfs_service}"); $are_you_sure_to_restart_umount_mount=$tpl->javascript_parse_text("{are_you_sure_to_restart_umount_mount}"); echo " if(confirm('$are_you_sure_to_restart_umount_mount')){ YahooWin5('600','$page?restart-popup=yes','$ttle'); }";
exit; } if (isset($_GET["restart"])) { restart_js(); exit; } if (isset($_GET["restart-popup"])) { restart_popup(); exit; } if (isset($_GET["restart-perform"])) { restart_perform(); exit; } if (isset($_GET["restart-list"])) { restart_list(); exit; } js(); function restart_js() { $page = CurrentPageName(); $tpl = new templates(); $ttle = $tpl->_ENGINE_parse_body("{restart_lessfs_service}"); $are_you_sure_to_restart_umount_mount = $tpl->javascript_parse_text("{are_you_sure_to_restart_umount_mount}"); echo "\n\t\n\tif(confirm('{$are_you_sure_to_restart_umount_mount}')){\n\t\tYahooWin5('600','{$page}?restart-popup=yes','{$ttle}');\n\t\t}"; } function restart_popup() { $page = CurrentPageName(); $tpl = new templates();