コード例 #1
0
    exit;
}
if (isset($_GET["abort-delete-cache-js"])) {
    delete_cache_abort_js();
    exit;
}
if (isset($_POST["abort-delete-cache"])) {
    delete_cache_abort();
    exit;
}
if (isset($_GET["disable-js"])) {
    disable_js();
    exit;
}
if (isset($_GET["events-js"])) {
    events_js();
    exit;
}
if (isset($_GET["events-table"])) {
    events_table();
    exit;
}
if (isset($_GET["cachelogs-events-list"])) {
    events_search();
    exit;
}
if (isset($_GET["back-js"])) {
    back_js();
    exit;
}
if (isset($_POST["back"])) {
コード例 #2
0
ファイル: sshd.php プロジェクト: rsd/artica-1.5
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.mysql.inc');
	include_once('ressources/class.openssh.inc');
	include_once('ressources/class.user.inc');

$user=new usersMenus();
	if($user->AsSystemAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["events-js"])){events_js();exit;}
	if(isset($_POST['upload']) ){SSHD_KEYS_SERVER_UPLOAD();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["status"])){status();exit;}
	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;}