Ejemplo n.º 1
0
    this.dst_ports      = alarm.dst_ports || '';
       
    this.sources        = alarm.sources || [];
    this.destinations   = alarm.destinations || [];
    
    this.tags           = alarm.tags || {};
    
    this.perms          = $.extend(
    {
        "admin": false,
        "pro"  : false
    }, perms || {});
    
    var __box_tabs      = {};
    var __alarm_url     = <?php 
echo json_encode(Alarm::get_alarm_path());
?>
;
    var __asset_url     = <?php 
echo Asset::get_path_url();
?>
;
    var __confirm_keys  = 
    {
        "yes": "<?php 
echo Util::js_entities(_('Yes'));
?>
",
        "no" : "<?php 
echo Util::js_entities(_('No'));
?>
Ejemplo n.º 2
0
$backlog_id = GET('backlog_id');
$event_id = GET('event_id');
$show_all = GET('show_all');
$hide = GET('hide');
$box = GET('box');
$from = GET('from') != "" ? GET('from') : 0;
ossim_valid($backlog_id, OSS_HEX, OSS_NULLABLE, 'illegal:' . _("backlog_id"));
ossim_valid($event_id, OSS_HEX, OSS_NULLABLE, 'illegal:' . _("Event_id"));
ossim_valid($show_all, OSS_DIGIT, OSS_NULLABLE, 'illegal:' . _("Show_all"));
ossim_valid($hide, OSS_ALPHA, OSS_NULLABLE, 'illegal:' . _("Hide"));
ossim_valid($from, OSS_DIGIT, OSS_NULLABLE, 'illegal:' . _("From"));
ossim_valid($box, OSS_DIGIT, OSS_NULLABLE, 'illegal:' . _("From"));
if (ossim_error()) {
    die(ossim_error());
}
$alarm_url = Alarm::get_alarm_path();
?>

<style type='text/css'>
	.loading_panel
	{
		border-radius: 5px;
		border: solid 5px #CCCCCC !important;
		width: 30%; 
		height: auto; 
		margin: 15px auto; 
		z-index: 200001; 
		background:#F2F2F2; 
		font-size: 11px; 
		color: #222222;
		text-align:center;