Fixing gradebook tab definition

skala
Julio Montoya 16 years ago
parent 8c1a36d0bd
commit 97ba92843f
  1. 2
      main/document/upload.php
  2. 1
      main/gradebook/gradebook_add_eval.php
  3. 2
      main/gradebook/gradebook_add_link.php
  4. 2
      main/gradebook/gradebook_display_certificate.php
  5. 2
      main/gradebook/gradebook_edit_all.php
  6. 6
      main/gradebook/gradebook_edit_cat.php
  7. 1
      main/gradebook/gradebook_flatview.php
  8. 11
      main/gradebook/gradebook_scoring_system.php
  9. 2
      main/gradebook/gradebook_showlog_eval.php
  10. 2
      main/gradebook/gradebook_showlog_link.php

@ -243,6 +243,8 @@ if ($is_certificate_mode) {
$interbreadcrumb[] = array('url' => './document.php?curdirpath='.urlencode($path).$req_gid, 'name'=> get_lang('Documents'));
}
$this_section = SECTION_COURSES;
// Display the header
Display::display_header($nameTools, 'Doc');

@ -65,6 +65,7 @@ $interbreadcrumb[] = array (
'url' => Security::remove_XSS($_SESSION['gradebook_dest']).'?selectcat='.$select_cat,
'name' => get_lang('Gradebook'
));
$this_section = SECTION_COURSES;
Display :: display_header(get_lang('NewEvaluation'));
if ($evaladd->get_course_code() == null) {
Display :: display_normal_message(get_lang('CourseIndependentEvaluation'),false);

@ -107,7 +107,7 @@ if (isset($_GET['typeselected']) && $_GET['typeselected'] != '0') {
$interbreadcrumb[]= array ('url' => $_SESSION['gradebook_dest'].'?selectcat=' .Security::remove_XSS($_GET['selectcat']),'name' => get_lang('Gradebook'));
$this_section = SECTION_COURSES;
Display :: display_header(get_lang('MakeLink'));
if (isset ($typeform)) {
$typeform->display();

@ -27,6 +27,8 @@ $interbreadcrumb[] = array ('url' => Security::remove_XSS($_SESSION['gradebook_d
$interbreadcrumb[] = array ('url' => Security::remove_XSS($_SESSION['gradebook_dest']).'?selectcat='.Security::remove_XSS($_GET['cat_id']),'name' => get_lang('Details'));
$interbreadcrumb[] = array ('url' => 'gradebook_display_certificate.php?cat_id='.Security::remove_XSS($_GET['cat_id']),'name' => get_lang('GradebookListOfStudentsCertificates'));
$this_section = SECTION_COURSES;
Display::display_header('');
?>
<?php

@ -4,7 +4,7 @@
$language_file= 'gradebook';
$cidReset= true;
require_once '../inc/global.inc.php';
$this_section = SECTION_MYGRADEBOOK;
$this_section = SECTION_COURSES;
require_once 'lib/be.inc.php';
require_once 'lib/scoredisplay.class.php';

@ -37,10 +37,8 @@ if ($form->validate()) {
exit;
}
$selectcat = isset($_GET['selectcat']) ? Security::remove_XSS($_GET['selectcat']) : '';
$interbreadcrumb[] = array (
'url' => Security::remove_XSS($_SESSION['gradebook_dest']).'?selectcat='.$selectcat,
'name' => get_lang('Gradebook'
));
$interbreadcrumb[] = array ('url' => Security::remove_XSS($_SESSION['gradebook_dest']).'?selectcat='.$selectcat,'name' => get_lang('Gradebook'));
$this_section = SECTION_COURSES;
Display :: display_header(get_lang('EditCategory'));
echo '<div class="actions-message">'.get_lang('EditCategory').'</div>';
$form->display();

@ -288,6 +288,7 @@ if (isset($_GET['search'])) {
$offset = isset($_GET['offset']) ? $_GET['offset'] : '0';
$flatviewtable = new FlatViewTable($cat[0], $users, $alleval, $alllinks, true, $offset, $addparams);
$this_section = SECTION_COURSES;
if (isset($_GET['exportpdf'])) {
echo '<div class="normal-message">';

@ -2,11 +2,11 @@
/* For licensing terms, see /license.txt */
$language_file= 'gradebook';
//$cidReset= true;
require_once ('../inc/global.inc.php');
require_once ('lib/be.inc.php');
require_once ('lib/gradebook_functions.inc.php');
require_once ('lib/fe/scoredisplayform.class.php');
require_once ('lib/scoredisplay.class.php');
require_once '../inc/global.inc.php';
require_once 'lib/be.inc.php';
require_once 'lib/gradebook_functions.inc.php';
require_once 'lib/fe/scoredisplayform.class.php';
require_once 'lib/scoredisplay.class.php';
api_block_anonymous_users();
//api_protect_admin_script();
@ -103,6 +103,7 @@ if ($scoreform->validate()) {
exit;
}
$this_section = SECTION_COURSES;
Display :: display_header(get_lang('ScoreEdit'));
if (((isset($_GET['isStudentView']) && $_GET['isStudentView']=='false') || (isset($_GET['selectcat']) && ($_SESSION['studentview']=='teacherview')))) {

@ -22,7 +22,7 @@ $interbreadcrumb[] = array (
'url' => 'gradebook_showlog_eval.php?visiblelog='.Security::remove_XSS($_GET['visiblelog']).'&amp;selectcat='.Security::remove_XSS($_GET['selectcat']),
'name' => get_lang('GradebookQualifyLog')
);
$this_section = SECTION_COURSES;
Display :: display_header('');
echo '<div class="clear"></div>';
echo '<div class="actions">';

@ -14,7 +14,7 @@ block_students();
$interbreadcrumb[] = array ('url' => Security::remove_XSS($_SESSION['gradebook_dest']).'?','name' => get_lang('Gradebook'));
$interbreadcrumb[] = array ('url' => Security::remove_XSS($_SESSION['gradebook_dest']).'?selectcat='.Security::remove_XSS($_GET['selectcat']),'name' => get_lang('Details'));
$interbreadcrumb[] = array ('url' => 'gradebook_showlog_link.php?visiblelink='.Security::remove_XSS($_GET['visiblelink']).'&amp;selectcat='.Security::remove_XSS($_GET['selectcat']), 'name' => get_lang('GradebookQualifyLog'));
$this_section = SECTION_COURSES;
Display :: display_header('');
echo '<div class="clear"></div>';
echo '<div class="actions">';

Loading…
Cancel
Save