mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
2014-03-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_conf_gis.php, operation/agentes/gis_view.php: changed the style to message of error to set the standar style of new Pandora. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
3a8794c06c
commit
b1f963e9bb
@ -1,3 +1,9 @@
|
||||
2014-03-31 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/agentes/agent_conf_gis.php,
|
||||
operation/agentes/gis_view.php: changed the style to message of
|
||||
error to set the standar style of new Pandora.
|
||||
|
||||
2014-03-30 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* include/functions_config.php, include/auth/mysql.php,
|
||||
|
@ -37,13 +37,19 @@ $agent_name = md5($agent_name);
|
||||
echo "<div id=\"" . $agent_name . "_agent_map\" style=\"border:1px solid black; width:98%; height: 30em;\"></div>";
|
||||
|
||||
if (!gis_get_agent_map($id_agente, "500px", "98%", false)) {
|
||||
echo "<br /><div class='nf'>" . __("There is no default map.") . "</div>";
|
||||
ui_print_error_message(__("There is no default map. Please go to the setup for to set a default map."));
|
||||
echo "<script type='text/javascript'>
|
||||
$(document).ready(function() {
|
||||
$('#" . $agent_name . "_agent_map').hide();
|
||||
});
|
||||
</script>";
|
||||
}
|
||||
|
||||
if ($agentData === false) {
|
||||
echo "<p>" . __("There is no GIS data for this agent, so it's positioned in default position of map.") . "</p>";
|
||||
}
|
||||
echo "<div class='warn'>" .__("Warning: When you change the Agent position, the agent automatically activates the 'Ignore new GIS data' option") . "</div>";
|
||||
echo "<div class='warn'>" .
|
||||
__("Warning: When you change the Agent position, the agent automatically activates the 'Ignore new GIS data' option") . "</div>";
|
||||
|
||||
$table->width = '85%';
|
||||
$table->data = array();
|
||||
|
@ -52,7 +52,7 @@ echo "<div style='margin-bottom: 30px;'></div>";
|
||||
echo "<div id=\"" . $agent_name . "_agent_map\" style=\"border:1px solid black; width:98%; height: 30em;\"></div>";
|
||||
|
||||
if (!gis_get_agent_map($id_agente, "500px", "98%", true, true, $period)) {
|
||||
echo "<br /><div class='nf'>" . __("There is no default map. Please go to the setup for to set a default map.") . "</div>";
|
||||
ui_print_error_message(__("There is no default map. Please go to the setup for to set a default map."));
|
||||
echo "<script type='text/javascript'>
|
||||
$(document).ready(function() {
|
||||
$('#" . $agent_name . "_agent_map').hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user