4dad176222b55fc851f0a2ccafd8e919c10cbefc
[atutor.git] / mods / wiki / module.php
1 <?php\r
2 /*******\r
3  * doesn't allow this file to be loaded with a browser.\r
4  */\r
5 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
6 \r
7 /******\r
8  * this file must only be included within a ModuleProxy obj\r
9  */\r
10 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
11 \r
12 /*******\r
13  * assign the instructor and admin privileges to the constants.\r
14  */\r
15 define('AT_PRIV_EWIKI',       $this->getPrivilege());\r
16 define('AT_ADMIN_PRIV_EWIKI', $this->getAdminPrivilege());\r
17 \r
18 /*******\r
19  * if this module is to be made available to students on the Home or Main Navigation.\r
20  */\r
21 $_student_tool = 'mods/wiki/index.php';\r
22 \r
23 \r
24 /*******\r
25  * instructor Manage section:\r
26  */\r
27 $this->_pages['mods/wiki/index.php']['title_var'] = 'wiki';\r
28 $this->_pages['mods/wiki/index.php']['parent']   = 'tools/index.php';\r
29 $this->_pages['mods/wiki/index.php']['img']       = 'mods/wiki/tlogo.png';\r
30 \r
31 \r
32 ?>