2010-06-01 Sergio Martin <sergio.martin@artica.es>

* godmode/groups/group_list.php: Change the way of 
	get the group incons to function print_group_icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-06-01 16:39:18 +00:00
parent 0b335da81f
commit dc61af561c
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-06-01 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/group_list.php: Change the way of
get the group incons to function print_group_icon.
2010-06-01 Raúl Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list.list.php,

View File

@ -166,10 +166,8 @@ 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[0] = print_group_icon($id_group, true);
$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');