moved code up one level to eliminate the docs subdirectory
[acontent.git] / documentation / frame_content.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 define('TR_INCLUDE_PATH', '../include/');\r
14 include(TR_INCLUDE_PATH.'vitals.inc.php');\r
15 \r
16 if (isset($_GET['p'])) {\r
17         $this_page = htmlentities_utf8($_GET['p']);\r
18 } else {\r
19         $this_page = 'index.php';\r
20\r
21 \r
22 require('handbook_header.inc.php'); \r
23 \r
24 if (isset($_pages[$this_page]['guide'])) \r
25 {\r
26         echo _AT($_pages[$this_page]['guide']);\r
27 }\r
28 \r
29 require('handbook_footer.inc.php');\r
30 ?>