Beispiel #1
0
	
}

	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["index"])){index();exit;}
	if(isset($_GET["settings"])){parameters();exit;}
	if(isset($_GET["dnsbl"])){dnsbl();exit;}
	if(isset($_GET["dnsbl-list"])){dnsbl_list();exit;}
	if(isset($_GET["dnsbl-add"])){dnsbl_add();exit;}
	if(isset($_GET["dnsbl-delete"])){dnsbl_delete();exit;}
	if(isset($_GET["postscreen_dnsbl_action"])){saveConfig();exit;}
	if(isset($_GET["postscreen_bare_newline_enable"])){saveConfig();exit;}
	
	
	
	if(isset($_GET["EnablePostScreen"])){EnablePostScreen_edit();exit;}

js();



function js(){
	$page=CurrentPageName();
	$title="PostScreen::{$_GET["hostname"]}/{$_GET["ou"]}";
	echo "YahooWin3(660,'$page?popup=yes&hostname={$_GET["hostname"]}&ou={$_GET["ou"]}','$title');";
	}
	

function popup(){
	
	$page=CurrentPageName();
Beispiel #2
0
    exit;
}
if (isset($_GET["dnsbl-delete"])) {
    dnsbl_delete();
    exit;
}
if (isset($_GET["postscreen_dnsbl_action"])) {
    saveConfig();
    exit;
}
if (isset($_GET["postscreen_bare_newline_enable"])) {
    saveConfig();
    exit;
}
if (isset($_GET["EnablePostScreen"])) {
    EnablePostScreen_edit();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $title = "PostScreen::{$_GET["hostname"]}/{$_GET["ou"]}";
    echo "YahooWin3(660,'{$page}?popup=yes&hostname={$_GET["hostname"]}&ou={$_GET["ou"]}','{$title}');";
}
function popup()
{
    $page = CurrentPageName();
    $users = new usersMenus();
    $tpl = new templates();
    $array["index"] = '{index}';