mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Don't show image for groups without icon - #3446
Former-commit-id: 6a67e368a2aef7f2df04a3937a0466064fa6894e
This commit is contained in:
parent
042bf1c6e7
commit
7bc5fb47a0
@ -491,17 +491,23 @@ else{
|
|||||||
$url_delete = "index.php?sec=gagente&sec2=godmode/groups/group_list&delete_group=1&id_group=" . $group['id_grupo'];
|
$url_delete = "index.php?sec=gagente&sec2=godmode/groups/group_list&delete_group=1&id_group=" . $group['id_grupo'];
|
||||||
$table->data[$key][0] = $group['id_grupo'];
|
$table->data[$key][0] = $group['id_grupo'];
|
||||||
$table->data[$key][1] = "<a href='$url'>" . $group['nombre'] . "</a>";
|
$table->data[$key][1] = "<a href='$url'>" . $group['nombre'] . "</a>";
|
||||||
$table->data[$key][2] = html_print_image(
|
|
||||||
"images/groups_small/" . $group['icon'] . ".png",
|
if($group['icon'] != ''){
|
||||||
true,
|
$table->data[$key][2] = html_print_image(
|
||||||
array(
|
"images/groups_small/" . $group['icon'] . ".png",
|
||||||
"style" => '',
|
true,
|
||||||
"class" => "bot",
|
array(
|
||||||
"alt" => $group['nombre'],
|
"style" => '',
|
||||||
"title" => $group['nombre'],
|
"class" => "bot",
|
||||||
false, false, false, true
|
"alt" => $group['nombre'],
|
||||||
)
|
"title" => $group['nombre'],
|
||||||
);
|
false, false, false, true
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$table->data[$key][2] = "";
|
||||||
|
}
|
||||||
|
|
||||||
//reporting_get_group_stats
|
//reporting_get_group_stats
|
||||||
$table->data[$key][3] = $group['disabled'] ? __('Disabled') : __('Enabled');
|
$table->data[$key][3] = $group['disabled'] ? __('Disabled') : __('Enabled');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user