improve interbreadcrumb in gradebook CT#603

skala
Carlos Vargas 15 years ago
parent 467036ba88
commit 34aa3fc848
  1. 6
      main/gradebook/gradebook_edit_all.php
  2. 5
      main/gradebook/gradebook_flatview.php
  3. 6
      main/gradebook/gradebook_scoring_system.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']),

@ -31,10 +31,7 @@ if (isset ($_POST['submit']) && isset ($_POST['keyword'])) {
$htmlHeadXtra[] = '<script src="../inc/lib/javascript/jquery.js" type="text/javascript" language="javascript"></script>'; //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';

@ -64,10 +64,8 @@ $htmlHeadXtra[]= '
}
</script>';
$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';

Loading…
Cancel
Save