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 
20 $modversion = array();
22 $modversion['description'] = _MI_SEARCH_DSC;
23 $modversion['version'] = 0.1;
24 $modversion['author'] = 'Trabis';
25 $modversion['nickname'] = 'trabis';
26 $modversion['credits'] = 'The XOOPS Project';
27 $modversion['license'] = 'GNU GPL 2.0';
28 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
29 $modversion['official'] = 1;
30 //$modversion['help'] = 'page=help';
31 $modversion['image'] = 'images/logo.png';
32 $modversion['dirname'] = 'search';
33 
34 //about
35 $modversion['release_date'] = '2012/11/25';
36 $modversion['module_website_url'] = 'http://www.xoops.org/';
37 $modversion['module_website_name'] = 'XOOPS';
38 $modversion['module_status'] = 'ALPHA 1';
39 $modversion['min_php'] = '5.3.7';
40 $modversion['min_xoops'] = '2.6.0';
41 
42 // paypal
43 $modversion['paypal'] = array(
44  'business' => 'xoopsfoundation@gmail.com',
45  'item_name' => '',
46  'amount' => 0,
47  'currency_code' => 'USD',
48 );
49 
50 // Admin menu
51 // Set to 1 if you want to display menu generated by system module
52 $modversion['system_menu'] = 1;
53 $modversion['onUpdate'] = 'include/update.php';
54 
55 /*
56  Manage extension
57  */
58 $modversion['extension'] = 0;
59 
60 // Admin things
61 $modversion['hasAdmin'] = 0;
62 
63 // Menu
64 $modversion['hasMain'] = 1;
65 
66 /*
67  Blocks
68 */
69 $modversion['blocks'] = array();
70 
71 $modversion['blocks'][] = array(
72  'file' => 'search_blocks.php',
73  'name' => _MI_SEARCH_BNAME1,
74  'description' => 'Shows search form block',
75  'show_func' => 'b_search_show',
76  'template' => 'block_search.tpl',
77 );
78 
79 // Preferences
80 $modversion['config'] = array();
81 
82 $modversion['config'][] = array(
83  'name' => 'enable_search',
84  'title' => '_MI_SEARCH_DOSEARCH',
85  'description' => '_MI_SEARCH_DOSEARCHDSC',
86  'formtype' => 'yesno',
87  'valuetype' => 'int',
88  'default' => 1,
89 );
90 
91 $modversion['config'][] = array(
92  'name' => 'keyword_min',
93  'title' => '_MI_SEARCH_MINSEARCH',
94  'description' => '_MI_SEARCH_MINSEARCHDSC',
95  'formtype' => 'textbox',
96  'valuetype' => 'int',
97  'default' => 3,
98 );
const _MI_SEARCH_DSC
Definition: modinfo.php:20
const _MI_SEARCH_NAME
Definition: modinfo.php:19
$modversion
const _MI_SEARCH_BNAME1
Definition: modinfo.php:27