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();
25 $modversion['version'] = 0.1;
26 $modversion['author'] = 'Andricq Nicolas,Mage Gregory';
27 $modversion['nickname'] = 'MusS,Mage';
28 $modversion['credits'] = 'The XOOPS Project';
29 $modversion['license'] = 'GNU GPL 2.0';
30 $modversion['license_url'] = 'http://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'] = 'avatars';
35 //about
36 $modversion['release_date'] = '2012/01/15';
37 $modversion['module_website_url'] = 'http://www.xoops.org/';
38 $modversion['module_website_name'] = 'XOOPS';
39 $modversion['module_status'] = 'ALPHA';
40 $modversion['min_php'] = '5.3.7';
41 $modversion['min_xoops'] = '2.6.0';
42 
43 // paypal
44 $modversion['paypal'] = array(
45  'business' => 'xoopsfoundation@gmail.com',
46  'item_name' => 'Donation : ' . AvatarsLocale::MODULE_DESC,
47  'amount' => 0,
48  'currency_code' => 'USD',
49 );
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 // Scripts to run upon installation or update
67 $modversion['onInstall'] = 'include/install.php';
68 
69 // Table definitions
70 $modversion['schema'] = 'sql/schema.yml';
71 $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
72 
73 // Tables created by sql file or schema (without prefix!)
74 $modversion['tables'] = array(
75  'avatars_avatar',
76  'avatars_user_link',
77 );
78 
79 // JQuery
80 $modversion['jquery'] = 1;
81 
82 // Preferences
83 $modversion['config'][] = array(
84  'name' => 'avatars_allowupload',
85  'title' => 'CONF_ALLOWUPLOAD',
86  'description' => '',
87  'formtype' => 'yesno',
88  'valuetype' => 'int',
89  'default' => 0,
90 );
91 
92 $modversion['config'][] = array(
93  'name' => 'avatars_postsrequired',
94  'title' => 'CONF_POSTSREQUIRED',
95  'description' => 'CONF_POSTSREQUIREDDSC',
96  'formtype' => 'textbox',
97  'valuetype' => 'int',
98  'default' => 0,
99 );
100 
101 $modversion['config'][] = array(
102  'name' => 'avatars_imagewidth',
103  'title' => 'CONF_IMAGEWIDTH',
104  'description' => '',
105  'formtype' => 'textbox',
106  'valuetype' => 'int',
107  'default' => 128,
108 );
109 
110 $modversion['config'][] = array(
111  'name' => 'avatars_imageheight',
112  'title' => 'CONF_IMAGEHEIGHT',
113  'description' => '',
114  'formtype' => 'textbox',
115  'valuetype' => 'int',
116  'default' => 128,
117 );
118 
119 $modversion['config'][] = array(
120  'name' => 'avatars_imagefilesize',
121  'title' => 'CONF_IMAGEFILESIZE',
122  'description' => '',
123  'formtype' => 'textbox',
124  'valuetype' => 'int',
125  'default' => 35000,
126 );
127 
128 $modversion['config'][] = array(
129  'name' => 'avatars_pager',
130  'title' => 'CONF_PAGER',
131  'description' => '',
132  'formtype' => 'textbox',
133  'valuetype' => 'int',
134  'default' => 20,
135 );
const MODULE_NAME
Definition: en_US.php:41
const MODULE_DESC
Definition: en_US.php:40
$modversion