예제 #1
0
        DeleteAliasesMailing();
        exit;
    }
    if (isset($_GET["aliases-users-list"])) {
        USER_ALIASES($_GET["uid"]);
        exit;
    }
    if (isset($_GET["delete-aliases"])) {
        USER_ALIASES_DELETE_JS();
        exit;
    }
    $modify_user = 1;
}
//FTP
if (isset($_GET["pureftpd-js"])) {
    USER_FTP_JS();
    exit;
}
if (isset($_GET["UserAddressSubmitedForm"])) {
    AddressInfosSave();
    exit;
}
if (isset($_GET["userid-warning"])) {
    AJAX_USER_WARNING();
    exit;
}
if (isset($_GET["ComputerMacAddressFindUid"])) {
    COMPUTER_CHECK_MAC();
    exit;
}
if (isset($_REQUEST["ChangeUserPasswordSave"])) {
예제 #2
0
$change_aliases = GetRights_aliases();
$modify_user = 1;
if ($_SESSION ["uid"] != $_GET["userid"]) {$modify_user = 0;}

if ($change_aliases == 1) {
	if(isset($_GET["AddAliases"])){AddAliases ();exit ();}
	if(isset($_GET["DeleteAliases"])){DeleteAliases ();exit ();}
	if(isset($_GET["AddAliasesMailing"])){AddAliasesMailing ();exit ();}
	if(isset($_GET["DeleteAliasesMailing"])){DeleteAliasesMailing ();exit ();}
	if(isset($_GET["aliases-users-list"])){USER_ALIASES ($_GET["uid"]);exit ();}
	if(isset($_GET["delete-aliases"])){USER_ALIASES_DELETE_JS ();exit ();}
	$modify_user = 1;
}

//FTP
if(isset ($_GET["pureftpd-js"])){USER_FTP_JS ();exit ();}
if(isset ($_GET["UserAddressSubmitedForm"])){AddressInfosSave();exit();}
if(isset($_GET["userid-warning"])){AJAX_USER_WARNING();exit;}

if(isset($_GET["ComputerMacAddressFindUid"])){COMPUTER_CHECK_MAC();exit;}

if ($modify_user == 0) {
	die ( 'No permissions ' . $_SESSION ["uid"] . "\nchange_aliases=$usersprivs->AllowEditAliases\n" );
}

if(isset($_GET["ChangeUserPassword"])){USER_CHANGE_PASSWORD();exit ();}
if(isset($_REQUEST["ChangeUserPasswordSave"])){USER_CHANGE_PASSWORD_SAVE();exit ();}
if(isset($_GET["UserChangeEmailAddr"])){USER_CHANGE_EMAIL ();exit ();}
if(isset($_GET["UserChangeEmailAddrSave"])){USER_CHANGE_EMAIL_SAVE ();exit ();}
if(isset($_GET["zarafa-mailbox-edit"])){ZARAFA_MAILBOX_EDIT_JS ();exit ();}
if(isset($_GET["zarafaQuotaWarn"])){ZARAFA_MAILBOX_SAVE ();exit ();}