(no commit message)
[atutor.git] / mods / _core / modules / module.php
1 <?php\r
2 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
3 \r
4 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
5 \r
6 define('AT_ADMIN_PRIV_MODULES', $this->getAdminPrivilege());\r
7 \r
8 //admin pages\r
9 //if (admin_authenticate(AT_ADMIN_PRIV_RSS, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
10 \r
11            $this->_pages['mods/_core/modules/index.php']['title_var'] = 'modules';\r
12             $this->_pages['mods/_core/modules/index.php']['parent']    = AT_NAV_ADMIN;\r
13             $this->_pages['mods/_core/modules/index.php']['guide']     = 'admin/?p=modules.php';\r
14             $this->_pages['mods/_core/modules/index.php']['children']  = array('mods/_core/modules/install_modules.php');\r
15 \r
16             $this->_pages['mods/_core/modules/details.php']['title_var'] = 'details';\r
17             $this->_pages['mods/_core/modules/details.php']['parent']    = 'mods/_core/modules/index.php';\r
18 \r
19             $this->_pages['mods/_core/modules/module_uninstall_step_1.php']['title_var'] = 'module_uninstall';\r
20             $this->_pages['mods/_core/modules/module_uninstall_step_1.php']['parent']    = 'mods/_core/modules/index.php';\r
21 \r
22             $this->_pages['mods/_core/modules/module_uninstall_step_2.php']['title_var'] = 'module_uninstall';\r
23             $this->_pages['mods/_core/modules/module_uninstall_step_2.php']['parent']    = 'mods/_core/modules/index.php';\r
24 \r
25             $this->_pages['mods/_core/modules/module_uninstall_step_3.php']['title_var'] = 'module_uninstall';\r
26             $this->_pages['mods/_core/modules/module_uninstall_step_3.php']['parent']    = 'mods/_core/modules/index.php';\r
27 \r
28             $this->_pages['mods/_core/modules/install_modules.php']['title_var'] = 'install_modules';\r
29             $this->_pages['mods/_core/modules/install_modules.php']['parent']    = 'mods/_core/modules/index.php';\r
30             $this->_pages['mods/_core/modules/install_modules.php']['guide']     = 'admin/?p=modules.php';\r
31 \r
32             $this->_pages['mods/_core/modules/version_history.php']['title_var'] = 'version_history';\r
33             $this->_pages['mods/_core/modules/version_history.php']['parent']    = 'mods/_core/modules/install_modules.php';\r
34 \r
35             $this->_pages['mods/_core/modules/module_install_step_1.php']['title_var'] = 'details';\r
36             $this->_pages['mods/_core/modules/module_install_step_1.php']['parent']    = 'mods/_core/modules/install_modules.php';\r
37 \r
38             $this->_pages['mods/_core/modules/module_install_step_2.php']['title_var'] = 'details';\r
39             $this->_pages['mods/_core/modules/module_install_step_2.php']['parent']    = 'mods/_core/modules/install_modules.php';\r
40 \r
41             $this->_pages['mods/_core/modules/module_install_step_3.php']['title_var'] = 'details';\r
42             $this->_pages['mods/_core/modules/module_install_step_3.php']['parent']    = 'mods/_core/modules/install_modules.php';\r
43 \r
44             $this->_pages['mods/_core/modules/confirm.php']['title_var'] = 'confirm';\r
45             $this->_pages['mods/_core/modules/confirm.php']['parent']    = 'mods/_core/modules/add_new.php';\r
46 //}\r
47 \r
48 ?>