fixed intercrumpt for shared profile - partial CT#446

skala
Cristian Fasanando 16 years ago
parent 5f2932d70c
commit 2eef592410
  1. 2
      main/social/home.php
  2. 8
      main/social/profile.php

@ -18,7 +18,7 @@ $show_full_profile = true;
//social tab
$this_section = SECTION_SOCIAL;
$interbreadcrumb[]= array ('url' => api_get_path(WEB_PATH).'main/social/profile.php','name' => get_lang('Social'));
$interbreadcrumb[]= array ('url' => 'home.php','name' => get_lang('Social'));
$interbreadcrumb[]= array ('url' => '#','name' => get_lang('Home'));
api_block_anonymous_users();

@ -187,10 +187,10 @@ if (isset($_GET['shared'])) {
$my_link='../social/profile.php';
$link_shared='';
}
$interbreadcrumb[]= array ('url' =>'profile.php','name' => get_lang('Social') );
$interbreadcrumb[]= array ('url' => '#', 'name' => get_lang('ViewMySharedProfile'));
$interbreadcrumb[]= array ('url' =>'home.php','name' => get_lang('Social') );
$interbreadcrumb[]= array ('url' => 'profile.php?u='.api_get_user_id(), 'name' => get_lang('ViewMySharedProfile'));
if (isset($_GET['u']) && is_numeric($_GET['u'])) {
if (isset($_GET['u']) && is_numeric($_GET['u']) && $_GET['u'] != api_get_user_id()) {
$info_user=api_get_user_info($_GET['u']);
$interbreadcrumb[]= array ('url' => '#','name' => api_get_person_name($info_user['firstName'], $info_user['lastName']));
}
@ -207,8 +207,6 @@ $_SESSION['social_user_id'] = intval($user_id);
*/
Display :: display_header(null);
// @todo here we must show the user information as read only
//User picture size is calculated from SYSTEM path

Loading…
Cancel
Save