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 
20 $modversion = array();
22 $modversion['description'] = _MI_THUMBS_DESC;
23 $modversion['version'] = 1.0;
24 $modversion['author'] = 'Xoops Core Development Team';
25 $modversion['nickname'] = 'geekwright <richard@geekwright.com>';
26 $modversion['credits'] = 'The XOOPS Project';
27 $modversion['license'] = 'GNU GPL 2.0';
28 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
29 $modversion['official'] = 1;
30 $modversion['help'] = 'page=help';
31 $modversion['image'] = 'images/logo.png';
32 $modversion['dirname'] = 'thumbs';
33 
34 //about
35 $modversion['release_date'] = '2014/07/28';
36 $modversion['module_website_url'] = 'http://www.xoops.org/';
37 $modversion['module_website_name'] = 'XOOPS';
38 $modversion['module_status'] = 'ALPHA 1';
39 $modversion['min_php'] = '5.3.7';
40 $modversion['min_xoops'] = '2.6.0';
41 
42 // paypal
43 $modversion['paypal'] = array(
44  'business' => 'xoopsfoundation@gmail.com',
45  'item_name' => _MI_THUMBS_DESC,
46  'amount' => 0,
47  'currency_code' => 'USD',
48 );
49 
50 // Manage extension
51 $modversion['extension'] = 1;
52 
53 // Admin menu
54 // Set to 1 if you want to display menu generated by system module
55 $modversion['system_menu'] = 1;
56 
57 // Admin things
58 $modversion['hasAdmin'] = true;
59 $modversion['adminindex'] = 'admin/index.php';
60 $modversion['adminmenu'] = 'admin/menu.php';
61 
62 // Menu
63 $modversion['hasMain'] = 0;
64 
65 // Blocks
66 //$modversion['blocks'] = array();
67 
68 // Preferences
69 $modversion['config'] = array();
70 
71 $modversion['config'][] = array(
72  'name' => 'thumbs_width',
73  'title' => '_MI_THUMBS_MAX_WIDTH',
74  'description' => '_MI_THUMBS_MAX_WIDTH_DESC',
75  'formtype' => 'textbox',
76  'valuetype' => 'int',
77  'default' => 128,
78 );
79 
80 $modversion['config'][] = array(
81  'name' => 'thumbs_height',
82  'title' => '_MI_THUMBS_MAX_HEIGHT',
83  'description' => '_MI_THUMBS_MAX_HEIGHT_DESC',
84  'formtype' => 'textbox',
85  'valuetype' => 'int',
86  'default' => 128,
87 );
const _MI_THUMBS_NAME
Definition: modinfo.php:19
const _MI_THUMBS_DESC
Definition: modinfo.php:20
$modversion