+++ /dev/null
-<?php\r
-/*\r
-This file defines privileges, and where the modules will be linked into ATutor, as tabs, tool icons, or side menu blocks.\r
-\r
-*/\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_CMAP', $this->getPrivilege());\r
-define('AT_ADMIN_PRIV_CMAP', $this->getAdminPrivilege());\r
-define('AT_CMAP_WSDL', 'http://greg-pc.atrc.utoronto.ca::8080/services/CmapWebService');\r
-\r
-/*******\r
- * create a side menu box/stack.\r
- */\r
-//$this->_stacks['cmap'] = array('title_var'=>'cmap', 'file'=>'mods/cmap/side_menu.inc.php');\r
-// ** possible alternative: **\r
-// $this->addStack('cmap', array('title_var' => 'cmap', 'file' => './side_menu.inc.php');\r
-\r
-/*******\r
- * if this module is to be made available to students on the Home or Main Navigation.\r
- */\r
-$_student_tool = 'mods/cmap/index.php';\r
-// ** possible alternative: **\r
-// $this->addTool('./index.php');\r
-\r
-/*******\r
- * add the admin pages when needed.\r
- */\r
-if (admin_authenticate(AT_ADMIN_PRIV_CMAP, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
- $this->_pages[AT_NAV_ADMIN] = array('mods/cmap/index_admin.php');\r
- $this->_pages['mods/cmap/index_admin.php']['title_var'] = 'cmap';\r
- $this->_pages['mods/cmap/index_admin.php']['parent'] = AT_NAV_ADMIN;\r
-}\r
-\r
-/*******\r
- * instructor Manage section:\r
- */\r
-$this->_pages['mods/cmap/index_instructor.php']['title_var'] = 'cmap';\r
-$this->_pages['mods/cmap/index_instructor.php']['parent'] = 'tools/index.php';\r
-// ** possible alternative: **\r
-// $this->pages['./index_instructor.php']['title_var'] = 'cmap';\r
-// $this->pages['./index_instructor.php']['parent'] = 'tools/index.php';\r
-\r
-/*******\r
- * student page.\r
- */\r
-$this->_pages['mods/cmap/index.php']['title_var'] = 'cmap';\r
-$this->_pages['mods/cmap/index.php']['img'] = 'mods/cmap/cmap_logo.jpg';\r
-\r
-\r
-/* public pages */\r
-// $this->_pages[AT_NAV_PUBLIC] = array('mods/cmap/index_public.php');\r
-// $this->_pages['mods/cmap/index_public.php']['title_var'] = 'cmap';\r
-// $this->_pages['mods/cmap/index_public.php']['parent'] = 'login.php';\r
-// $this->_pages['login.php']['children'] = array('mods/cmap/index_public.php');\r
-\r
-/* my start page pages */\r
-// $this->_pages[AT_NAV_START] = array('mods/cmap/index_mystart.php');\r
-// $this->_pages['mods/cmap/index_mystart.php']['title_var'] = 'cmap';\r
-// $this->_pages['mods/cmap/index_mystart.php']['parent'] = 'users/index.php';\r
-// $this->_pages['users/index.php']['children'] = array('mods/cmap/index_mystart.php');\r
-?>
\ No newline at end of file