made a copy
[atutor.git] / themes / greenmin / content.tmpl.php
1 <?php\r
2 /************************************************************************/\r
3 /* ATutor                                                                                                                               */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2002-2008 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
6 /* Adaptive Technology Resource Centre / University of Toronto                  */\r
7 /* http://atutor.ca                                                                                                             */\r
8 /*                                                                                                                                              */\r
9 /* This program is free software. You can redistribute it and/or                */\r
10 /* modify it under the terms of the GNU General Public License                  */\r
11 /* as published by the Free Software Foundation.                                                */\r
12 /************************************************************************/\r
13 if (!defined('AT_INCLUDE_PATH')) { exit; } ?>\r
14 \r
15 <?php if ($this->shortcuts): ?>\r
16 <fieldset id="shortcuts"><legend><?php echo _AT('shortcuts'); ?></legend>\r
17         <ul>\r
18                 <?php foreach ($this->shortcuts as $link): ?>\r
19                         <li><a href="<?php echo $link['url']; ?>"><?php echo $link['title']; ?></a></li>\r
20                 <?php endforeach; ?>\r
21         </ul>\r
22 </fieldset>\r
23 <?php endif; ?>\r
24 \r
25 <?php \r
26 if ($_SESSION["prefs"]["PREF_SHOW_CONTENTS"] && $this->content_table <> "") \r
27         echo $this->content_table;\r
28 ?>\r
29 \r
30 <div id="content-text">\r
31         <?php echo $this->body; ?>\r
32 </div>\r
33 \r
34 <div id="content-info">\r
35         <?php echo $this->content_info; ?>\r
36 </div>