lang_code the ISO language code * SITE_NAME the site name from the config file * $this->page_title the name of this page to use in the * $this->lang_charset the ISO language character set * $this->content_base_href the <base href> to use for this page * $this->base_path the absolute path to this atutor installation * $this->rtl_css if set, the path to the RTL style sheet * $this->icon the path to a course icon * $this->banner_style -deprecated- * $this->theme the directory name of the current theme * $this->base_href the full url to this atutor installation * $this->onload javascript onload() calls * $this->img the absolute path to this theme's images/ directory * $this->sequence_links associative array of 'previous', 'next', and/or 'resume' links * $this->path associative array of path to this page: aka bread crumbs * $this->rel_url the relative url from the installation root to this page * $this->nav_courses associative array of this user's enrolled courses * $this->section_title the title of this section (course, public, admin, my start page) * $this->top_level_pages associative array of the top level navigation * $this->current_top_level_page the full path to the current top level page with file name * $this->sub_level_pages associate array of sub level navigation * $this->back_to_page if set, the path and file name to the part of this page (if parent is not a top level nav) * $this->current_sub_level_page the full path to the current sub level page with file name * $this->guide the full path and file name to the guide page * ====================================== * top_level_pages array(array('url', 'title')) the top level pages. ATutor default creates tabs. * section_title string the name of the current section. either name of the course, administration, my start page, etc. * page_title string the title of the current page. * path array(array('url', 'title')) the path to the current page. * back_to_page array('url', 'title') the link back to the part of the current page, if needed. * current_top_level_page string full url to the current top level page in "top_leve_pages" * current_sub_level_page string full url to the current sub level page in the "sub_level_pages" * sub_level_pages array(array('url', 'title')) the sub level pages. */ // will have to be moved to the header.inc.php global $system_courses, $_custom_css, $db, $_base_path, $contentManager; // 1. any click on the page closes the content menu but the link "content_link" itself // 2. the click on link "content_link" opens the content menu $this->onload .= " jQuery(document).click(function () {jQuery('#content').hide('slow');}); jQuery('#content_link').click(function(e) { e.stopPropagation(); jQuery('#content').slideToggle(); }); "; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="<?php echo $this->lang_code; ?>"> <head> <title><?php echo SITE_NAME; ?> : <?php echo $this->page_title; ?> rtl_css; ?> course_id) && $system_courses[$this->course_id]['rss']): ?> custom_css; ?>
'; else: echo '
'; endif; ?>

section_title; ?> course_id) && $this->course_id > 0) && ($_SESSION['enroll'] == AT_ENROLL_NO)) : ?> -

| |
Content
sub_level_pages): ?>
guide) && isset($_SESSION["course_id"]) && $this->guide && ($_SESSION["prefs"]["PREF_SHOW_GUIDE"] || $_SESSION["course_id"] == "-1")) : ?> page_title; ?>
course_id) && $this->course_id <= 0)): ?> style="margin-left:0.5em;width:99%;" > course_id) && $this->course_id > 0): ?>

page_title; ?>

printAll(); $_base_href;?> sub_level_pages) > 0): ?>