remove old readme
[atutor.git] / docs / themes / default16 / include / fm_header.tmpl.php
1 <?php\r
2 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
3 \r
4 /* available header.tmpl.php variables:\r
5  *\r
6  * ======================================\r
7  * top_level_pages           array(array('url', 'title'))     the top level pages. ATutor default creates tabs.\r
8  * section_title             string                           the name of the current section. either name of the course, administration, my start page, etc.\r
9  * page_title                string                           the title of the current page.\r
10  * path                      array(array('url', 'title'))     the path to the current page.\r
11  * back_to_page              array('url', 'title')            the link back to the part of the current page, if needed.\r
12  * current_top_level_page    string                           full url to the current top level page in "top_leve_pages"\r
13  * current_sub_level_page    string                           full url to the current sub level page in the "sub_level_pages"\r
14  * sub_level_pages           array(array('url', 'title'))     the sub level pages.\r
15  */\r
16 \r
17 // will have to be moved to the header.inc.php\r
18 global $system_courses;\r
19 \r
20 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
21 <html lang="<?php echo $this->lang_code; ?>">\r
22 <head>\r
23         <title><?php echo SITE_NAME; ?> : <?php echo $this->page_title; ?></title>\r
24         <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->lang_charset; ?>" />\r
25         <meta name="Generator" content="ATutor - Copyright 2005 by http://atutor.ca" />\r
26         <base href="<?php echo $this->content_base_href; ?>" />\r
27         <link rel="shortcut icon" href="<?php echo $this->base_path; ?>favicon.ico" type="image/x-icon" />\r
28         <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/print.css" type="text/css" media="print" />\r
29         <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/styles.css" type="text/css" />\r
30         <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/forms.css" type="text/css" />\r
31         <?php echo $this->rtl_css; ?>\r
32         <style type="text/css"><?php echo $this->banner_style; ?></style>\r
33         <?php if ($system_courses[$_SESSION['course_id']]['rss']): ?>\r
34         <link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 2.0" href="<?php echo $this->base_href; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-2" />\r
35         <link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 1.0" href="<?php echo $this->base_href; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-1" />\r
36         <?php endif; ?>\r
37 </head>\r
38 <body onload="<?php echo $this->onload; ?>"><div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>\r
39 <div align="right"><a href="javascript:window.close()"><?php echo _AT('close_file_manager'); ?></a></div>\r
40 <a name="content"></a>\r
41 <?php global $msg; $msg->printAll(); ?>