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 $modversion = array();
25 $modversion['version'] = 0.1;
26 $modversion['author'] = 'Richard Griffith';
27 $modversion['nickname'] = 'geekwright';
28 $modversion['credits'] = 'The XOOPS Project';
29 $modversion['license'] = 'GNU GPL 2.0';
30 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
31 $modversion['official'] = 1;
32 $modversion['help'] = 'page=help';
33 $modversion['image'] = 'images/logo.png';
34 $modversion['dirname'] = 'gravatars';
35 //about
36 $modversion['release_date'] = '2013/09/26';
37 $modversion['module_website_url'] = 'http://www.xoops.org/';
38 $modversion['module_website_name'] = 'XOOPS';
39 $modversion['module_status'] = 'ALPHA';
40 $modversion['min_php'] = '5.3.7';
41 $modversion['min_xoops'] = '2.6.0';
42 
43 // paypal
44 $modversion['paypal'] = array(
45  'business' => 'xoopsfoundation@gmail.com',
46  'item_name' => 'Donation : ' . _MI_GRAVATARS_NAME,
47  'amount' => 0,
48  'currency_code' => 'USD',
49 );
50 
51 // Admin menu
52 // Set to 1 if you want to display menu generated by system module
53 $modversion['system_menu'] = 1;
54 
55 // Admin things
56 $modversion['hasAdmin'] = true;
57 $modversion['adminindex'] = 'admin/index.php';
58 $modversion['adminmenu'] = 'admin/menu.php';
59 
60 /*
61  Manage extension
62  */
63 $modversion['extension'] = 1;
64 $modversion['extension_module'][] = 'system';
65 
66 // Preferences
67 $modversion['config'][] = array(
68  'name' => 'pixel_size',
69  'title' => 'Size',
70  'description' => 'Square size in pixels (1-2048 pixels)',
71  'formtype' => 'textbox',
72  'valuetype' => 'int',
73  'default' => 80,
74 );
75 
76 $modversion['config'][] = array(
77  'name' => 'default_imageset',
78  'title' => 'Default Image',
79  'description' => 'Default imageset on gravatars.com',
80  'formtype' => 'select',
81  'valuetype' => 'text',
82  'default' => 'wavatar',
83  'options' => array(
84  '404 Error' => '404',
85  'blank' => 'blank',
86  'default' => 'default',
87  'mystery-man' => 'mm',
88  'identicon' => 'identicon',
89  'monsterid' => 'monsterid',
90  'wavatar' => 'wavatar',
91  'retro' => 'retro',
92  ),
93 );
94 
95 $modversion['config'][] = array(
96  'name' => 'max_rating',
97  'title' => 'Rating',
98  'description' => 'Max rating (inclusive) of gravatar to allow',
99  'formtype' => 'select',
100  'valuetype' => 'text',
101  'default' => 'g',
102  'options' => array(
103  'general' => 'g',
104  'parental guidance' => 'pg',
105  'restricted' => 'r',
106  'adults only' => 'x',
107  ),
108 );
const _MI_GRAVATARS_DESC
Definition: modinfo.php:19
$modversion
const _MI_GRAVATARS_NAME
Definition: modinfo.php:18