2010-09-29 Sergio Martin <sergio.martin@artica.es>

* include/functions_events.php: Change to the new status 
	images and names to the events on the tactical view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-09-29 10:35:47 +00:00
parent 5652203421
commit d42205f3e3
2 changed files with 19 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Change to the new status
images and names to the events on the tactical view.
2010-09-29 Sergio Martin <sergio.martin@artica.es> 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js * include/javascript/jquery.pandora.controls.js

View File

@ -332,14 +332,21 @@ function print_events_table ($filter = "", $limit = 10, $width = 440, $return =
$data = array (); $data = array ();
// Colored box // Colored box
if ($event["estado"] == 0) { switch($event["estado"]) {
$img = "images/tick_off.png"; case 0:
$title = __('Event not validated'); $img = "images/star.png";
} $title = __('New event');
else { break;
$img = "images/tick.png"; case 1:
$title = __('Event validated (ACK)'); $img = "images/tick.png";
$title = __('Event validated');
break;
case 2:
$img = "images/hourglass.png";
$title = __('Event in process');
break;
} }
$data[0] = print_image ($img, true, $data[0] = print_image ($img, true,
array ("class" => "image_status", array ("class" => "image_status",
"width" => 16, "width" => 16,