diff --git a/main/gradebook/gradebook_edit_all.php b/main/gradebook/gradebook_edit_all.php index 869487bee1..4708f25e12 100755 --- a/main/gradebook/gradebook_edit_all.php +++ b/main/gradebook/gradebook_edit_all.php @@ -50,7 +50,6 @@ if (empty($my_selectcat)) { // - DISPLAY HEADERS AND MESSAGES - // -------------------------------------------------------------------------------- - if (!isset($_GET['exportpdf']) and !isset($_GET['export_certificate'])) { if (isset ($_GET['studentoverview'])) { $interbreadcrumb[]= array ( @@ -65,9 +64,8 @@ if (!isset($_GET['exportpdf']) and !isset($_GET['export_certificate'])) { ); Display :: display_header(get_lang('SearchResults')); } else { - $interbreadcrumb[]= array ( - 'url' => $_SESSION['gradebook_dest'].'?', - 'name' => get_lang('Gradebook')); + $interbreadcrumb[] = array ('url' => $_SESSION['gradebook_dest'].'?selectcat=1', 'name' => get_lang('Gradebook')); + $interbreadcrumb[]= array ( 'url' => $_SESSION['gradebook_dest'].'?&selectcat='.Security::remove_XSS($_GET['selectcat']), diff --git a/main/gradebook/gradebook_flatview.php b/main/gradebook/gradebook_flatview.php index 9c5b4a52d7..83c30c3d40 100755 --- a/main/gradebook/gradebook_flatview.php +++ b/main/gradebook/gradebook_flatview.php @@ -31,10 +31,7 @@ if (isset ($_POST['submit']) && isset ($_POST['keyword'])) { $htmlHeadXtra[] = ''; //jQuery -$interbreadcrumb[] = array ( - 'url' => $_SESSION['gradebook_dest'], - 'name' => get_lang('Gradebook') -); +$interbreadcrumb[] = array ('url' => $_SESSION['gradebook_dest'].'?selectcat=1', 'name' => get_lang('Gradebook')); $showeval = isset($_POST['showeval']) ? '1' : '0'; $showlink = isset($_POST['showlink']) ? '1' : '0'; diff --git a/main/gradebook/gradebook_scoring_system.php b/main/gradebook/gradebook_scoring_system.php index 2ccd0c8830..90bc7c7062 100755 --- a/main/gradebook/gradebook_scoring_system.php +++ b/main/gradebook/gradebook_scoring_system.php @@ -64,10 +64,8 @@ $htmlHeadXtra[]= ' } '; -$interbreadcrumb[]= array ( - 'url' => $_SESSION['gradebook_dest'], - 'name' => get_lang('Gradebook' -)); +$interbreadcrumb[] = array ('url' => $_SESSION['gradebook_dest'].'?selectcat=1', 'name' => get_lang('Gradebook')); + $displayscore= ScoreDisplay :: instance(); $customdisplays = $displayscore->get_custom_score_display_settings(); $nr_items =(count($customdisplays)!='0')?count($customdisplays):'1';