see #4926 Forum: breadcrumbs does not match tool name

skala
Laurent Opprecht 13 years ago
parent 3a0e23cfe7
commit 60b64cf62a
  1. 4
      main/forum/index.php
  2. 2
      main/forum/viewforumcategory.php
  3. 2
      main/forum/viewthread.php

@ -90,11 +90,11 @@ $actions = isset($_GET['action']) ? $_GET['action'] : '';
if ($actions == 'add') {
switch ($_GET['content']) {
case 'forum':
$interbreadcrumb[] = array('url' => 'index.php?gradebook='.$gradebook.'&search='.$search_forum, 'name' => get_lang('ForumCategories'));
$interbreadcrumb[] = array('url' => 'index.php?gradebook='.$gradebook.'&search='.$search_forum, 'name' => get_lang('Forum'));
$interbreadcrumb[] = array('url' =>'#', 'name' => get_lang('AddForum'));
break;
case 'forumcategory':
$interbreadcrumb[] = array('url' =>'index.php?gradebook='.$gradebook.'&search='.$search_forum, 'name' => get_lang('ForumCategories'));
$interbreadcrumb[] = array('url' =>'index.php?gradebook='.$gradebook.'&search='.$search_forum, 'name' => get_lang('Forum'));
$interbreadcrumb[] = array('url' =>'#', 'name' => get_lang('AddForumCategory'));
break;
default:

@ -75,7 +75,7 @@ if (!empty($gradebook) && $gradebook == 'view') {
}
$current_forum_category = get_forum_categories($_GET['forumcategory']);
$interbreadcrumb[] = array('url' => 'index.php?gradebook='.$gradebook.'&search='.Security::remove_XSS(urlencode(isset($_GET['search'])?$_GET['search']:'')),'name' => get_lang('ForumCategories'));
$interbreadcrumb[] = array('url' => 'index.php?gradebook='.$gradebook.'&search='.Security::remove_XSS(urlencode(isset($_GET['search'])?$_GET['search']:'')),'name' => get_lang('Forum'));
if (!empty($_GET['action']) && !empty($_GET['content'])) {

@ -22,7 +22,7 @@ api_protect_course_script(true);
require_once 'forumconfig.inc.php';
require_once 'forumfunction.inc.php';
$nameTools = get_lang('ForumCategories');
$nameTools = get_lang('Forum');
// Are we in a lp ?
$origin = '';

Loading…
Cancel
Save