AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / themes / default / include / fm_header.tmpl.php
1 <?php\r
2 /************************************************************************/\r
3 /* AContent                                                             */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2010                                                   */\r
6 /* Inclusive Design Institute                                           */\r
7 /*                                                                      */\r
8 /* This program is free software. You can redistribute it and/or        */\r
9 /* modify it under the terms of the GNU General Public License          */\r
10 /* as published by the Free Software Foundation.                        */\r
11 /************************************************************************/\r
12 \r
13 if (!defined('TR_INCLUDE_PATH')) { exit; }\r
14 \r
15 /* available header.tmpl.php variables:\r
16  *\r
17  * ======================================\r
18  * top_level_pages           array(array('url', 'title'))     the top level pages. ATutor default creates tabs.\r
19  * section_title             string                           the name of the current section. either name of the course, administration, my start page, etc.\r
20  * page_title                string                           the title of the current page.\r
21  * path                      array(array('url', 'title'))     the path to the current page.\r
22  * back_to_page              array('url', 'title')            the link back to the part of the current page, if needed.\r
23  * current_top_level_page    string                           full url to the current top level page in "top_leve_pages"\r
24  * current_sub_level_page    string                           full url to the current sub level page in the "sub_level_pages"\r
25  * sub_level_pages           array(array('url', 'title'))     the sub level pages.\r
26  */\r
27 \r
28 // will have to be moved to the header.inc.php\r
29 global $system_courses;\r
30 \r
31 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
32 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="<?php echo $this->lang_code; ?>"> \r
33 \r
34 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo DEFAULT_LANGUAGE_CODE; ?>" lang="<?php echo DEFAULT_LANGUAGE_CODE; ?>"> \r
35 \r
36 <head>\r
37         <title><?php echo SITE_NAME; ?> : <?php echo $this->page_title; ?></title>\r
38         <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->lang_charset; ?>" />\r
39         <meta name="Generator" content="AContent - Copyright 2009 by ATRC http://atrc.utoronto.ca/" />\r
40         <meta name="keywords" content="AContent, free, open source, elearning, authoring, common cartridge, content package, QTI, AccessForAll, AFA, repository" />\r
41         <meta name="description" content="AContent is a standards compliant Web-based elearning content authoring tool and repository that can be used with any sysem that supports IMS content interoperability standards." />\r
42         <base href="<?php echo $this->content_base_href; ?>" />\r
43         <link rel="shortcut icon" href="<?php echo $this->base_path; ?>favicon.ico" type="image/x-icon" />\r
44         <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/forms.css" type="text/css" />\r
45         <link rel="stylesheet" href="<?php echo $this->base_path.'themes/'.$this->theme; ?>/styles.css" type="text/css" />\r
46 <?php echo $this->rtl_css; ?>\r
47         <script src="<?php echo $this->base_path; ?>include/jscripts/infusion/InfusionAll.js" type="text/javascript"></script>\r
48         <script src="<?php echo $this->base_path; ?>jscripts/infusion/jquery.autoHeight.js" type="text/javascript"></script>\r
49         <script src="<?php echo $this->base_path; ?>include/jscripts/handleAjaxResponse.js" type="text/javascript"></script>\r
50         <script src="<?php echo $this->base_path; ?>include/jscripts/transformable.js" type="text/javascript"></script>\r
51 <?php echo $this->custom_css; ?>\r
52 </head>\r
53 \r
54 <body onload="<?php echo $this->onload; ?>"><div class="input-form"><div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>\r
55 <br /><div align="right"><a href="javascript:window.close()"><?php echo _AT('close'); ?></a></div>\r
56 <a name="content" title="<?php echo _AT("content_start"); ?>"></a>\r
57 <div id="ajax-msg">\r
58 </div>\r
59 <?php global $msg; $msg->printAll(); ?>