Exemplo n.º 1
0
    exit;
}
if (isset($_POST["RemotePort"])) {
    remote_save();
    exit;
}
if (isset($_GET["Next1"])) {
    Next1();
    exit;
}
if (isset($_GET["Next2"])) {
    Next2();
    exit;
}
if (isset($_GET["Next3"])) {
    Next3();
    exit;
}
js();
function js()
{
    $usersmenus = new usersMenus();
    $tpl = new templates();
    $page = CurrentPageName();
    header("content-type: application/x-javascript");
    $title = $tpl->_ENGINE_parse_body("{database_statistics_wizard}");
    echo "YahooWin3('700','{$page}?popup=yes','{$title}')";
}
function popup()
{
    $page = CurrentPageName();
Exemplo n.º 2
0
	if($user->AsSystemAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["CloseWizard"])){CloseWizard();exit;}
	if(isset($_POST["RoundCubeMySQLServiceType"])){MySQLSyslogType_save();exit;}
	if(isset($_POST["ListenPort"])){MySQLSyslogType_save();exit;}
	if(isset($_POST["apply"])){apply();exit;}
	if(isset($_POST["RemotePort"])){remote_save();exit;}
	
	if(isset($_GET["Next1"])){Next1();exit;}
	if(isset($_GET["Next2"])){Next2();exit;}
	if(isset($_GET["Next3"])){Next3();exit;}
js();
	
function js(){
	$usersmenus=new usersMenus();
	$tpl=new templates();
	$page=CurrentPageName();		
	header("content-type: application/x-javascript");
	$title=$tpl->_ENGINE_parse_body("{APP_ROUNDCUBE_DB}");
	echo "YahooWin3('700','$page?popup=yes','$title')";
	
}

function popup(){
	$page=CurrentPageName();
	$tpl=new templates();