2011-07-19 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/agent_manager.php: Fixed agent icons in agent editor advanced options git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b6a926c4db
commit
08a9219083
|
@ -1,3 +1,8 @@
|
|||
2011-07-19 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/agentes/agent_manager.php: Fixed agent icons
|
||||
in agent editor advanced options
|
||||
|
||||
2011-07-19 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/admin_access_logs.php: Deleted old include
|
||||
|
|
|
@ -231,16 +231,21 @@ $arraySelectIcon = array();
|
|||
foreach ($listIcons as $index => $value) $arraySelectIcon[$index] = $index;
|
||||
|
||||
$path = 'images/gis_map/icons/'; //TODO set better method the path
|
||||
|
||||
$table->data[4][0] = __('Agent icon');
|
||||
if($icon_path == '') {
|
||||
$display_icons = 'none';
|
||||
}
|
||||
else {
|
||||
$display_icons = '';
|
||||
}
|
||||
$table->data[4][1] = html_print_select($arraySelectIcon, "icon_path", $icon_path, "changeIcons();", __('None'), '', true) .
|
||||
' ' . __('Without status') . ': ' . html_print_image($path . $icon_path . "default.png", true, array("id" => "icon_without_status", "style" => "display:none;")) .
|
||||
' ' . __('Default') . ': ' . html_print_image($path . $icon_path . "default.png", true, array("id" => "icon_default", "style" => "display:none;")) .
|
||||
' ' . __('Ok') . ': ' . html_print_image($path . $icon_path . "ok.png", true, array("id" => "icon_ok", "style" => "display:none;")) .
|
||||
' ' . __('Without status') . ': ' . html_print_image($path . $icon_path . ".default.png", true, array("id" => "icon_without_status", "style" => "display:".$display_icons.";")) .
|
||||
' ' . __('Default') . ': ' . html_print_image($path . $icon_path . ".default.png", true, array("id" => "icon_default", "style" => "display:".$display_icons.";")) .
|
||||
' ' . __('Ok') . ': ' . html_print_image($path . $icon_path . ".ok.png", true, array("id" => "icon_ok", "style" => "display:".$display_icons.";")) .
|
||||
|
||||
' ' . __('Bad') . ': ' . html_print_image($path . $icon_path . "bad.png", true, array("id" => "icon_bad", "style" => "display:none;")) .
|
||||
' ' . __('Bad') . ': ' . html_print_image($path . $icon_path . ".bad.png", true, array("id" => "icon_bad", "style" => "display:".$display_icons.";")) .
|
||||
|
||||
' ' . __('Warning') . ': ' . html_print_image($path . $icon_path . "warning.png", true, array("id" => "icon_warning", "style" => "display:none;"));
|
||||
' ' . __('Warning') . ': ' . html_print_image($path . $icon_path . ".warning.png", true, array("id" => "icon_warning", "style" => "display:".$display_icons.";"));
|
||||
|
||||
if ($config['activate_gis']) {
|
||||
$table->data[5][0] = __('Ignore new GIS data:');
|
||||
|
|
Loading…
Reference in New Issue