2009-06-23 Miguel de Dios <miguel.dedios@artica.es>

* pandora_console/godmode/groups/group_list.php: fix group without image
	don't print image tag. 
	Fixes: #2810299
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-06-24 09:16:52 +00:00
parent a5c59b2b6b
commit 0e5ef92766
2 changed files with 10 additions and 3 deletions

View File

@ -1,16 +1,20 @@
2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/groups/group_list.php: fix group without image
don't print image tag.
Fixes: #2810299
2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident.php: fix parameters to pass function
pagination.
Fixes: #2805804
2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php: add another "create agent" before
the list for more usability
2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/menu.css: Fixed style for elements menu

View File

@ -141,7 +141,10 @@ foreach ($groups as $id_group => $group_name) {
$group = get_db_row ('tgrupo', 'id_grupo', $id_group);
if (!empty ($group["icon"]))
$data[0] = '<img src="images/groups_small/'.$group["icon"].'.png" border="0">';
else
$data[0] = '&nbsp;';
$data[1] = '<strong><a href="index.php?sec=gagente&sec2=godmode/groups/configure_group&id_group='.$id_group.'">'.$group_name.'</a></strong>';
$data[2] = get_group_name ($group["parent"]);
$data[3] = $group['disabled'] ? __('Disabled') : __('Enabled');