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 
19 $modversion = array();
22 $modversion['version'] = 0.1;
23 $modversion['author'] = 'Trabis';
24 $modversion['nickname'] = 'trabis';
25 $modversion['credits'] = 'The XOOPS Project';
26 $modversion['license'] = 'GNU GPL 2.0';
27 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
28 $modversion['official'] = 1;
29 //$modversion['help'] = 'page=help';
30 $modversion['image'] = 'images/logo.png';
31 $modversion['dirname'] = 'notifications';
32 
33 //about
34 $modversion['release_date'] = '2012/11/25';
35 $modversion['module_website_url'] = 'http://www.xoops.org/';
36 $modversion['module_website_name'] = 'XOOPS';
37 $modversion['module_status'] = 'ALPHA 1';
38 $modversion['min_php'] = '5.3.7';
39 $modversion['min_xoops'] = '2.6.0';
40 
41 // paypal
42 $modversion['paypal'] = array(
43  'business' => 'xoopsfoundation@gmail.com',
44  'item_name' => '',
45  'amount' => 0,
46  'currency_code' => 'USD',
47 );
48 
49 // Admin menu
50 // Set to 1 if you want to display menu generated by system module
51 $modversion['system_menu'] = 1;
52 $modversion['onInstall'] = 'include/install.php';
53 $modversion['onUninstall'] = 'include/install.php';
54 
55 // Admin things
56 $modversion['hasAdmin'] = 0;
57 
58 // Manage extension
59 $modversion['extension'] = 1;
60 $modversion['extension_module'][] = 'system';
61 
62 // table definitions
63 $modversion['schema'] = 'sql/schema.yml';
64 $modversion['sqlfile']['mysql'] = 'sql/mysql.sql';
65 
66 // Tables created by sql file or schema (without prefix!)
67 $modversion['tables'] = array(
68  'notifications',
69 );
70 
71 /*
72  Blocks
73 */
74 $modversion['blocks'] = array();
75 $modversion['blocks'][] = array(
76  'file' => 'notifications_blocks.php',
77  'name' => _MI_NOTIFICATIONS_BNAME1,
78  'description' => _MI_NOTIFICATIONS_BNAME1_DSC,
79  'show_func' => 'b_notifications_show',
80  'template' => 'block_notifications.tpl',
81 );
const _MI_NOTIFICATIONS_DSC
Definition: modinfo.php:20
const _MI_NOTIFICATIONS_NAME
Definition: modinfo.php:19
$modversion
const _MI_NOTIFICATIONS_BNAME1_DSC
Definition: modinfo.php:23
const _MI_NOTIFICATIONS_BNAME1
Definition: modinfo.php:22