Location: PHPKode > projects > SnortSMS > snortsms/configs/FMK_Handler.php
<?php



switch($obj_FMK->GetVar("actionCurrent"))
	{

	case "defaultAction":
	case "main":
		ChkAuth($FMK_acl["user"]);
		include ( "qry_configs.php" );
		include ( "dsp_home.php" );
		break;
	
	
	case "select":
		ChkAuth($FMK_acl["user"]);
		include ( "sensorconf/qry_sensors.php");
		include ( "qry_selected.php" );
		include ( "qry_configs.php" );
		include ( "dsp_selected.php" );
		break;
	
	
	
	case "activate":
	case "deactivate":
	case "activateall":
	case "deactivateall":
		ChkAuth($FMK_acl["user"]);
		include ( "act_AddRemove.php" );
		break;
		
		
	case "edit":
		ChkAuth($FMK_acl["puser"]);
		include ( "qry_config.php" );
	case "new":
		ChkAuth($FMK_acl["puser"]);
		include ( "dsp_AddEdit.php" );
		break;
		
	case "import":
		ChkAuth($FMK_acl["puser"]);
		include ( "dsp_import.php" );
		break;
		
		
	case "save":
		ChkAuth($FMK_acl["puser"]);
		include ( "act_Save-Update.php" );
		break;
		
		
	case "action":
		ChkAuth($FMK_acl["puser"]);
		include ( "act_action.php" );
		break;
		
		
	default:
		$obj_FMK->SetError("Zone <b>'" . $obj_FMK->GetVar("zoneCurrent") . "'</b> doesn't have a handler called <b>'" . $obj_FMK->GetVar("actionCurrent") . "'</b> defined.");
		break;
	}

?>
Return current item: SnortSMS