예제 #1
0
    exit;
}
if (isset($_POST["pkg-upgrade"])) {
    apt_upgrade();
    exit;
}
if (isset($_GET["sys-update-button"])) {
    apt_sys_update_button();
    exit;
}
if (isset($_GET["status-versions"])) {
    status_versions();
    exit;
}
if (isset($_GET["js"])) {
    popup_js();
    exit;
}
if (isset($_GET["ajax-pop"])) {
    popup();
    exit;
}
main_artica_update_page();
function popup_js()
{
    $artica = new artica_general();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body('{artica_autoupdate}');
    $events = $tpl->_ENGINE_parse_body('{events}');
    header("content-type: application/x-javascript");
    $page = CurrentPageName();
예제 #2
0
<?php

header("Pragma: no-cache");
header("Expires: 0");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
session_start();
include_once "ressources/class.templates.inc";
include_once "ressources/class.ldap.inc";
include_once "ressources/class.main_cf.inc";
$user = new usersMenus();
if (isset($_GET["js"])) {
    echo popup_js();
    exit;
}
if ($user->AsPostfixAdministrator == false) {
    header('location:logon.php');
}
if (isset($_GET["main"])) {
    switch_main();
    exit;
}
if (isset($_GET["key"])) {
    main_save();
    exit;
}
if (isset($_GET["table"])) {
    main_table();
    exit;
}
if (isset($_GET["popup"])) {
예제 #3
0
	include_once('ressources/class.artica.graphs.inc');
	include_once('ressources/class.maincf.multi.inc');
	
	

$usersmenus=new usersMenus();
if($usersmenus->AsMailBoxAdministrator==false){header('location:users.index.php');exit;}
if(isset($_GET["PostfixLoadeMailsQueue"])){echo PostfixLoadeMailsQueue();exit;}
if(isset($_GET["MailID"])){MailID();exit;}
if(isset($_GET["PostQueueF"])){PostQueueF();exit();}
if(isset($_GET["TableQueue"])){echo Table_queue();exit;}
if(isset($_GET["DeleteMailID"])){DeleteMailID();exit;}
if(isset($_GET["PostCatReprocess"])){reprocessMailID();exit;}
if(isset($_GET["PostfixDeleteMailsQeue"])){PostfixDeleteMailsQeue();exit;}
if(isset($_GET["js"])){popup_js();exit;}
if(isset($_GET["inline-js"])){popup_js();exit;}
if(isset($_GET["popup"])){popup_tabs();exit;}
if(isset($_GET["smtp_queues"])){popup_index();exit;}
if(isset($_GET["show-queue"])){queue_js();exit;}
if(isset($_GET["popup-queue"])){queue_popup();exit;}
if(isset($_GET["read-queue"])){queue_popup_list();exit;}
if(isset($_GET["popup-message"])){popup_message();exit;}
if(isset($_GET["status"])){status();exit;}
if(isset($_GET["params"])){queue_settings();exit;}
if(isset($_GET["settings-queue-save"])){queue_settings_save();exit;}

if(isset($_GET["details"])){popup_postqueue();exit;}
if(isset($_GET["details-list"])){popup_postqueue_details();exit;}
if(isset($_GET["details-list-from"])){popup_postqueue_details_form();exit;}
if(isset($_GET["details-list-search-to"])){popup_postqueue_details_search();exit;}
if(isset($_GET["details-list-search-from"])){popup_postqueue_details_search();exit;}
예제 #4
0
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.mysql.inc');
	include_once('ressources/class.system.network.inc');
	$usersmenus=new usersMenus();
	if($usersmenus->AsArticaAdministrator==false){header('location:users.index.php');exit;}	
	if(isset($_GET["main_artica_update"])){main_artica_update_switch();exit;}
	if(isset($_GET["CheckEveryMinutes"])){SaveConf();exit;}
	if(isset($_GET["ArticaUpdateInstallPackage"])){ArticaUpdateInstallPackage();exit;}
	if(isset($_GET["auto_update_perform"])){auto_update_perform();exit;}
	if(isset($_GET["ajax-events"])){main_artica_update_events_display();exit;}
	
	
	
	if(isset($_GET["js"])){popup_js();exit;}
	if(isset($_GET["ajax-pop"])){popup();exit;}
	
	
	main_artica_update_page();
	
	
function popup_js(){
	$artica=new artica_general();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body('{artica_autoupdate}');
	$events=$tpl->_ENGINE_parse_body('{events}');
	$page=CurrentPageName();
	$datas=file_get_contents('js/artica_settings.js');
	$html="
	$datas
예제 #5
0
	if(isset($_GET["main"])){main_switch();exit;}
	if(isset($_POST["ChangeShareNameOrg"])){folder_change_sharename();exit;}
	if(isset($_POST["ArticaSambaAutomAskCreation"])){main_artica_for_samba_save();exit;}
	if(isset($_POST["recycle_vfs"])){recycle_vfs_save();exit;}
	
	if(isset($_GET["jsaddons"])){echo jsaddons();exit;}
	if(!CheckSambaUniqueRights()){
		$tpl=new templates();
		$ERROR_NO_PRIVS=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}");
		echo "<H1>$ERROR_NO_PRIVS</H1>";die();		
	}
	
	if(isset($_GET["SharedFolderListJS"])){echo SharedFolderListJS();exit;}
	if(isset($_GET["main-params-js"])){main_parameters_js();exit;}
	if(isset($_GET["RestartServices"])){restart_services();exit;}
	if(isset($_GET["script"])){popup_js();exit;}
	if(isset($_GET["popup"])){popup_page();exit;}
	if(isset($_GET["SaveGeneralSettings"])){SaveConf();exit;}
	if(isset($_GET["status"])){echo main_status();exit;}
	if(isset($_GET["GetTreeFolders"])){browser();exit;}
	if(isset($_GET["AddTreeFolders"])){AddShareFolder();exit;}
	if(isset($_GET["UserSecurityInfos"])){echo folder_UserSecurityInfos();exit;}
	if(isset($_GET["prop"])){folder_properties_switch();exit;}
	if(isset($_GET["SaveFolderProp"])){SaveFolderProp();exit;}
	if(isset($_GET["security"])){folder_security_users();exit;}
	if(isset($_GET["finduserandgroup"])){folder_security_users_find();exit;}
	
	if(isset($_GET["UseAVbasesSet"])){main_kav4samba_save();exit;}
	if(isset($_GET["kav_actions"])){main_kav4samba_save_actions();exit;}
	if(isset($_GET["vfs_object"])){save_folder_vfs();exit;}
	if(isset($_GET["upload"])){main_kav4samba_upload_licence();exit;}