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  */
26 $modversion = array();
28 $modversion['description'] = _MI_SMILIES_DESC;
29 $modversion['version'] = 0.1;
30 $modversion['author'] = 'Xoops Core Development Team';
31 $modversion['nickname'] = 'Mage - Laurent JEN (aka dugris)';
32 $modversion['credits'] = 'The XOOPS Project';
33 $modversion['license'] = 'GNU GPL 2.0';
34 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
35 $modversion['official'] = 1;
36 $modversion['help'] = 'page=help';
37 $modversion['image'] = 'images/logo.png';
38 $modversion['dirname'] = 'smilies';
39 
40 // Settings for configs
41 $modversion['release_date'] = '2011/12/20';
42 $modversion['module_website_url'] = 'http://www.xoops.org/';
43 $modversion['module_website_name'] = 'XOOPS';
44 $modversion['module_status'] = 'ALPHA';
45 $modversion['min_php'] = '5.3.7';
46 $modversion['min_xoops'] = '2.6.0';
47 
48 // paypal
49 $modversion['paypal'] = array(
50  'business' => 'xoopsfoundation@gmail.com',
51  'item_name' => 'Donation : ' . _MI_SMILIES_DESC,
52  'amount' => 0,
53  'currency_code' => 'USD',
54 );
55 
56 // Admin menu
57 $modversion['system_menu'] = 1;
58 
59 // Manage extension
60 $modversion['extension'] = 1;
61 $modversion['extension_module'][] = 'system';
62 
63 // Admin things
64 $modversion['hasAdmin'] = 1;
65 $modversion['adminindex'] = 'admin/index.php';
66 $modversion['adminmenu'] = 'admin/menu.php';
67 
68 // Scripts to run upon installation or update
69 $modversion['onInstall'] = 'include/install.php';
70 
71 // sql
72 $modversion['schema'] = 'sql/schema.yml';
73 $modversion['sqlfile']['mysql'] = 'sql/mysql.' . Xoops::getInstance()->getConfig('language') . '.sql';
74 
75 // Tables created by sql file (without prefix!)
76 $modversion['tables'] = array(
77  'smilies',
78 );
79 
80 // JQuery
81 $modversion['jquery'] = 1;
82 
83 // Preferences
84 $modversion['config'][] = array(
85  'name' => 'smilies_pager',
86  'title' => '_MI_SMILIES_PREFERENCE_PAGER',
87  'description' => '',
88  'formtype' => 'textbox',
89  'valuetype' => 'int',
90  'default' => 20,
91 );
const _MI_SMILIES_NAME
Definition: modinfo.php:23
static getInstance()
Definition: Xoops.php:160
$modversion
const _MI_SMILIES_DESC
Definition: modinfo.php:24