mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2011-02-11 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Added new OS: android. * operation/agentes/estado_generalagente.php: Show description in GIS data when it's available. * images/os_icons/android.png, images/networkmap/15.png: New icons for Android OStype. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8438b49553
commit
2bbad99123
@ -1,3 +1,13 @@
|
|||||||
|
2011-02-11 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* pandoradb_data.sql: Added new OS: android.
|
||||||
|
|
||||||
|
* operation/agentes/estado_generalagente.php: Show description in GIS
|
||||||
|
data when it's available.
|
||||||
|
|
||||||
|
* images/os_icons/android.png,
|
||||||
|
images/networkmap/15.png: New icons for Android OStype.
|
||||||
|
|
||||||
2011-02-07 Miguel de Dios <miguel.dedios@artica.es>
|
2011-02-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* pandoradb.sql: cleaned source code.
|
* pandoradb.sql: cleaned source code.
|
||||||
|
BIN
pandora_console/images/networkmap/15.png
Normal file
BIN
pandora_console/images/networkmap/15.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
pandora_console/images/os_icons/android.png
Normal file
BIN
pandora_console/images/os_icons/android.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 894 B |
@ -142,12 +142,19 @@ if ($config['activate_gis']) {
|
|||||||
|
|
||||||
echo '<tr><td class="datos2"><b>'.__('Position (Long, Lat)'). '</b></td>';
|
echo '<tr><td class="datos2"><b>'.__('Position (Long, Lat)'). '</b></td>';
|
||||||
echo '<td class="datos2" colspan="2">';
|
echo '<td class="datos2" colspan="2">';
|
||||||
|
|
||||||
if ($dataPositionAgent === false) {
|
if ($dataPositionAgent === false) {
|
||||||
echo __('There is no GIS data.');
|
echo __('There is no GIS data.');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=gis&id_agente='.$id_agente.'">'.$dataPositionAgent['stored_longitude'].', '.$dataPositionAgent['stored_latitude'].'</a>';
|
echo '<a href="index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=gis&id_agente='.$id_agente.'">';
|
||||||
|
if ($dataPositionAgent['description'] != "")
|
||||||
|
echo $dataPositionAgent['description'];
|
||||||
|
else
|
||||||
|
echo $dataPositionAgent['stored_longitude'].', '.$dataPositionAgent['stored_latitude'];
|
||||||
|
echo "</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
}
|
}
|
||||||
// Last contact
|
// Last contact
|
||||||
|
@ -97,7 +97,8 @@ INSERT INTO `tconfig_os` VALUES
|
|||||||
(11,'Network','Pandora FMS Network Agent','network.png'),
|
(11,'Network','Pandora FMS Network Agent','network.png'),
|
||||||
(12,'Web Server','Web Server/Application','network.png'),
|
(12,'Web Server','Web Server/Application','network.png'),
|
||||||
(13,'Octopods','Octopods Pandora FMS Hardware Agent','network.png'),
|
(13,'Octopods','Octopods Pandora FMS Hardware Agent','network.png'),
|
||||||
(14,'Embedded','Embedded device running a Pandora FMS agent','embedded.png');
|
(14,'Embedded','Embedded device running a Pandora FMS agent','embedded.png'),
|
||||||
|
(15,'Android','Android agent','android.png');
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
|
||||||
@ -260,7 +261,7 @@ INSERT INTO `tusuario_perfil` VALUES (1,'admin',5,0,'admin');
|
|||||||
|
|
||||||
INSERT INTO `tperfil` VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0),(2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0),(3,'Chief Operator',1,1,1,1,0,0,0,0,0,0),(4,'Group coordinator',1,1,1,1,1,1,1,0,0,0),(5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1);
|
INSERT INTO `tperfil` VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0),(2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0),(3,'Chief Operator',1,1,1,1,0,0,0,0,0,0),(4,'Group coordinator',1,1,1,1,1,1,1,0,0,0),(5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1);
|
||||||
|
|
||||||
INSERT INTO `tnews` VALUES (1,'admin','Welcome to Pandora FMS 3.2!','This is the new Pandora FMS Console. A lot of new features have been added since last version. Please read the documentation about it, and feel free to test any option.\r\n\r\nThe Pandora FMS Team.',NOW()),
|
INSERT INTO `tnews` VALUES (1,'admin','Welcome to Pandora FMS 3.2!','This is the new Pandora FMS Console. A l/ot of new features have been added since last version. Please read the documentation about it, and feel free to test any option.\r\n\r\nThe Pandora FMS Team.',NOW()),
|
||||||
(2,'admin','New GIS Feature','Try our new GIS representation, activate GIS in Setup to see new available options.',NOW());
|
(2,'admin','New GIS Feature','Try our new GIS representation, activate GIS in Setup to see new available options.',NOW());
|
||||||
|
|
||||||
INSERT INTO tmodule VALUES (1,'Agent module');
|
INSERT INTO tmodule VALUES (1,'Agent module');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user