8f9366a79132912ab31851dac41c363cb7e46b64
[atutor.git] / docs / include / html / dropdowns / menu_menu.inc.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2010                                              */
6 /* Inclusive Design Institute                                           */
7 /* http://atutor.ca                                                     */
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 // $Id$
13
14 if (!defined('AT_INCLUDE_PATH')) { exit; }
15 global $_base_path;
16 global $savant;
17 global $contentManager;
18
19 ob_start();
20
21 echo '<div style="white-space:nowrap;">';
22
23 echo '<a href="'.$_base_path.'index.php">'._AT('course_home').'</a><br />';
24
25 /* @See classes/ContentManager.class.php        */
26 $contentManager->printMainMenu();
27
28 echo '</div>';
29
30 $savant->assign('dropdown_contents', ob_get_contents());
31 ob_end_clean();
32 $savant->assign('title', _AT('content_navigation'));
33 $savant->display('include/box.tmpl.php');
34 ?>