2013-05-21 Miguel de Dios <miguel.dedios@artica.es>

* operation/agentes/gis_view.php: fixed the title of agent in the
	list of positions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8174 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-05-21 08:33:26 +00:00
parent 86266b77eb
commit e75958bbab
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-05-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: fixed the title of agent in the
list of positions.
2013-05-20 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css

View File

@ -37,6 +37,7 @@ $agent_name = agents_get_name($agentId);
$agentData = gis_get_data_last_position_agent($id_agente);
//Avoid the agents with characters that fails the div.
$agent_name_original = $agent_name;
$agent_name = md5($agent_name);
$url = '';
@ -124,7 +125,7 @@ else {
$table->head = array(__("Longitude"), __("Latitude"), __("Altitude"), __("From"), __("To"), __("Description"), '# '.__("of Packages"), __("Manual placement"));
$table->class = 'position_data_table';
$table->id = $agent_name.'_position_data_table';
$table->title = $agent_name." ". __("positional data");
$table->title = $agent_name_original . " " . __("positional data");
$table->titlestyle = "background-color:#799E48;";
html_print_table($table); unset($table);