die();
		}
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["sender-canonical"])){sender_canonical();exit;}
	if(isset($_GET["sender-allowed"])){sender_allowed();exit;}
	if(isset($_GET["sender-host"])){sender_host();exit;}		
	if(isset($_GET["sender-host-delete"])){sender_host_delete();exit;}
	if(isset($_GET["AllowedSMTPTroughtInternet"])){sender_allowed_save();exit;}
	if(isset($_GET["SaveSenderCanonical"])){sender_canonical_add();exit;}	
	if(isset($_GET["DeleteSenderCanonical"])){sender_canonical_del();exit;}
	if(isset($_GET["RefreshSenderLeftInfos"])){echo leftinfos($_GET["RefreshSenderLeftInfos"]);exit;}
	if(isset($_GET["sasl_username"])){sender_host_save();exit;}
	if(isset($_GET["DeleteUserSenderTransport"])){sender_host_delete();exit;}
	if(isset($_GET["sender-bcc-maps"])){sender_bcc_maps_popup();exit;}
	if(isset($_GET["SenderBccMaps"])){sender_bcc_maps_save();exit;}

js();


function sender_bcc_maps_save(){
	$u=new user($_GET["uid"]);
	$u->add_sender_bcc($_GET["SenderBccMaps"]);
	}

function sender_host_delete(){
	$users=new usersMenus();
	if(!$users->AllowSenderCanonical){return null;}
	$user=new user($_GET["uid"]);
	$user->del_transport();
Exemple #2
0
    exit;
}
if (isset($_GET["RefreshSenderLeftInfos"])) {
    echo leftinfos($_GET["RefreshSenderLeftInfos"]);
    exit;
}
if (isset($_GET["sasl_username"])) {
    sender_host_save();
    exit;
}
if (isset($_GET["DeleteUserSenderTransport"])) {
    sender_host_delete();
    exit;
}
if (isset($_GET["sender-bcc-maps"])) {
    sender_bcc_maps_popup();
    exit;
}
if (isset($_GET["SenderBccMaps"])) {
    sender_bcc_maps_save();
    exit;
}
js();
function sender_bcc_maps_save()
{
    $u = new user($_GET["uid"]);
    $u->add_sender_bcc($_GET["SenderBccMaps"]);
}
function sender_host_delete()
{
    $users = new usersMenus();