@@ 498-508 (lines=11) @@ | ||
495 | $my_groups .= '<div class="panel-heading">'.get_lang('MyGroups').' ('.$count_groups.') </div>'; |
|
496 | ||
497 | if ($i > $max_numbers_of_group) { |
|
498 | if (api_get_user_id() == $user_id) { |
|
499 | $my_groups .= '<div class="box_shared_profile_group_actions">' |
|
500 | .'<a href="groups.php?#tab_browse-1">'.get_lang('SeeAllMyGroups').'</a></div>'; |
|
501 | } else { |
|
502 | $my_groups .= '<div class="box_shared_profile_group_actions">' |
|
503 | .'<a href="'.api_get_path(WEB_CODE_PATH).'social/profile_friends_and_groups.inc.php' |
|
504 | .'?view=mygroups&height=390&width=610&user_id='.$user_id.'"' |
|
505 | .' class="ajax" title="'.get_lang('SeeAll').'" >' |
|
506 | .get_lang('SeeAllMyGroups') |
|
507 | .'</a></div>'; |
|
508 | } |
|
509 | } |
|
510 | ||
511 | $total = count($grid_my_groups); |
@@ 1733-1742 (lines=10) @@ | ||
1730 | $number_friends = count($friends); |
|
1731 | $friendHtml = ''; |
|
1732 | if ($number_friends != 0) { |
|
1733 | if ($number_friends > $number_of_images) { |
|
1734 | if (api_get_user_id() == $user_id) { |
|
1735 | $friendHtml.= ' <span><a href="friends.php">'.get_lang('SeeAll').'</a></span>'; |
|
1736 | } else { |
|
1737 | $friendHtml.= ' <span>' |
|
1738 | .'<a href="'.api_get_path(WEB_CODE_PATH).'social/profile_friends_and_groups.inc.php' |
|
1739 | .'?view=friends&height=390&width=610&user_id='.$user_id.'"' |
|
1740 | .'class="ajax" data-title="'.get_lang('SeeAll').'" title="'.get_lang('SeeAll').'" >'.get_lang('SeeAll').'</a></span>'; |
|
1741 | } |
|
1742 | } |
|
1743 | ||
1744 | $friendHtml.= '<ul class="nav nav-list">'; |
|
1745 | $j = 1; |