made a copy
[atutor.git] / include / html / dropdowns / menu_menu.inc.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2008 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/
6 /* Adaptive Technology Resource Centre / University of Toronto                  */
7 /* http://atutor.ca                                                                                                             */
8 /*                                                                                                                                              */
9 /* This program is free software. You can redistribute it and/or                */
10 /* modify it under the terms of the GNU General Public License                  */
11 /* as published by the Free Software Foundation.                                                */
12 /************************************************************************/
13 // $Id$
14
15 if (!defined('AT_INCLUDE_PATH')) { exit; }
16 global $_base_path;
17 global $savant;
18 global $contentManager;
19
20 ob_start();
21
22 echo '<div style="white-space:nowrap;">';
23
24 echo '<a href="'.$_base_path.'index.php">'._AT('home').'</a><br />';
25
26 /* @See classes/ContentManager.class.php        */
27 $contentManager->printMainMenu();
28
29 echo '</div>';
30
31 $savant->assign('dropdown_contents', ob_get_contents());
32 ob_end_clean();
33 $savant->assign('title', _AT('content_navigation'));
34 $savant->display('include/box.tmpl.php');
35 ?>