remove old readme
[atutor.git] / docs / mods / _core / glossary / module.php
1 <?php\r
2 /************************************************************************/\r
3 /* ATutor                                                                                                                               */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2002-2010                                              */\r
6 /* Inclusive Design Institute                                           */\r
7 /* http://atutor.ca                                                                                                             */\r
8 /*                                                                                                                                              */\r
9 /* This program is free software. You can redistribute it and/or        */\r
10 /* modify it under the terms of the GNU General Public License          */\r
11 /* as published by the Free Software Foundation.                        */\r
12 /************************************************************************/\r
13 \r
14 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
15 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
16 \r
17 define('AT_PRIV_GLOSSARY', $this->getPrivilege());\r
18 \r
19 //side menu\r
20 $this->_stacks['glossary'] = array('title_var'=>'glossary', 'file'=>AT_INCLUDE_PATH.'../mods/_core/glossary/dropdown/glossary.inc.php');\r
21 \r
22 // modules sub-content\r
23 $this->_list['glossary'] = array('title_var'=>'glossary','file'=>'mods/_core/glossary/sublinks.php');\r
24 \r
25 // if this module is to be made available to students on the Home or Main Navigation\r
26 $_student_tool = 'mods/_core/glossary/index.php';\r
27 \r
28 $this->_pages['mods/_core/glossary/tools/index.php']['title_var'] = 'glossary';\r
29 $this->_pages['mods/_core/glossary/tools/index.php']['parent']    = 'tools/index.php';\r
30 $this->_pages['mods/_core/glossary/tools/index.php']['children']  = array('mods/_core/glossary/tools/add.php');\r
31 $this->_pages['mods/_core/glossary/tools/index.php']['avail_in_mobile']   = false;\r
32 \r
33         $this->_pages['mods/_core/glossary/tools/add.php']['title_var']  = 'add_glossary';\r
34         $this->_pages['mods/_core/glossary/tools/add.php']['parent'] = 'mods/_core/glossary/tools/index.php';\r
35 \r
36         $this->_pages['mods/_core/glossary/tools/edit.php']['title_var']  = 'edit_glossary';\r
37         $this->_pages['mods/_core/glossary/tools/edit.php']['parent'] = 'mods/_core/glossary/tools/index.php';\r
38 \r
39         $this->_pages['mods/_core/glossary/tools/delete.php']['title_var']  = 'delete_glossary';\r
40         $this->_pages['mods/_core/glossary/tools/delete.php']['parent'] = 'mods/_core/glossary/tools/index.php';\r
41 \r
42 //student pages\r
43 $this->_pages['mods/_core/glossary/index.php']['title_var'] = 'glossary';\r
44 $this->_pages['mods/_core/glossary/index.php']['img']       = 'images/home-glossary.png';\r
45 $this->_pages['mods/_core/glossary/index.php']['icon']      = 'images/home-glossary_sm.png';\r
46 \r
47 ?>