Esempio n. 1
0
*                       handler
* - user_session_function : function to invoke in the custom session
*                           implementation that will register the session handler
*                           functions
*/
$use_user_session = 0;
$user_session_path = '';
$user_session_function = '';
/**
 * This option is used to set if BASE will use colored results
 * based on the priority of alerts
 * 0 : no
 * 1 : yes
 */
$colored_alerts = 0;
// Red, yellow, orange, gray, white, blue
$priority_colors = array('FF0000', 'FFFF00', 'FF9900', '999999', 'FFFFFF', '006600');
$Geo_IPfree_file_ascii = "/usr/share/ossim/www/forensics/ips-ascii.txt";
$otx_pulse_url = Otx::OTX_URL . "pulse/__PULSEID__" . Otx::get_anchor();
$otx_detail_url = AV_MAIN_PATH . "/otx/views/view_my_pulses.php?type=event&id=__EVENTID__";
$otx_unknown = _('No information available. You are no longer subscribed to this pulse.');
$otx_plugin_id = 1701;
$gmaps_url = "https://maps.google.com/maps/@__LAT__,__LONG__,10z";
/*
The below line should not be changed!
*/
$BASE_path = '/usr/share/ossim/www/forensics/';
// _BASE_INC is a variable set to prevent direct access to certain include files....
define("_BASE_INC", 1);
// Include for languages
require "{$BASE_path}/languages/{$BASE_Language}.lang.php";
Esempio n. 2
0
                        {"mDataProp": "value",       "bSortable": true,  "sClass": "left"},
                        {"mDataProp": "activity",    "bSortable": true,  "sClass": "left"},
                        {"mDataProp": "reliability", "bSortable": true,  "sClass": "left"},
                        {"mDataProp": "priority",    "bSortable": true,  "sClass": "left"},
                        {"mDataProp": null,          "bSortable": false, "sClass": "center", "sWidth": "30px"},
                    ],
                    oLanguage : __dt_lg,
                    "fnRowCallback" : function(nRow, aData)
                    {
                        var cell = $('td:last-child', nRow).empty();
                        var url  = __rep_url.replace('XXXX', aData.value);
                        
                        $('<a/>', 
                        {
                            "href"  : url + '<?php 
echo Otx::get_anchor();
?>
',
                            "target": "_blank",
                            "html"  : '<img src="/ossim/pixmaps/show_details.png" height="16px"/>'
                        }).appendTo(cell);
                    }                  
                });
            }

            this.init();
            
        });
        

        return __pulse_object;