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 
19 $modversion = array();
21 $modversion['description'] = _MI_QRCODE_DSC;
22 $modversion['version'] = 0.1;
23 $modversion['author'] = 'Xoops Core Development Team';
24 $modversion['nickname'] = 'Laurent JEN (aka DuGris)';
25 $modversion['credits'] = 'The XOOPS Project';
26 $modversion['license'] = 'GNU GPL 2.0';
27 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
28 $modversion['official'] = 1;
29 $modversion['help'] = 'page=help';
30 $modversion['image'] = 'images/logo.png';
31 $modversion['dirname'] = 'qrcode';
32 
33 //about
34 $modversion['release_date'] = '2012/11/25';
35 $modversion['module_website_url'] = 'http://www.xoops.org/';
36 $modversion['module_website_name'] = 'XOOPS';
37 $modversion['module_status'] = 'ALPHA 1';
38 $modversion['min_php'] = '5.3.7';
39 $modversion['min_xoops'] = '2.6.0';
40 
41 // paypal
42 $modversion['paypal'] = array(
43  'business' => 'xoopsfoundation@gmail.com',
44  'item_name' => _MI_QRCODE_DSC,
45  'amount' => 0,
46  'currency_code' => 'USD',
47 );
48 
49 // Manage extension
50 $modversion['extension'] = 1;
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 // Admin things
57 $modversion['hasAdmin'] = true;
58 $modversion['adminindex'] = 'admin/index.php';
59 $modversion['adminmenu'] = 'admin/menu.php';
60 
61 // Menu
62 $modversion['hasMain'] = 0;
63 
64 // Blocks
65 //$modversion['blocks'] = array();
66 
67 // Preferences
68 $modversion['config'] = array();
69 
70 $modversion['config'][] = array(
71  'name' => 'qrcode_ecl',
72  'title' => '_MI_QRCODE_ECL',
73  'description' => '_MI_QRCODE_ECLDSC',
74  'formtype' => 'select',
75  'valuetype' => 'text',
76  'options' => array(
77  '_MI_QRCODE_ECL_L' => 'L',
78  '_MI_QRCODE_ECL_M' => 'M',
79  '_MI_QRCODE_ECL_Q' => 'Q',
80  '_MI_QRCODE_ECL_H' => 'H'
81  ),
82  'default' => 'L',
83 );
84 
85 $modversion['config'][] = array(
86  'name' => 'qrcode_mps',
87  'title' => '_MI_QRCODE_MPS',
88  'description' => '_MI_QRCODE_MPSDSC',
89  'formtype' => 'textbox',
90  'valuetype' => 'int',
91  'default' => 4,
92 );
93 
94 $modversion['config'][] = array(
95  'name' => 'qrcode_margin',
96  'title' => '_MI_QRCODE_MARGIN',
97  'description' => '_MI_QRCODE_MARGINDSC',
98  'formtype' => 'textbox',
99  'valuetype' => 'int',
100  'default' => 4,
101 );
102 
103 $modversion['config'][] = array(
104  'name' => 'qrcode_bgcolor',
105  'title' => '_MI_QRCODE_BGCOLOR',
106  'description' => '_MI_QRCODE_BGCOLORDSC',
107  'formtype' => 'color',
108  'valuetype' => 'text',
109  'default' => '#FFFFFF',
110 );
111 
112 $modversion['config'][] = array(
113  'name' => 'qrcode_fgcolor',
114  'title' => '_MI_QRCODE_FGCOLOR',
115  'description' => '_MI_QRCODE_FGCOLORDSC',
116  'formtype' => 'color',
117  'valuetype' => 'text',
118  'default' => '#000000',
119 );
$modversion
const _MI_QRCODE_NAME
Definition: modinfo.php:18
const _MI_QRCODE_DSC
Definition: modinfo.php:19