<?php  // $Id$
/**
 * Sets up the tabs used by the question bank editing page
 *
 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
 * @package questionbank
 */

/// This file to be included so we can assume config.php has already been included.

    if (!isset($currenttab)) {
        $currenttab = '';
    }
    if (!isset($COURSE)) {
        error('No course specified');
    }

    $tabs = array();
    $inactive = array();
    $row  = array();
    questionbank_navigation_tabs($row, $contexts, 'courseid='.$COURSE->id);
    $tabs[] = $row;

    print_tabs($tabs, $currenttab, array());
    

?>

<?php  // $Id$
/**
 * Sets up the tabs used by the question bank editing page
 *
 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
 * @package questionbank
 */

/// This file to be included so we can assume config.php has already been included.

    if (!isset($currenttab)) {
        $currenttab = '';
    }
    if (!isset($COURSE)) {
        error('No course specified');
    }

    $tabs = array();
    $inactive = array();
    $row  = array();
    questionbank_navigation_tabs($row, $contexts, $thispageurl->get_query_string());
    $tabs[] = $row;

    print_tabs($tabs, $currenttab, array());


?>

Fix for MDL-10776 "Moodle Faulty navigation in questions categories when editing questions or exporting/importing categories"
Fix for MDL-10776 "Moodle Faulty navigation in questions categories when editing questions or exporting/importing categories"
