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



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

	case "defaultAction":
	case "main":
		ChkAuth($FMK_acl["user"]);
		include ( "qry_variables.php" );
		include ( "dsp_home.php" );
		break;

	case "select":
		ChkAuth($FMK_acl["user"]);
		include ( "sensorconf/qry_sensors.php");
		include ( "qry_selected.php" );
		include ( "qry_variables.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_variable.php" );
	case "new":
		ChkAuth($FMK_acl["puser"]);
		include ( "dsp_AddEdit.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