include_once('ressources/class.users.menus.inc'); include_once('ressources/class.artica.inc'); include_once('ressources/class.mysql.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.cyrus.inc'); $users=new usersMenus(); if(!$users->AsPostfixAdministrator){ $tpl=new templates(); $error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('$error')"; die(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["default_directory_size"])){default_directory_size();exit;} if(isset($_GET["current_directory_size"])){current_directory_size();exit;} if(isset($_GET["CyrusMoveToCurrent"])){CyrusMoveToCurrent();exit;} if(isset($_GET["CyrusSaveNewDir"])){CyrusSaveNewDir();exit;} if(isset($_GET["cyruslogs"])){cyruslogs();exit;} js(); function js(){ $tpl=new templates(); $title=$tpl->_ENGINE_parse_body('{cyrus_change_folder}'); $page=CurrentPageName(); $html=" var cyrus_change_folder_tant=0; function cyrus_change_folder_schedule(){
include_once 'ressources/class.mysql.inc'; include_once 'ressources/class.ini.inc'; include_once 'ressources/class.cyrus.inc'; $users = new usersMenus(); if (!$users->AsPostfixAdministrator) { $tpl = new templates(); $error = $tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('{$error}')"; die; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["default_directory_size"])) { default_directory_size(); exit; } if (isset($_GET["current_directory_size"])) { current_directory_size(); exit; } if (isset($_GET["CyrusMoveToCurrent"])) { CyrusMoveToCurrent(); exit; } if (isset($_GET["CyrusSaveNewDir"])) { CyrusSaveNewDir(); exit; } if (isset($_GET["cyruslogs"])) {