XOOPS  2.6.0
xoops_version.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
22 $modversion = array();
24 $modversion['description'] = _MI_DEBUGBAR_DSC;
25 $modversion['version'] = 0.2;
26 $modversion['author'] = 'Richard Griffith';
27 $modversion['nickname'] = 'geekwright';
28 $modversion['credits'] = 'The XOOPS Project';
29 $modversion['license'] = 'GNU GPL 2.0';
30 $modversion['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html/';
31 $modversion['official'] = 1;
32 $modversion['help'] = 'page=help';
33 $modversion['image'] = 'images/logo.png';
34 $modversion['dirname'] = 'debugbar';
35 
36 //about
37 $modversion['release_date'] = '2013/09/05';
38 $modversion['module_website_url'] = 'http://www.xoops.org/';
39 $modversion['module_website_name'] = 'XOOPS';
40 $modversion['module_status'] = 'ALPHA 1';
41 $modversion['min_php'] = '5.3.7';
42 $modversion['min_xoops'] = '2.6.0';
43 
44 // paypal
45 $modversion['paypal'] = array(
46  'business' => 'xoopsfoundation@gmail.com',
47  'item_name' => 'debugbar',
48  'amount' => 0,
49  'currency_code' => 'USD',
50 );
51 
52 // Admin menu
53 // Set to 1 if you want to display menu generated by system module
54 $modversion['system_menu'] = 1;
55 
56 /*
57  Manage extension
58  */
59 $modversion['extension'] = 1;
60 $modversion['extension_module'][] = 'system';
61 
62 // Admin things
63 $modversion['hasAdmin'] = 1;
64 $modversion['adminindex'] = 'admin/index.php';
65 $modversion['adminmenu'] = 'admin/menu.php';
66 
67 // Menu
68 $modversion['hasMain'] = 0;
69 
70 // Module Administration
71 $modversion['onInstall'] = 'include/update.php';
72 $modversion['onUpdate'] = 'include/update.php';
73 
74 // Preferences
75 $modversion['config'][] = array(
76  'name' => 'debugbar_enable',
77  'title' => '_MI_DEBUGBAR_ENABLE',
78  'description' => '',
79  'formtype' => 'yesno',
80  'valuetype' => 'int',
81  'default' => 1, // default to on, only admins will have instant access
82 );
83 
84 $modversion['config'][] = array(
85  'name' => 'debug_smarty_enable',
86  'title' => '_MI_DEBUGBAR_SMARTYDEBUG',
87  'description' => '',
88  'formtype' => 'yesno',
89  'valuetype' => 'int',
90  'default' => 0, // default to off
91 );
const _MI_DEBUGBAR_DSC
Definition: modinfo.php:20
$modversion
const _MI_DEBUGBAR_NAME
Definition: modinfo.php:19