+++ /dev/null
-<?php\r
-/*******\r
- * doesn't allow this file to be loaded with a browser.\r
- */\r
-if (!defined('AT_INCLUDE_PATH')) { exit; }\r
-\r
-/******\r
- * this file must only be included within a Module obj\r
- */\r
-if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
-\r
-/*******\r
- * assign the instructor and admin privileges to the constants.\r
- */\r
-define('AT_PRIV_MAHARA', $this->getPrivilege());\r
-define('AT_ADMIN_PRIV_MAHARA', $this->getAdminPrivilege());\r
-\r
-\r
-/*******\r
- * if this module is to be made available to students on the Home or Main Navigation.\r
- */\r
-$_group_tool = $_student_tool = 'mods/mahara/index.php';\r
-\r
-\r
-\r
-/*******\r
- * add the admin pages when needed.\r
- */\r
-if (admin_authenticate(AT_ADMIN_PRIV_MAHARA, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
- $this->_pages[AT_NAV_ADMIN] = array('mods/mahara/index_admin.php');\r
- $this->_pages['mods/mahara/index_admin.php']['title_var'] = 'mahara';\r
- $this->_pages['mods/mahara/index_admin.php']['parent'] = AT_NAV_ADMIN;\r
-}\r
-\r
-/*******\r
- * instructor Manage section:\r
- */\r
-//$this->_pages['mods/mahara/index_instructor.php']['title_var'] = 'mahara';\r
-//$this->_pages['mods/mahara/index_instructor.php']['parent'] = 'tools/index.php';\r
-\r
-/*******\r
- * student page.\r
- */\r
-$this->_pages['mods/mahara/index.php']['title_var'] = 'mahara';\r
-$this->_pages['mods/mahara/index.php']['img'] = 'mods/mahara/mahara.gif';\r
-\r
-/* my start page pages */\r
-$this->_pages[AT_NAV_START] = array('mods/mahara/index.php');\r
-$this->_pages['mods/mahara/index.php']['title_var'] = 'mahara';\r
-$this->_pages['mods/mahara/index.php']['parent'] = AT_NAV_START;\r
-\r
-?>
\ No newline at end of file