|
|
|
@ -113,7 +113,7 @@ function get_group_data($from, $number_of_items, $column, $direction) |
|
|
|
|
|
|
|
|
|
while ($group = Database::fetch_row($res)) { |
|
|
|
|
$group[3] = $status[$group[3]]; |
|
|
|
|
$group['1'] = '<a href="/main/social/groups.php?id='.$group['0'].'">'.$group['1'].'</a>'; |
|
|
|
|
$group['1'] = '<a href="'.api_get_path(WEB_CODE_PATH).'social/groups.php?id='.$group['0'].'">'.$group['1'].'</a>'; |
|
|
|
|
$groups[] = $group; |
|
|
|
|
} |
|
|
|
|
return $groups; |
|
|
|
@ -387,7 +387,7 @@ else |
|
|
|
|
echo '<div class="actions" style="width:100%;">'; |
|
|
|
|
if (api_is_platform_admin()) { |
|
|
|
|
echo '<span style="float:right; padding-top:7px;">'. |
|
|
|
|
'<a href="'.api_get_path(WEB_CODE_PATH).'admin/group_add.php">'.Display::return_icon('add_user_big.gif',get_lang('AddUsers')).get_lang('AddGroups').'</a>'. |
|
|
|
|
'<a href="'.api_get_path(WEB_CODE_PATH).'admin/group_add.php">'.Display::return_icon('groupadd.gif',get_lang('AddGroups')).get_lang('AddGroups').'</a>'. |
|
|
|
|
'</span>'; |
|
|
|
|
} |
|
|
|
|
$form->display(); |
|
|
|
|