Exemple #1
0
	if(isset($_GET["show_tasks"])){show_tasks();exit;}
	if(isset($_GET["BACKUP_TASK_RUN"])){BACKUP_TASK_RUN();exit;}
	if(isset($_GET["backup-sources"])){BACKUP_SOURCES();exit;}
	if(isset($_GET["DeleteBackupSource"])){BACKUP_SOURCES_DELETE();exit;}
	if(isset($_GET["DeleteBackupTask"])){BACKUP_TASK_DELETE();exit;}
	if(isset($_GET["adv-options"])){BACKUP_OPTIONS();exit;}
	if(isset($_GET["backup-tests"])){BACKUP_TASK_TEST();exit;}
	if(isset($_GET["backup_stop_imap"])){BACKUP_SOURCES_SAVE_OPTIONS();exit;}
	if(isset($_GET["FOLDER_BACKUP"])){FOLDER_BACKUP_JS();exit;}
	if(isset($_GET["FOLDER_BACKUP_POPUP"])){FOLDER_BACKUP_POPUP();exit;}
	if(isset($_GET["BACKUP_FOLDER_ENABLE"])){BACKUP_FOLDER_ENABLE();exit;}
	if(isset($_GET["FOLDER_BACKUP_DELETE"])){FOLDERS_BACKUPED_DELETE();exit;}
	if(isset($_GET["TASK_EVENTS_DETAILS"])){TASK_EVENTS_DETAILS();exit;}
	if(isset($_GET["TASK_EVENTS_DETAILS_INFOS"])){TASK_EVENTS_DETAILS_INFOS();exit;}
	if(isset($_GET["BACKUP_TASK_MODIFY_RESSOURCES"])){BACKUP_TASK_MODIFY_RESSOURCES();exit;}
	if(isset($_POST["BACKUP_TASK_MODIFY_RESSOURCES_APPLY"])){BACKUP_TASK_MODIFY_RESSOURCES_SAVE();exit;}
	
	if(isset($_GET["events"])){BACKUP_EVENTS();exit;}
js();



function FOLDER_BACKUP_JS(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{backup_a_folder}");
	$folder=$_GET["FOLDER_BACKUP"];
	$html="
		function FOLDER_BACKUP_START(){
			YahooWin(600,'$page?FOLDER_BACKUP_POPUP=yes&folder=$folder','$title');
		
    exit;
}
if (isset($_GET["TASK_EVENTS_DETAILS"])) {
    TASK_EVENTS_DETAILS();
    exit;
}
if (isset($_GET["TASK_EVENTS_DETAILS_INFOS"])) {
    TASK_EVENTS_DETAILS_INFOS();
    exit;
}
if (isset($_GET["BACKUP_TASK_MODIFY_RESSOURCES"])) {
    BACKUP_TASK_MODIFY_RESSOURCES();
    exit;
}
if (isset($_POST["BACKUP_TASK_MODIFY_RESSOURCES_APPLY"])) {
    BACKUP_TASK_MODIFY_RESSOURCES_SAVE();
    exit;
}
if (isset($_POST["DeleteAllBackTaskEvents"])) {
    DeleteAllBackTaskEvents();
    exit;
}
if (isset($_GET["BACKUP_TASK_SHOW_CONTAINERS"])) {
    BACKUP_TASK_SHOW_CONTAINERS();
    exit;
}
if (isset($_GET["events"])) {
    BACKUP_EVENTS();
    exit;
}
js();