2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php, operation/events/events.php, include/functions_events.php: fixed PHP warnings. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7a74b6515e
commit
5e1e067e76
|
@ -1,3 +1,8 @@
|
|||
2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/events/events_list.php, operation/events/events.php,
|
||||
include/functions_events.php: fixed PHP warnings.
|
||||
|
||||
2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/tag/tag.php: fixed the column for large list of emails,
|
||||
|
|
|
@ -1689,6 +1689,7 @@ function events_page_responses ($event) {
|
|||
// If server_id > 0, is a metaconsole query
|
||||
function events_get_response_target($event_id, $response_id, $server_id, $history = false) {
|
||||
global $config;
|
||||
|
||||
$event_response = db_get_row('tevent_response','id',$response_id);
|
||||
|
||||
if ($server_id > 0) {
|
||||
|
@ -1737,9 +1738,10 @@ function events_get_response_target($event_id, $response_id, $server_id, $histor
|
|||
|
||||
function events_page_custom_fields ($event) {
|
||||
global $config;
|
||||
/////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Custom fields
|
||||
/////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
$table->width = '100%';
|
||||
$table->data = array ();
|
||||
|
@ -1805,9 +1807,9 @@ function events_page_details ($event, $server = "") {
|
|||
$serverstring = "";
|
||||
}
|
||||
|
||||
/////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Details
|
||||
/////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
$table_details->width = '100%';
|
||||
$table_details->data = array ();
|
||||
|
@ -1893,7 +1895,8 @@ function events_page_details ($event, $server = "") {
|
|||
|
||||
// Module group
|
||||
$data = array();
|
||||
$data[0] = '<div style="font-weight:normal; margin-left: 20px;">'.__('Module group').'</div>';
|
||||
$data[0] = '<div style="font-weight:normal; margin-left: 20px;">' .
|
||||
__('Module group') . '</div>';
|
||||
$id_module_group = $module['id_module_group'];
|
||||
if ($id_module_group == 0) {
|
||||
$data[1] = __('No assigned');
|
||||
|
@ -1914,7 +1917,8 @@ function events_page_details ($event, $server = "") {
|
|||
}
|
||||
$graph_type = return_graphtype ($module_module_type);
|
||||
|
||||
$win_handle=dechex(crc32($module["id_agente_modulo"].$module["module_name"]));
|
||||
$win_handle=dechex(crc32($module["id_agente_modulo"] .
|
||||
$module["nombre"]));
|
||||
|
||||
$module_module_name = '';
|
||||
if (isset($module["module_name"])) {
|
||||
|
|
|
@ -226,7 +226,7 @@ $params = "search=" . rawurlencode(io_safe_input($search)) .
|
|||
"&severity=" . $severity .
|
||||
"&status=" . $status .
|
||||
"&ev_group=" . $ev_group .
|
||||
"&refr=" . $config["refr"] .
|
||||
"&refr=" . (int)get_parameter("refr", 0) .
|
||||
"&id_agent=" . $id_agent .
|
||||
"&pagination=" . $pagination .
|
||||
"&group_rep=" . $group_rep .
|
||||
|
|
|
@ -327,7 +327,7 @@ $tabletags->rowclass[] = '';
|
|||
echo '<div id="event_control" style="display:none">';
|
||||
|
||||
// Table for filter controls
|
||||
echo '<form id="form_filter" method="post" action="index.php?sec=eventos&sec2=operation/events/events&refr='.$config["refr"].'&pure='.$config["pure"].'&section=' . $section . '&history='.(int)$history.'">';
|
||||
echo '<form id="form_filter" method="post" action="index.php?sec=eventos&sec2=operation/events/events&refr='. (int)get_parameter("refr", 0) .'&pure='.$config["pure"].'&section=' . $section . '&history='.(int)$history.'">';
|
||||
|
||||
// Hidden field with the loaded filter name
|
||||
html_print_input_hidden('id_name', $id_name);
|
||||
|
|
Loading…
Reference in New Issue