コード例 #1
0
	include_once('ressources/class.cron.inc');
	include_once('ressources/class.squid.bandwith.inc');
	
	
	$user=new usersMenus();
	if($user->AsDansGuardianAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_POST["group-add"])){term_group_add();exit;}
	if(isset($_GET["group-list"])){term_group_list();exit;}
	if(isset($_POST["group-del"])){term_group_del();exit;}
	
	if(isset($_GET["group-expressions-popup"])){term_group_expression_popup();exit;}
	if(isset($_GET["group-expressions-list"])){term_group_expression_list();exit;}
	
	if(isset($_GET["browse-expressions-popup"])){browse_expressions_popup();exit;}
	if(isset($_GET["browse-expressions-list"])){browse_expressions_list();exit;}
	
	if(isset($_GET["expression-popup"])){expression_popup();exit;}
	if(isset($_GET["expression-edit"])){expression_js();exit;}
	if(isset($_POST["term"])){expression_save();exit;}
	if(isset($_POST["expression-enable"])){expression_enable();exit;}
	if(isset($_POST["expression-del"])){expression_del();exit;}
	if(isset($_POST["expression-link"])){expression_link();exit;}
	if(isset($_POST["expression-unlink"])){expression_unlink();exit;}
	
	if(isset($_GET["AddWordsInGroup-js"])){AddWordsInGroup_js();exit;}
	
コード例 #2
0
    exit;
}
if (isset($_POST["group-add"])) {
    term_group_add();
    exit;
}
if (isset($_GET["group-list"])) {
    term_group_list();
    exit;
}
if (isset($_POST["group-del"])) {
    term_group_del();
    exit;
}
if (isset($_GET["group-expressions-popup"])) {
    term_group_expression_popup();
    exit;
}
if (isset($_GET["group-expressions-list"])) {
    term_group_expression_list();
    exit;
}
if (isset($_GET["browse-expressions-popup"])) {
    browse_expressions_popup();
    exit;
}
if (isset($_GET["browse-expressions-list"])) {
    browse_expressions_list();
    exit;
}
if (isset($_GET["expression-popup"])) {