2010-02-04 Miguel de Dios <miguel.dedios@artica.es>

* operation/agentes/ver_agente.php: fix the show icon agent view.
	* images/gis_map/icons/dot_bad.png, images/gis_map/icons/dot_ok.png,
	images/gis_map/icons/dot.png, images/gis_map/icons/dot_warning.png: add one
	more icons for agent in GIS system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-02-04 09:47:23 +00:00
parent 368c539371
commit 679f1e331c
6 changed files with 9 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2010-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: fix the show icon agent view.
* images/gis_map/icons/dot_bad.png, images/gis_map/icons/dot_ok.png,
images/gis_map/icons/dot.png, images/gis_map/icons/dot_warning.png: add one
more icons for agent in GIS system.
2010-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager.php:

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

View File

@ -17,6 +17,7 @@
// Load global vars
require_once ("include/config.php");
require_once ("include/functions_gis.php");
enterprise_include ('operation/agentes/ver_agente.php');
@ -194,16 +195,7 @@ if (isset($_GET["flag_agent"])){
echo "<div id='menu_tab_frame_view'>";
if ($agent["icon_path"]) {
$icon = "images/gis_map/icons/" . $agent['icon_path'];
$state = get_agent_status($id_agente);
if (!$state) {
$icon .= ".png";
}
else {
$icon .= "_" . $state . ".png";
}
echo '<img src="'.$icon.'" alt="'.__('Agent Icon').'" style="float:right;"/>';
$icon = get_agent_icon_map($agent["id_agente"], true);
}
else {
$icon = 'images/bricks.png';