Example #1
0
	<meta http-equiv="Pragma" content="no-cache"/>
	<link rel="stylesheet" type="text/css" href="../style/av_common.css?t=<?php 
echo Util::get_css_id();
?>
"/>
	<script type="text/javascript" src="../js/jquery.min.js"></script>
</head>

<body>

	<?php 
$db = new ossim_db();
$conn = $db->connect();
$message = _("Can't delete Event Type");
if ($plugin_id != "" && $sid != "") {
    $error = Plugin_sid::delete($conn, $plugin_id, $sid);
    $message = $error ? _("Can't delete Event Type (not found)") : _("Event type deleted");
    if (!$error) {
        Util::resend_asset_dump();
    }
}
$db->close($conn);
?>

	<h1><?php 
echo _("Delete Event Type");
?>
</h1>
	<p style='font-size: 12px;'><?php 
echo $message;
?>