コード例 #1
0
    exit;
}
if (isset($_GET["admins"])) {
    admins();
    exit;
}
if (isset($_GET["find-members"])) {
    admins_find();
    exit;
}
if (isset($_GET["SearchPattern"])) {
    list_users();
    exit;
}
if (isset($_GET["admins-add"])) {
    admins_add();
    exit;
}
if (isset($_GET["admins-del"])) {
    admins_del();
    exit;
}
if (isset($_GET["admin-list"])) {
    admins_list();
    exit;
}
js();
function js()
{
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{APP_ROUNDCUBE}::{global_addressbook}");
コード例 #2
0
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.apache.inc');
	
	if(!CheckPrivs()){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["index"])){index();exit;}
	if(isset($_GET["RoundCubeEnableAddressbook"])){RoundCubeEnableAddressbook();exit;}
	if(isset($_GET["admins"])){admins();exit;}
	if(isset($_GET["find-members"])){admins_find();exit;}
	if(isset($_GET["SearchPattern"])){list_users();exit;}
	if(isset($_GET["admins-add"])){admins_add();exit;}
	if(isset($_GET["admins-del"])){admins_del();exit;}
	if(isset($_GET["admin-list"])){admins_list();exit;}
	
	js();
	
	
function js() {
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{APP_ROUNDCUBE}::{global_addressbook}");
	$page=CurrentPageName();
	
	$html="
	
	YahooWin3('550','$page?popup=yes&www={$_GET["www"]}','$title');