XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
xoops_version.php
Go to the documentation of this file.
1 <?php
26 $modversion = array();
28 $modversion['version'] = 1.85;
29 $modversion['description'] = _PROFILE_MI_DESC;
30 $modversion['author'] = "Jan Pedersen, Taiwen Jiang, alfred, Wishcraft";
31 $modversion['credits'] = "Ackbarr, mboyden, marco, mamba, trabis, etc.";
32 $modversion['help'] = 'page=help';
33 $modversion['license'] = 'GNU GPL 2.0 or later';
34 $modversion['license_url'] = "www.gnu.org/licenses/gpl-2.0.html/";
35 $modversion['image'] = "images/logo.png";
36 $modversion['dirname'] = "profile";
37 $modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin';
38 $modversion['icons16'] = '../../Frameworks/moduleclasses/icons/16';
39 $modversion['icons32'] = '../../Frameworks/moduleclasses/icons/32';
40 
41 //about
42 $modversion['release_date'] = '2012/07/30';
43 $modversion["module_website_url"] = "http://www.xoops.org/";
44 $modversion["module_website_name"] = "XOOPS";
45 $modversion["module_status"] = "Final";
46 $modversion['min_php'] = '5.2';
47 $modversion['min_xoops'] = "2.5.5";
48 $modversion['min_admin'] = '1.1';
49 $modversion['min_db'] = array(
50  'mysql' => '5.0.7',
51  'mysqli' => '5.0.7'
52 );
53 
54 // Admin menu
55 // Set to 1 if you want to display menu generated by system module
56 $modversion['system_menu'] = 1;
57 
58 // Admin things
59 $modversion['hasAdmin'] = 1;
60 $modversion['adminindex'] = "admin/index.php";
61 $modversion['adminmenu'] = "admin/menu.php";
62 
63 // Scripts to run upon installation or update
64 $modversion['onInstall'] = "include/install.php";
65 $modversion['onUpdate'] = "include/update.php";
66 
67 // Menu
68 $modversion['hasMain'] = 1;
69 if ($GLOBALS['xoopsUser']) {
70  $modversion['sub'][1]['name'] = _PROFILE_MI_EDITACCOUNT;
71  $modversion['sub'][1]['url'] = "edituser.php";
72  $modversion['sub'][2]['name'] = _PROFILE_MI_PAGE_SEARCH;
73  $modversion['sub'][2]['url'] = "search.php";
74  $modversion['sub'][3]['name'] = _PROFILE_MI_CHANGEPASS;
75  $modversion['sub'][3]['url'] = "changepass.php";
76 }
77 
78 // Mysql file
79 $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
80 
81 // Tables created by sql file (without prefix!)
82 $modversion['tables'][1] = "profile_category";
83 $modversion['tables'][2] = "profile_profile";
84 $modversion['tables'][3] = "profile_field";
85 $modversion['tables'][4] = "profile_visibility";
86 $modversion['tables'][5] = "profile_regstep";
87 
88 
89 // Config items
90 $modversion['config'][1]['name'] = 'profile_search';
91 $modversion['config'][1]['title'] = '_PROFILE_MI_PROFILE_SEARCH';
92 $modversion['config'][1]['description'] = '';
93 $modversion['config'][1]['formtype'] = 'yesno';
94 $modversion['config'][1]['valuetype'] = 'int';
95 $modversion['config'][1]['default'] = 1;
96 
97 // Templates
98 $i = 0;
99 
100 $i++;
101 $modversion['templates'][$i]['file'] = 'profile_breadcrumbs.html';
102 $modversion['templates'][$i]['description'] = '';
103 
104 $i++;
105 $modversion['templates'][$i]['file'] = 'profile_form.html';
106 $modversion['templates'][$i]['description'] = '';
107 
108 $i++;
109 $modversion['templates'][$i]['file'] = 'profile_admin_fieldlist.html';
110 $modversion['templates'][$i]['description'] = '';
111 
112 $i++;
113 $modversion['templates'][$i]['file'] = 'profile_userinfo.html';
114 $modversion['templates'][$i]['description'] = '';
115 
116 $i++;
117 $modversion['templates'][$i]['file'] = 'profile_admin_categorylist.html';
118 $modversion['templates'][$i]['description'] = '';
119 
120 $i++;
121 $modversion['templates'][$i]['file'] = 'profile_search.html';
122 $modversion['templates'][$i]['description'] = '';
123 
124 $i++;
125 $modversion['templates'][$i]['file'] = 'profile_results.html';
126 $modversion['templates'][$i]['description'] = '';
127 
128 $i++;
129 $modversion['templates'][$i]['file'] = 'profile_admin_visibility.html';
130 $modversion['templates'][$i]['description'] = '';
131 
132 $i++;
133 $modversion['templates'][$i]['file'] = 'profile_admin_steplist.html';
134 $modversion['templates'][$i]['description'] = '';
135 
136 $i++;
137 $modversion['templates'][$i]['file'] = 'profile_register.html';
138 $modversion['templates'][$i]['description'] = '';
139 
140 $i++;
141 $modversion['templates'][$i]['file'] = 'profile_changepass.html';
142 $modversion['templates'][$i]['description'] = '';
143 
144 $i++;
145 $modversion['templates'][$i]['file'] = 'profile_editprofile.html';
146 $modversion['templates'][$i]['description'] = '';
147 
148 $i++;
149 $modversion['templates'][$i]['file'] = 'profile_userform.html';
150 $modversion['templates'][$i]['description'] = '';
151 
152 $i++;
153 $modversion['templates'][$i]['file'] = 'profile_avatar.html';
154 $modversion['templates'][$i]['description'] = '';
155 
156 $i++;
157 $modversion['templates'][$i]['file'] = 'profile_email.html';
158 $modversion['templates'][$i]['description'] = '';
159 
160 ?>