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 
23 $modversion = array();
26 $modversion['version'] = 0.1;
27 $modversion['author'] = 'JJD,Mage Gregory';
28 $modversion['nickname'] = 'JJDai,Mage';
29 $modversion['credits'] = 'The XOOPS Project';
30 $modversion['license'] = 'GNU GPL 2.0';
31 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
32 $modversion['official'] = 1;
33 $modversion['help'] = 'page=help';
34 $modversion['image'] = 'images/logo.png';
35 $modversion['dirname'] = 'mailusers';
36 //about
37 $modversion['release_date'] = '2012/01/20';
38 $modversion['module_website_url'] = 'http://www.xoops.org/';
39 $modversion['module_website_name'] = 'XOOPS';
40 $modversion['module_status'] = 'ALPHA';
41 $modversion['min_php'] = '5.3.7';
42 $modversion['min_xoops'] = '2.6.0';
43 
44 // paypal
45 $modversion['paypal'] = array();
46 $modversion['paypal']['business'] = 'xoopsfoundation@gmail.com';
47 $modversion['paypal']['item_name'] = 'Donation : ' . _MI_MAILUSERS_DESC;
48 $modversion['paypal']['amount'] = 0;
49 $modversion['paypal']['currency_code'] = 'USD';
50 
51 // Admin menu
52 // Set to 1 if you want to display menu generated by system module
53 $modversion['system_menu'] = 1;
54 
55 /*
56  Manage extension
57  */
58 $modversion['extension'] = 1;
59 $modversion['extension_module'][] = 'system';
60 
61 // Admin things
62 $modversion['hasAdmin'] = 1;
63 $modversion['adminindex'] = 'admin/index.php';
64 $modversion['adminmenu'] = 'admin/menu.php';
65 
66 // JQuery
67 $modversion['jquery'] = 1;
68 
69 // Preferences
70 
71 $i = 0;
72 $editors = XoopsLists::getDirListAsArray(\XoopsBaseConfig::get('root-path') . '/class/xoopseditor');
73 $modversion['config'][$i]['name'] = 'mailusers_editor';
74 $modversion['config'][$i]['title'] = '_AM_MAILUSERS_EDITOR';
75 $modversion['config'][$i]['description'] = '';
76 $modversion['config'][$i]['formtype'] = 'select';
77 $modversion['config'][$i]['valuetype'] = 'text';
78 $modversion['config'][$i]['default'] = 'dhtmltextarea';
79 $modversion['config'][$i]['options'] = $editors;
$editors
const _MI_MAILUSERS_NAME
Definition: modinfo.php:24
const _MI_MAILUSERS_DESC
Definition: modinfo.php:25
static get($name)
$modversion