コード例 #1
0
    exit;
}
if (isset($_GET["LdapRules"])) {
    LdapRules();
    exit;
}
if (isset($_GET["UserDeleteFetchMailRule"])) {
    UserDeleteFetchMailRule();
    exit;
}
if ($user->AsArticaAdministrator == false) {
    header('location:users.index.php');
    exit;
}
if (isset($_GET["import_1"])) {
    echo import_1();
    exit;
}
if (isset($_GET["LocalRules"])) {
    echo LocalRules();
    exit;
}
if (isset($_GET["fetchmailbuttons"])) {
    echo RoundedLightGrey(LocalFetchMailRc());
    exit;
}
if (isset($_GET["InstallFetchmail"])) {
    echo InstallFetchmail();
    exit;
}
if (isset($_GET["UserRules"])) {
コード例 #2
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.fetchmail.inc');	
$user=new usersMenus();
$tpl=new templates();


if(isset($_GET["ssl-fingerprint"])){ssl_fingerprint_js();exit;}
if(isset($_GET["getsslfinger"])){ssl_fingerprint_get();exit;}


if(isset($_GET["poll"])){SavePools();exit();}
if(isset($_GET["AddNewFetchMailRule"])){AddNewFetchMailRule();exit();}
if(isset($_GET["LdapRules"])){LdapRules();exit;}
if(isset($_GET["UserDeleteFetchMailRule"])){UserDeleteFetchMailRule();exit;}
if($user->AsArticaAdministrator==false){header('location:users.index.php');exit;}
if(isset($_GET["import_1"])){echo import_1();exit;}
if(isset($_GET["LocalRules"])){echo LocalRules();exit;}
if(isset($_GET["fetchmailbuttons"])){echo RoundedLightGrey(LocalFetchMailRc());exit;}
if(isset($_GET["InstallFetchmail"])){echo InstallFetchmail();exit;}
if(isset($_GET["UserRules"])){LoadUserRules();exit;}
if(isset($_GET["LoadFetchMailRuleFromUser"])){LoadFetchMailRuleFromUser();exit;}
if(isset($_GET["ChangeFetchMailUser"])){ChangeFetchMailUser();exit;}


PAGE();




function PAGE(){
$LocalFetchMailRc=LocalFetchMailRc();