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 /*
24  General settings
25  */
27 $modversion['description'] = _MI_USERRANK_DESC;
28 $modversion['version'] = 0.1;
29 $modversion['author'] = 'Cointin Maxime,Andricq Nicolas';
30 $modversion['nickname'] = 'Kraven30,MusS';
31 $modversion['credits'] = 'The XOOPS Project';
32 $modversion['license'] = 'GNU GPL 2.0';
33 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
34 $modversion['official'] = 1;
35 $modversion['help'] = 'page=help';
36 $modversion['image'] = 'images/logo.png';
37 $modversion['dirname'] = 'userrank';
38 
39 /*
40  Settings for configs
41 */
42 $modversion['release_date'] = '2011/12/20';
43 $modversion['module_website_url'] = 'http://www.xoops.org/';
44 $modversion['module_website_name'] = 'XOOPS';
45 $modversion['module_status'] = 'ALPHA';
46 $modversion['min_php'] = '5.3.7';
47 $modversion['min_xoops'] = '2.6.0';
48 $modversion['onInstall'] = 'include/install.php';
49 
50 // paypal
51 $modversion['paypal'] = array();
52 $modversion['paypal']['business'] = 'xoopsfoundation@gmail.com';
53 $modversion['paypal']['item_name'] = 'Donation : ' . _MI_USERRANK_DESC;
54 $modversion['paypal']['amount'] = 0;
55 $modversion['paypal']['currency_code'] = 'USD';
56 
57 /*
58  Admin menu
59  Set to 1 if you want to display menu generated by system module
60 */
61 $modversion['system_menu'] = 1;
62 
63 /*
64  Manage plugin
65  */
66 $modversion['extension'] = 1;
67 $modversion['extension_module'][] = 'system';
68 
69 /*
70  Admin things
71 */
72 $modversion['hasAdmin'] = 1;
73 $modversion['adminindex'] = 'admin/index.php';
74 $modversion['adminmenu'] = 'admin/menu.php';
75 
76 // Mysql file
77 $modversion['schema'] = 'sql/schema.yml';
78 $modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
79 
80 // Tables created by sql file (without prefix!)
81 $modversion['tables'] = array(
82  'ranks',
83 );
84 
85 /*
86  Admin Templates
87 */
88 $modversion['templates'][] = array(
89  'file' => 'userrank.tpl',
90  'description' => '',
91  'type' => 'admin'
92 );
93 
94 /*
95  Preferences
96 */
97 $modversion['config'][] = array(
98  'name' => 'userrank_pager',
99  'title' => '_MI_USERRANK_PREFERENCE_PAGER',
100  'description' => '',
101  'formtype' => 'textbox',
102  'valuetype' => 'int',
103  'default' => 20,
104 );
const _MI_USERRANK_NAME
Definition: modinfo.php:23
const _MI_USERRANK_DESC
Definition: modinfo.php:24
$modversion