2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2010 */
6 /* Inclusive Design Institute */
8 /* This program is free software. You can redistribute it and/or */
9 /* modify it under the terms of the GNU General Public License */
10 /* as published by the Free Software Foundation. */
11 /************************************************************************/
13 if (!defined('TR_INCLUDE_PATH')) { exit; }
15 global $languageManager, $_my_uri;
17 if ($this->course_id > 0) { ?>
18 <div style="clear:both;text-align:right;" id="gototop">
20 <span style="font-size:smaller;padding-right:3px;">
21 <a href="<?php echo htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES); ?>#content" title="<?php echo _AT('goto_top'); ?> Alt-c" ><?php echo _AT('goto_top'); ?>
22 <img src="<?php echo $this->base_path; ?>themes/<?php echo $this->theme; ?>/images/goto_top.gif" alt="<?php echo _AT('goto_top'); ?> Alt-c" border="0"/>
29 </div> <!-- end of contentcolumn -->
30 </div> <!-- end of contentwrapper -->
35 if($languageManager->getNumEnabledLanguages() > 1) {
37 <div align="center" id="lang" style="clear: left"><br />
39 if ($languageManager->getNumEnabledLanguages() > 5) {
40 echo ' <form method="get" action="'.htmlspecialchars($_my_uri, ENT_QUOTES).'">';
41 echo ' <label for="lang" style="display:none;">'._AT('translate_to').' </label>';
42 $languageManager->printDropdown($_SESSION['lang'], 'lang', 'lang');
43 echo ' <input type="submit" name="submit_language" class="button" value="'._AT('translate').'" />';
46 echo ' <small><label for="lang">'._AT('translate_to').' </label></small>';
47 $languageManager->printList($_SESSION['lang'], 'lang', 'lang', htmlspecialchars($_my_uri));
52 <?php } // end of displaying language selection ?>
54 <div align="center" style="clear:both;margin-left:auto; width:30em;margin-right:auto;">
55 <a href="<?php echo TR_BASE_HREF; ?>documentation/web_service_api.php" title="<?php echo _AT("web_service_api"); ?>" target="_new"><?php echo _AT('web_service_api'); ?></a>
56
57 <a href="<?php echo TR_BASE_HREF; ?>documentation/oauth_server_api.php" title="<?php echo _AT("oauth_server_api"); ?>" target="_new"><?php echo _AT('oauth_server_api'); ?></a>
60 <br style="clear:both;" />
61 <div style="margin-left:auto; margin-right:auto; width:20em;">
62 <small><?php if (isset($this->course_copyright)) echo htmlentities_utf8($this->course_copyright, ENT_QUOTES, 'UTF-8').'<br />'; echo _AT("copyright"); ?></small><br />
66 <a href="#" onclick="trans.utility.poptastic('<?php echo TR_GUIDES_PATH."index.php?p=home/index.php"; ?>'); return false;" target="_new"><em><?php echo _AT('general_help'); ?></em></a>
73 </div> <!-- end center-content div -->
75 <div class="bottom"></div>
76 <!-- bottom for liquid-round theme -->
79 <a href="http://www.atutor.ca/acontent"><img src="<?php echo $this->base_path; ?>/images/AC_Logo1_sm.png" alt="AContent Logo" style="border:none;" /></a>
85 // Timer, calculate how much time to load the page
86 // starttime is in include/header.inc.php
88 $mtime = explode(" ", $mtime);
89 $mtime = $mtime[1] + $mtime[0];
91 $totaltime = ($endtime - $starttime);
93 if (defined('TR_DEVEL') && TR_DEVEL)
95 debug(TABLE_PREFIX, 'TABLE_PREFIX');
96 debug(DB_NAME, 'DB_NAME');
97 debug($totaltime. ' seconds.', "TIME USED");