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 
21 $modversion = array();
23 $modversion['description'] = _MI_MENUS_DSC;
24 $modversion['version'] = 0.1;
25 $modversion['author'] = 'Trabis';
26 $modversion['nickname'] = 'trabis';
27 $modversion['credits'] = 'The XOOPS Project';
28 $modversion['license'] = 'GNU GPL 2.0';
29 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
30 $modversion['official'] = 1;
31 $modversion['help'] = 'page=help';
32 $modversion['image'] = 'images/logo.png';
33 $modversion['dirname'] = 'menus';
34 
35 //about
36 $modversion['release_date'] = '2012/12/25';
37 $modversion['module_website_url'] = 'http://www.xoops.org/';
38 $modversion['module_website_name'] = 'XOOPS';
39 $modversion['module_status'] = 'ALPHA 1';
40 $modversion['min_php'] = '5.3.7';
41 $modversion['min_xoops'] = '2.6.0';
42 
43 // paypal
44 $modversion['paypal'] = array();
45 $modversion['paypal']['business'] = 'xoopsfoundation@gmail.com';
46 $modversion['paypal']['item_name'] = '';
47 $modversion['paypal']['amount'] = 0;
48 $modversion['paypal']['currency_code'] = 'USD';
49 
50 /*
51  Manage extension
52  */
53 $modversion['extension'] = 1;
54 $modversion['extension_module'][] = 'system';
55 
56 // Admin things
57 $modversion['hasAdmin'] = 1;
58 $modversion['system_menu'] = 1;
59 $modversion['adminindex'] = 'admin/index.php';
60 $modversion['adminmenu'] = 'admin/menu.php';
61 
62 
63 // Menu
64 $modversion['hasMain'] = 0;
65 
66 // Search
67 $modversion['hasSearch'] = 0;
68 
69 // Comments
70 $modversion['hasComments'] = 0;
71 
72 // Sql
73 $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
74 $i = 0;
75 $modversion['tables'][$i] = "menus_menu";
76 ++$i;
77 $modversion['tables'][$i] = "menus_menus";
78 
79 // Config
80 $i = 0;
81 ++$i;
82 $modversion['config'][$i]['name'] = 'assign_method';
83 $modversion['config'][$i]['title'] = '_MI_MENUS_CONF_ASSIGN_METHOD';
84 $modversion['config'][$i]['description'] = '_MI_MENUS_CONF_ASSIGN_METHOD_DSC';
85 $modversion['config'][$i]['formtype'] = 'select';
86 $modversion['config'][$i]['valuetype'] = 'text';
87 $modversion['config'][$i]['default'] = 'xotheme';
88 $modversion['config'][$i]['options'] = array(
91 );
92 
93 // Blocks
94 $i = 0;
95 ++$i;
96 $modversion['blocks'][$i]['file'] = "menus_block.php";
97 $modversion['blocks'][$i]['name'] = _MI_MENUS_BLK1;
98 $modversion['blocks'][$i]['description'] = _MI_MENUS_BLK1_DSC;
99 $modversion['blocks'][$i]['show_func'] = "menus_block_show";
100 $modversion['blocks'][$i]['edit_func'] = "menus_block_edit";
101 $modversion['blocks'][$i]['options'] = "0|default|0|block|0";
102 $modversion['blocks'][$i]['template'] = "menus_block.tpl";
103 
104 ++$i;
105 $modversion['blocks'][$i]['file'] = 'menus_block.php';
106 $modversion['blocks'][$i]['name'] = _MI_MENUS_BLK2;
107 $modversion['blocks'][$i]['description'] = _MI_MENUS_BLK2_DSC;
108 $modversion['blocks'][$i]['show_func'] = 'menus_mainmenu_show';
109 $modversion['blocks'][$i]['template'] = 'menus_block.tpl';
$modversion