+++ /dev/null
-<?php\r
-if (!defined('AT_INCLUDE_PATH')) { exit; }\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_CCNET', $this->getPrivilege());\r
-define('AT_ADMIN_PRIV_CCNET', $this->getAdminPrivilege());\r
-\r
-/*******\r
- * if this module is to be made available to students on the Home or Main Navigation.\r
- */\r
-$_student_tool = 'mods/ccnet/index.php';\r
-\r
-/*******\r
- * add the admin pages when needed.\r
- */\r
-if (admin_authenticate(AT_ADMIN_PRIV_CCNET, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
- $this->_pages[AT_NAV_ADMIN] = array('mods/ccnet/ccnet.php');\r
- $this->_pages['mods/ccnet/ccnet.php']['parent'] = AT_NAV_ADMIN;\r
- $this->_pages['mods/ccnet/ccnet.php']['title_var'] = 'ccnet';\r
-}\r
-\r
-/*******\r
- * instructor Manage section:\r
- */\r
-$this->_pages['mods/ccnet/index.php']['title_var'] = 'ccnet';\r
-$this->_pages['mods/ccnet/index.php']['parent'] = 'tools/index.php';\r
-\r
-\r
-/*******\r
- * student page.\r
- */\r
-$this->_pages['mods/ccnet/index.php']['title_var'] = 'ccnet';\r
-$this->_pages['mods/ccnet/index.php']['img'] = 'mods/ccnet/ccnet_logo.jpg';\r
-\r
-?>
\ No newline at end of file