Fixing some minor bug with breadcrumbs

skala
Julio Montoya 14 years ago
parent 1a2150ebe8
commit f32927f783
  1. 26
      main/css/base.css
  2. 2
      main/dashboard/index.php
  3. 6
      main/social/groups.php
  4. 3
      main/social/home.php
  5. 9
      main/social/profile.php
  6. 4
      main/template/default/auth/courses_categories.php

@ -181,21 +181,21 @@ input.maininput:focus {
width:95px;
height:95px;
float:left;
-moz-border-radius-topleft:4px;
-moz-border-radius-topright:4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
overflow:hidden;
border-radius:4px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
box-shadow:0 -1px 5px 2px #CCCCCC;
-moz-box-shadow:0 -1px 5px 2px #CCCCCC;
-Webkit-box-shadow: 0 -1px 5px 2px #CCCCCC;
box-shadow: 0 -1px 5px 2px #CCCCCC;
margin-left: 8px;
}
.categories-course-picture img {
width: 95px;
height: 95px;
.categories-course-picture img {
height: 95px;
background-color: #eeeeee;
}
@ -607,4 +607,10 @@ button:hover {
#menu {
margin-top: 8px;
margin-bottom: 10px;
}
}
.social-background-content {
margin-left: -15px;
width:auto;
}

@ -39,7 +39,7 @@ $dashboar_plugin_styles = DashboardManager::get_links_for_styles_from_dashboard_
$htmlHeadXtra[] = $dashboar_plugin_styles;
// interbreadcrumb
$interbreadcrumb[] = array ('url' => 'index.php', 'name' => get_lang('Dashboard'));
//$interbreadcrumb[] = array ('url' => 'index.php', 'name' => get_lang('Dashboard'));
// course description controller object
$dashboard_controller = new DashboardController();

@ -135,7 +135,9 @@ if (isset($_GET['view']) && in_array($_GET['view'],$allowed_views)) {
}
} else {
$interbreadcrumb[]= array ('url' =>'groups.php','name' => get_lang('Groups'));
$interbreadcrumb[]= array ('url' =>'#','name' => get_lang('GroupList'));
if (!isset($_GET['id'])) {
$interbreadcrumb[]= array ('url' =>'#','name' => get_lang('GroupList'));
}
}
Display :: display_header($tool_name, 'Groups');
@ -184,7 +186,6 @@ if (isset($_POST['token']) && $_POST['token'] === $_SESSION['sec_token']) {
@api_mail_html($recipient_name, $recipient_email, stripslashes($subject), $message, $sender_name, $sender_email);
}
}
Security::clear_token();
}
}
@ -204,7 +205,6 @@ if ($group_id != 0 ) {
if (api_get_user_id() == $user_leaved) {
GroupPortalManager::delete_user_rel_group($user_leaved, $group_id);
$user_leave_message = true;
}
}
// add a user to a group if its open

@ -19,7 +19,6 @@ $show_full_profile = true;
//social tab
$this_section = SECTION_SOCIAL;
unset($_SESSION['this_section']);//for hmtl editor repository
$interbreadcrumb[]= array ('url' => 'home.php','name' => get_lang('Social'));
api_block_anonymous_users();
//jquery thickbox already called from main/inc/header.inc.php
@ -65,7 +64,7 @@ if (api_get_setting('profile', 'picture') == 'true') {
}
}
Display :: display_header(get_lang('SocialNetwork'));
Display :: display_header(get_lang('Social'));
$user_info = UserManager :: get_user_info_by_id(api_get_user_id());
$user_online_list = who_is_online(api_get_setting('time_limit_whosonline'),true);
$user_online_count = count($user_online_list);

@ -180,7 +180,7 @@ function register_friend(element_input) {
}
</script>';
$nametool = get_lang('Social');
$nametool = get_lang('ViewMySharedProfile');
if (isset($_GET['shared'])) {
$my_link='../social/profile.php';
$link_shared='shared='.Security::remove_XSS($_GET['shared']);
@ -189,18 +189,17 @@ if (isset($_GET['shared'])) {
$link_shared='';
}
$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']) && $_GET['u'] != api_get_user_id()) {
$info_user=api_get_user_info($_GET['u']);
$info_user = api_get_user_info($_GET['u']);
$interbreadcrumb[]= array ('url' => '#','name' => api_get_person_name($info_user['firstName'], $info_user['lastName']));
$nametool = '';
}
if (isset($_GET['u'])) {
$param_user='u='.Security::remove_XSS($_GET['u']);
}else {
$info_user=api_get_user_info(api_get_user_id());
$param_user='';
$info_user = api_get_user_info(api_get_user_id());
$param_user = '';
}
$_SESSION['social_user_id'] = intval($user_id);

@ -135,8 +135,8 @@ $stok = Security::get_token();
<div class="course-block-main-item"><div class="left">'.get_lang('Teacher').'</div><div class="course-block-teacher right">'.$tutor_name.'</div></div>
<div class="course-block-main-item"><div class="left">'.get_lang('CreationDate').'</div><div class="course-block-date">'.api_format_date($creation_date,DATE_FORMAT_SHORT).'</div></div>
</div>
<div class="categories-course-picture">
<img src="'.$course_medium_image.'" />
<div class="categories-course-picture"><center>
<img src="'.$course_medium_image.'" /></center>
</div>
<div class="course-block-popularity"><span>'.get_lang('ConnectionsLastMonth').'</span><div class="course-block-popularity-score">'.$count_connections.'</div></div>';
echo '</div>';

Loading…
Cancel
Save