[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/question/ -> tabs.php (source)

   1  <?php  // $Id: tabs.php,v 1.7.2.1 2007/11/02 16:20:20 tjhunt Exp $
   2  /**
   3   * Sets up the tabs used by the question bank editing page
   4   *
   5   * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
   6   * @package questionbank
   7   */
   8  
   9  /// This file to be included so we can assume config.php has already been included.
  10  
  11      if (!isset($currenttab)) {
  12          $currenttab = '';
  13      }
  14      if (!isset($COURSE)) {
  15          error('No course specified');
  16      }
  17  
  18      $tabs = array();
  19      $inactive = array();
  20      $row  = array();
  21      questionbank_navigation_tabs($row, $contexts, $thispageurl->get_query_string());
  22      $tabs[] = $row;
  23  
  24      print_tabs($tabs, $currenttab, array());
  25  
  26  
  27  ?>


Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7