mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2010-04-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Fixed the access at the groups without icon. bug: 2944540 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1d4762610a
commit
1a61540375
@ -1,3 +1,8 @@
|
|||||||
|
2010-04-30 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* include/functions_ui.php: Fixed the access at the
|
||||||
|
groups without icon. bug: 2944540
|
||||||
|
|
||||||
2010-04-30 Sergio Martin <sergio.martin@artica.es>
|
2010-04-30 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* operation/agentes/group_view.php: Fixed the group
|
* operation/agentes/group_view.php: Fixed the group
|
||||||
|
@ -238,14 +238,18 @@ function print_group_icon ($id_group, $return = false, $path = "groups_small", $
|
|||||||
else
|
else
|
||||||
$icon = "world";
|
$icon = "world";
|
||||||
|
|
||||||
if (empty ($icon)) {
|
|
||||||
return "-";
|
|
||||||
}
|
|
||||||
|
|
||||||
$output = '';
|
$output = '';
|
||||||
if ($link) $output = '<a href="index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60&group_id='.$id_group.'">';
|
if ($link)
|
||||||
$output .= '<img style="' . $style . '" class="bot" src="images/'.$path.'/'.$icon.'.png" alt="'.get_group_name ($id_group, true).'" title="'.get_group_name ($id_group, true).'" />';
|
$output = '<a href="index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60&group_id='.$id_group.'">';
|
||||||
if ($link) $output .= '</a>';
|
|
||||||
|
if (empty ($icon))
|
||||||
|
$output .= '<span title="'.get_group_name ($id_group, true).'"> - </span>';
|
||||||
|
else
|
||||||
|
$output .= '<img style="' . $style . '" class="bot" src="images/'.$path.'/'.$icon.'.png" alt="'.get_group_name ($id_group, true).'" title="'.get_group_name ($id_group, true).'" />';
|
||||||
|
|
||||||
|
if ($link)
|
||||||
|
$output .= '</a>';
|
||||||
|
|
||||||
if (!$return)
|
if (!$return)
|
||||||
echo $output;
|
echo $output;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user