2 /****************************************************************/
\r
4 /****************************************************************/
\r
5 /* Copyright (c) 2002-2009 */
\r
6 /* Adaptive Technology Resource Centre / University of Toronto */
\r
7 /* http://atutor.ca */
\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
15 <?php if ($this->shortcuts): ?>
\r
16 <fieldset id="shortcuts"><legend><?php echo _AT('shortcuts'); ?></legend>
\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
26 if ($_SESSION["prefs"]["PREF_SHOW_CONTENTS"] && $this->content_table <> "")
\r
27 echo $this->content_table;
\r
30 <div id="content-text">
\r
31 <?php echo $this->body; ?>
\r
34 <?php if (!empty($this->test_ids)): ?>
\r
35 <div id="content-test" class="input-form">
\r
37 <strong><?php echo _AT('tests') . ':' ; ?></strong>
\r
38 <li class="top-tool"><?php echo $this->test_message; ?></li>
\r
41 foreach ($this->test_ids as $id => $test_obj){
\r
42 echo '<li><a href="'.url_rewrite('tools/test_intro.php?tid='.$test_obj['test_id'], AT_PRETTY_URL_IS_HEADER).'">'.
\r
43 AT_print($test_obj['title'], 'tests.title').'</a><br /></li>';
\r
52 /*TODO***************BOLOGNA***************REMOVE ME**********/
\r
53 if (!empty($this->forum_ids)): ?>
\r
54 <div id="content-test" class="input-form">
\r
56 <strong><?php echo _AT('forums') . ':' ; ?></strong>
\r
57 <li class="top-tool"><?php echo $this->forum_message; ?></li>
\r
60 foreach ($this->forum_ids as $id => $forum_obj) {
\r
61 echo '<li><a href="'.url_rewrite('forum/index.php?fid='.$forum_obj['forum_id'], AT_PRETTY_URL_IS_HEADER).'">'.
\r
62 AT_print($forum_obj['title'], 'forums.title').'</a><br /></li>';
\r
72 <div id="content-info">
\r
73 <?php echo $this->content_info; ?>
\r