XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
xoops_version.php
Go to the documentation of this file.
1 <?php
27 $modversion = array();
29 $modversion['version'] = 1.09;
30 $modversion['description'] = _PM_MI_DESC;
31 $modversion['author'] = "Jan Pedersen, Taiwen Jiang";
32 $modversion['credits'] = "The XOOPS Project, Wanikoo";
33 $modversion['help'] = 'page=help';
34 $modversion['license'] = 'GNU GPL 2.0 or later';
35 $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/";
36 $modversion['image'] = "images/logo.png";
37 $modversion['dirname'] = "pm";
38 $modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin';
39 $modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16';
40 $modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32';
41 
42 //about
43 $modversion['release_date'] = '2012/07/30';
44 $modversion["module_website_url"] = "http://www.xoops.org/";
45 $modversion["module_website_name"] = "XOOPS";
46 $modversion["module_status"] = "RC";
47 $modversion['min_php'] = '5.2';
48 $modversion['min_xoops'] = "2.5.5";
49 $modversion['min_admin'] = '1.1';
50 $modversion['min_db'] = array(
51  'mysql' => '5.0.7',
52  'mysqli' => '5.0.7'
53 );
54 
55 // Admin menu
56 // Set to 1 if you want to display menu generated by system module
57 $modversion['system_menu'] = 1;
58 
59 // Admin things
60 $modversion['hasAdmin'] = 1;
61 $modversion['adminindex'] = "admin/admin.php";
62 $modversion['adminmenu'] = "admin/menu.php";
63 
64 // Mysql file
65 //$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
66 
67 // Table
68 //$modversion['tables'][0] = "pm_messages";
69 
70 // Scripts to run upon installation or update
71 $modversion['onInstall'] = "include/install.php";
72 $modversion['onUpdate'] = "include/update.php";
73 
74 // Templates
75 $modversion['templates'] = array();
76 $modversion['templates'][1]['file'] = 'pm_pmlite.html';
77 $modversion['templates'][1]['description'] = '';
78 $modversion['templates'][2]['file'] = 'pm_readpmsg.html';
79 $modversion['templates'][2]['description'] = '';
80 $modversion['templates'][3]['file'] = 'pm_viewpmsg.html';
81 $modversion['templates'][3]['description'] = '';
82 //$modversion['templates'][4]['file'] = 'pm_lookup.html';
83 //$modversion['templates'][4]['description'] = '';
84 
85 // Menu
86 $modversion['hasMain'] = 1;
87 
88 $modversion['config'] = array();
89 $modversion['config'][]=array(
90  'name' => 'perpage',
91  'title' => '_PM_MI_PERPAGE',
92  'description' => '_PM_MI_PERPAGE_DESC',
93  'formtype' => 'textbox',
94  'valuetype' => 'int',
95  'default' => 20);
96 
97 $modversion['config'][]=array(
98  'name' => 'max_save',
99  'title' => '_PM_MI_MAXSAVE',
100  'description' => '_PM_MI_MAXSAVE_DESC',
101  'formtype' => 'textbox',
102  'valuetype' => 'int',
103  'default' => 10);
104 
105 $modversion['config'][]=array(
106  'name' => 'prunesubject',
107  'title' => '_PM_MI_PRUNESUBJECT',
108  'description' => '_PM_MI_PRUNESUBJECT_DESC',
109  'formtype' => 'textbox',
110  'valuetype' => 'text',
111  'default' => _PM_MI_PRUNESUBJECTDEFAULT);
112 
113 $modversion['config'][]=array(
114  'name' => 'prunemessage',
115  'title' => '_PM_MI_PRUNEMESSAGE',
116  'description' => '_PM_MI_PRUNEMESSAGE_DESC',
117  'formtype' => 'textarea',
118  'valuetype' => 'text',
119  'default' => _PM_MI_PRUNEMESSAGEDEFAULT);
120 ?>