mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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:
parent
5652203421
commit
d42205f3e3
@ -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
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user