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 // General settings
23 $modversion = array();
25 $modversion['description'] = _MI_IMAGES_DESC;
26 $modversion['version'] = 0.1;
27 $modversion['author'] = 'Xoops Core Development Team';
28 $modversion['nickname'] = 'Mage - MusS - Laurent JEN (aka DuGris)';
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'] = 'images';
36 
37 // Settings for configs
38 $modversion['release_date'] = '2012/01/15';
39 $modversion['module_website_url'] = 'http://www.xoops.org/';
40 $modversion['module_website_name'] = 'XOOPS';
41 $modversion['module_status'] = 'ALPHA';
42 $modversion['min_php'] = '5.3.7';
43 $modversion['min_xoops'] = '2.6.0';
44 
45 // paypal
46 $modversion['paypal'] = array();
47 $modversion['paypal']['business'] = 'xoopsfoundation@gmail.com';
48 $modversion['paypal']['item_name'] = 'Donation : ' . _MI_IMAGES_DESC;
49 $modversion['paypal']['amount'] = 0;
50 $modversion['paypal']['currency_code'] = 'USD';
51 
52 // Admin menu
53 $modversion['system_menu'] = 1;
54 
55 // Manage extension
56 $modversion['extension'] = 1;
57 $modversion['extension_module'][] = 'system';
58 
59 // Admin things
60 $modversion['hasAdmin'] = 1;
61 $modversion['adminindex'] = 'admin/index.php';
62 $modversion['adminmenu'] = 'admin/menu.php';
63 
64 // Table definitions
65 $modversion['schema'] = 'sql/schema.yml';
66 $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
67 
68 // Tables created by sql file (without prefix!)
69 $modversion['tables'] = array(
70  'image',
71  'imagebody',
72  'imagecategory',
73 );
74 
75 // JQuery
76 $modversion['jquery'] = 1;
77 
78 
79 $modversion['config'][] = array(
80  'name' => 'images_pager',
81  'title' => '_MI_IMAGES_PAGER',
82  'description' => '',
83  'formtype' => 'textbox',
84  'valuetype' => 'int',
85  'default' => 15,
86 );
87 /*
88 $modversion['config'][] = array(
89  'name' => 'categories_pager',
90  'title' => '_MI_CATEGORIES_PAGER',
91  'description' => '',
92  'formtype' => 'textbox',
93  'valuetype' => 'int',
94  'default' => 15,
95 );
96 */
const _MI_IMAGES_NAME
Definition: modinfo.php:22
const _MI_IMAGES_DESC
Definition: modinfo.php:23
$modversion