moved code up one level to eliminate the docs subdirectory
[acontent.git] / home / course / outline.php
1 <?php
2 /************************************************************************/
3 /* AContent                                                             */
4 /************************************************************************/
5 /* Copyright (c) 2010                                                   */
6 /* Inclusive Design Institute                                           */
7 /*                                                                      */
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 /************************************************************************/
12
13 define('TR_INCLUDE_PATH', '../../include/');
14 require(TR_INCLUDE_PATH.'vitals.inc.php');
15
16 global $msg, $contentManager;
17
18 //if (!isset($contentManager))
19 //{
20 //      $msg->addError('MISSING_COURSE_ID');
21 //      require(TR_INCLUDE_PATH.'header.inc.php');
22 //}
23
24 require(TR_INCLUDE_PATH.'header.inc.php');
25
26 if (isset($contentManager))
27 {
28         echo '<p>';
29         $contentManager->printSiteMapMenu();
30         echo '</p>';
31 }
32 else
33 {
34         $msg->addError('MISSING_COURSE_ID');
35         $msg->printAll();
36 }
37
38 require(TR_INCLUDE_PATH.'footer.inc.php');
39 ?>