2 if (!defined('AT_INCLUDE_PATH')) { exit; }
\r
4 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }
\r
6 define('AT_ADMIN_PRIV_MODULES', $this->getAdminPrivilege());
\r
9 if (admin_authenticate(AT_ADMIN_PRIV_MODULES, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {
\r
10 $this->_pages[AT_NAV_ADMIN] = array('mods/_core/modules/index.php');
\r
11 $this->_pages['mods/_core/modules/index.php']['parent'] = AT_NAV_ADMIN;
\r
13 $this->_pages['mods/_core/modules/index.php']['title_var'] = 'modules';
\r
14 $this->_pages['mods/_core/modules/index.php']['guide'] = 'admin/?p=modules.php';
\r
15 $this->_pages['mods/_core/modules/index.php']['children'] = array('mods/_core/modules/install_modules.php');
\r
17 $this->_pages['mods/_core/modules/details.php']['title_var'] = 'details';
\r
18 $this->_pages['mods/_core/modules/details.php']['parent'] = 'mods/_core/modules/index.php';
\r
20 $this->_pages['mods/_core/modules/module_uninstall_step_1.php']['title_var'] = 'module_uninstall';
\r
21 $this->_pages['mods/_core/modules/module_uninstall_step_1.php']['parent'] = 'mods/_core/modules/index.php';
\r
22 $this->_pages['mods/_core/modules/module_uninstall_step_1.php']['avail_in_mobile'] = false;
\r
24 $this->_pages['mods/_core/modules/module_uninstall_step_2.php']['title_var'] = 'module_uninstall';
\r
25 $this->_pages['mods/_core/modules/module_uninstall_step_2.php']['parent'] = 'mods/_core/modules/index.php';
\r
26 $this->_pages['mods/_core/modules/module_uninstall_step_2.php']['avail_in_mobile'] = false;
\r
28 $this->_pages['mods/_core/modules/module_uninstall_step_3.php']['title_var'] = 'module_uninstall';
\r
29 $this->_pages['mods/_core/modules/module_uninstall_step_3.php']['parent'] = 'mods/_core/modules/index.php';
\r
30 $this->_pages['mods/_core/modules/module_uninstall_step_3.php']['avail_in_mobile'] = false;
\r
32 $this->_pages['mods/_core/modules/install_modules.php']['title_var'] = 'install_modules';
\r
33 $this->_pages['mods/_core/modules/install_modules.php']['parent'] = 'mods/_core/modules/index.php';
\r
34 $this->_pages['mods/_core/modules/install_modules.php']['guide'] = 'admin/?p=modules.php';
\r
35 $this->_pages['mods/_core/modules/install_modules.php']['avail_in_mobile'] = false;
\r
37 $this->_pages['mods/_core/modules/version_history.php']['title_var'] = 'version_history';
\r
38 $this->_pages['mods/_core/modules/version_history.php']['parent'] = 'mods/_core/modules/install_modules.php';
\r
40 $this->_pages['mods/_core/modules/module_install_step_1.php']['title_var'] = 'details';
\r
41 $this->_pages['mods/_core/modules/module_install_step_1.php']['parent'] = 'mods/_core/modules/install_modules.php';
\r
43 $this->_pages['mods/_core/modules/module_install_step_2.php']['title_var'] = 'details';
\r
44 $this->_pages['mods/_core/modules/module_install_step_2.php']['parent'] = 'mods/_core/modules/install_modules.php';
\r
46 $this->_pages['mods/_core/modules/module_install_step_3.php']['title_var'] = 'details';
\r
47 $this->_pages['mods/_core/modules/module_install_step_3.php']['parent'] = 'mods/_core/modules/install_modules.php';
\r
49 $this->_pages['mods/_core/modules/confirm.php']['title_var'] = 'confirm';
\r
50 $this->_pages['mods/_core/modules/confirm.php']['parent'] = 'mods/_core/modules/add_new.php';
\r