Beispiel #1
0
    exit;
}
if (isset($_GET["add-system-user-popup"])) {
    add_system_user_popup();
    exit;
}
if (isset($_GET["events"])) {
    events();
    exit;
}
if (isset($_GET["sshd-events"])) {
    events_list();
    exit;
}
if (isset($_GET["banner-js"])) {
    banner_js();
    exit;
}
if (isset($_GET["banner"])) {
    banner_popup();
    exit;
}
if (isset($_POST["banner"])) {
    banner_save();
    exit;
}
if (isset($_GET["reload-js"])) {
    reload_js();
    exit;
}
if (isset($_POST["RELOAD"])) {
Beispiel #2
0
	if(isset($_GET["parameters"])){parameters();exit;}
	if(isset($_GET["ListenAddress-list"])){listen_address_list();exit;}
	if(isset($_GET["LoginGraceTime"])){saveconfig();exit;}
	if(isset($_GET["ListenAddressSSHDADD"])){ListenAddressADD();exit;}
	if(isset($_GET["ListenAddressSSHDDelete"])){ListenAddressDEL();exit;}
	if(isset($_GET["keys"])){popup_keys();exit;}
	if(isset($_GET["GenerateSSHDKeyPair"])){GenerateSSHDKeyPair();exit;}
	if(isset($_GET["GetSSHDFingerprint"])){GetSSHDFingerprint();exit;}
	if(isset($_GET["download-key-pub"])){SSHDKeyPair_download();exit;}
	if(isset($_GET["SSHD_KEYS_SERVER"])){SSHD_KEYS_SERVER_FORM();exit;}
	if(isset($_GET["add-system-user-popup"])){add_system_user_popup();exit;}
	
	if(isset($_GET["events"])){events();exit;}
	if(isset($_GET["sshd-events"])){events_list();exit;}
	
	if(isset($_GET["banner-js"])){banner_js();exit;}
	if(isset($_GET["banner"])){banner_popup();exit;}
	if(isset($_POST["banner"])){banner_save();exit;}
	if(isset($_GET["reload-js"])){reload_js();exit;}
	if(isset($_POST["RELOAD"])){RELOAD();exit;}
	
js();	

function events_js(){
	$page=CurrentPageName();
	header("content-type: application/x-javascript");
	echo "$('#BodyContent').load('$page?events=yes');";
	
}

function banner_js(){