XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
xoops_version.php
Go to the documentation of this file.
1 <?php
2 // $Id: xoops_version.php 8066 2011-11-06 05:09:33Z beckmi $
3 // ------------------------------------------------------------------------ //
4 // XOOPS - PHP Content Management System //
5 // Copyright (c) 2000 XOOPS.org //
6 // <http://www.xoops.org/> //
7 // ------------------------------------------------------------------------ //
8 // This program is free software; you can redistribute it and/or modify //
9 // it under the terms of the GNU General Public License as published by //
10 // the Free Software Foundation; either version 2 of the License, or //
11 // (at your option) any later version. //
12 // //
13 // You may not change or alter any portion of this comment or credits //
14 // of supporting developers from this source code or any supporting //
15 // source code which is considered copyrighted (c) material of the //
16 // original comment or credit authors. //
17 // //
18 // This program is distributed in the hope that it will be useful, //
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
21 // GNU General Public License for more details. //
22 // //
23 // You should have received a copy of the GNU General Public License //
24 // along with this program; if not, write to the Free Software //
25 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
26 // ------------------------------------------------------------------------ //
27 // Author: Kazumi Ono (AKA onokazu) //
28 // URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
29 // Project: The XOOPS Project //
30 // ------------------------------------------------------------------------- //
31 
33 $modversion['version'] = 2.10;
34 $modversion['description'] = _MI_SYSTEM_DESC;
35 $modversion['author'] = '';
36 $modversion['credits'] = 'The XOOPS Project; MusS, Kraven30, Mage';
37 $modversion['help'] = 'system.html';
38 $modversion['license'] = "GPL see LICENSE";
39 $modversion['official'] = 1;
40 $modversion['image'] = 'images/system_slogo.png';
41 $modversion['dirname'] = 'system';
42 
43 // Admin things
44 $modversion['hasAdmin'] = 1;
45 $modversion['adminindex'] = 'admin.php';
46 $modversion['adminmenu'] = 'menu.php';
47 
48 $modversion['onUpdate'] = 'include/update.php';
49 
50 // Templates
51 $modversion['templates'][] = array( 'file' => 'system_imagemanager.html', 'description' => '' );
52 $modversion['templates'][] = array( 'file' => 'system_imagemanager2.html', 'description' => '' );
53 $modversion['templates'][] = array( 'file' => 'system_userinfo.html', 'description' => '' );
54 $modversion['templates'][] = array( 'file' => 'system_userform.html', 'description' => '' );
55 $modversion['templates'][] = array( 'file' => 'system_rss.html', 'description' => '' );
56 $modversion['templates'][] = array( 'file' => 'system_redirect.html', 'description' => '' );
57 $modversion['templates'][] = array( 'file' => 'system_comment.html', 'description' => '' );
58 $modversion['templates'][] = array( 'file' => 'system_comments_flat.html', 'description' => '' );
59 $modversion['templates'][] = array( 'file' => 'system_comments_thread.html', 'description' => '' );
60 $modversion['templates'][] = array( 'file' => 'system_comments_nest.html', 'description' => '' );
61 $modversion['templates'][] = array( 'file' => 'system_siteclosed.html', 'description' => '' );
62 $modversion['templates'][] = array( 'file' => 'system_dummy.html', 'description' => '' );
63 $modversion['templates'][] = array( 'file' => 'system_notification_list.html', 'description' => '' );
64 $modversion['templates'][] = array( 'file' => 'system_notification_select.html', 'description' => '' );
65 $modversion['templates'][] = array( 'file' => 'system_block_dummy.html', 'description' => '' );
66 $modversion['templates'][] = array( 'file' => 'system_homepage.html', 'description' => '' );
67 $modversion['templates'][] = array( 'file' => 'system_bannerlogin.html', 'description' => '' );
68 $modversion['templates'][] = array( 'file' => 'system_banner.html', 'description' => '' );
69 $modversion['templates'][] = array( 'file' => 'system_bannerdisplay.html', 'description' => '' );
70 
71 // Admin Templates
72 $modversion['templates'][] = array( 'file' => 'system_header.html', 'description' => '', 'type' => 'admin' );
73 $modversion['templates'][] = array( 'file' => 'system_banners.html', 'description' => '', 'type' => 'admin' );
74 $modversion['templates'][] = array( 'file' => 'system_modules.html', 'description' => '', 'type' => 'admin' );
75 $modversion['templates'][] = array( 'file' => 'system_modules_install.html', 'description' => '', 'type' => 'admin' );
76 $modversion['templates'][] = array( 'file' => 'system_modules_confirm.html', 'description' => '', 'type' => 'admin' );
77 $modversion['templates'][] = array( 'file' => 'system_modules_result.html', 'description' => '', 'type' => 'admin' );
78 $modversion['templates'][] = array( 'file' => 'system_avatars.html', 'description' => '', 'type' => 'admin' );
79 $modversion['templates'][] = array( 'file' => 'system_smilies.html', 'description' => '', 'type' => 'admin' );
80 $modversion['templates'][] = array( 'file' => 'system_blocks.html', 'description' => '', 'type' => 'admin' );
81 $modversion['templates'][] = array( 'file' => 'system_blocks_item.html', 'description' => '', 'type' => 'admin' );
82 $modversion['templates'][] = array( 'file' => 'system_comments.html', 'description' => '', 'type' => 'admin' );
83 $modversion['templates'][] = array( 'file' => 'system_comments_list.html', 'description' => '', 'type' => 'admin' );
84 $modversion['templates'][] = array( 'file' => 'system_userrank.html', 'description' => '', 'type' => 'admin' );
85 $modversion['templates'][] = array( 'file' => 'system_users.html', 'description' => '', 'type' => 'admin' );
86 $modversion['templates'][] = array( 'file' => 'system_preferences.html', 'description' => '', 'type' => 'admin' );
87 $modversion['templates'][] = array( 'file' => 'system_mailusers.html', 'description' => '', 'type' => 'admin' );
88 $modversion['templates'][] = array( 'file' => 'system_groups.html', 'description' => '', 'type' => 'admin' );
89 $modversion['templates'][] = array( 'file' => 'system_images.html', 'description' => '', 'type' => 'admin' );
90 $modversion['templates'][] = array( 'file' => 'system_templates.html', 'description' => '', 'type' => 'admin' );
91 $modversion['templates'][] = array( 'file' => 'system_filemanager.html', 'description' => '', 'type' => 'admin' );
92 $modversion['templates'][] = array( 'file' => 'system_index.html', 'description' => '', 'type' => 'admin' );
93 $modversion['templates'][] = array( 'file' => 'system_maintenance.html', 'description' => '', 'type' => 'admin' );
94 $modversion['templates'][] = array( 'file' => 'system_help.html', 'description' => '', 'type' => 'admin' );
95 
96 // Blocks
97 $modversion['blocks'][] = array(
98  'file' => 'system_blocks.php',
99  'name' => _MI_SYSTEM_BNAME2,
100  'description' => 'Shows user block',
101  'show_func' => 'b_system_user_show',
102  'template' => 'system_block_user.html');
103 
104 $modversion['blocks'][2]['file'] = 'system_blocks.php';
105 $modversion['blocks'][2]['name'] = _MI_SYSTEM_BNAME3;
106 $modversion['blocks'][2]['description'] = 'Shows login form';
107 $modversion['blocks'][2]['show_func'] = 'b_system_login_show';
108 $modversion['blocks'][2]['template'] = 'system_block_login.html';
109 
110 $modversion['blocks'][3]['file'] = 'system_blocks.php';
111 $modversion['blocks'][3]['name'] = _MI_SYSTEM_BNAME4;
112 $modversion['blocks'][3]['description'] = 'Shows search form block';
113 $modversion['blocks'][3]['show_func'] = 'b_system_search_show';
114 $modversion['blocks'][3]['template'] = 'system_block_search.html';
115 
116 $modversion['blocks'][4]['file'] = 'system_blocks.php';
117 $modversion['blocks'][4]['name'] = _MI_SYSTEM_BNAME5;
118 $modversion['blocks'][4]['description'] = 'Shows contents waiting for approval';
119 $modversion['blocks'][4]['show_func'] = 'b_system_waiting_show';
120 $modversion['blocks'][4]['template'] = 'system_block_waiting.html';
121 
122 $modversion['blocks'][5]['file'] = 'system_blocks.php';
123 $modversion['blocks'][5]['name'] = _MI_SYSTEM_BNAME6;
124 $modversion['blocks'][5]['description'] = 'Shows the main navigation menu of the site';
125 $modversion['blocks'][5]['show_func'] = 'b_system_main_show';
126 $modversion['blocks'][5]['template'] = 'system_block_mainmenu.html';
127 
128 $modversion['blocks'][6]['file'] = 'system_blocks.php';
129 $modversion['blocks'][6]['name'] = _MI_SYSTEM_BNAME7;
130 $modversion['blocks'][6]['description'] = 'Shows basic info about the site and a link to Recommend Us pop up window';
131 $modversion['blocks'][6]['show_func'] = 'b_system_info_show';
132 $modversion['blocks'][6]['edit_func'] = 'b_system_info_edit';
133 $modversion['blocks'][6]['options'] = '320|190|s_poweredby.gif|1';
134 $modversion['blocks'][6]['template'] = 'system_block_siteinfo.html';
135 
136 $modversion['blocks'][7]['file'] = 'system_blocks.php';
137 $modversion['blocks'][7]['name'] = _MI_SYSTEM_BNAME8;
138 $modversion['blocks'][7]['description'] = 'Displays users/guests currently online';
139 $modversion['blocks'][7]['show_func'] = 'b_system_online_show';
140 $modversion['blocks'][7]['template'] = 'system_block_online.html';
141 
142 $modversion['blocks'][8]['file'] = 'system_blocks.php';
143 $modversion['blocks'][8]['name'] = _MI_SYSTEM_BNAME9;
144 $modversion['blocks'][8]['description'] = 'Top posters';
145 $modversion['blocks'][8]['show_func'] = 'b_system_topposters_show';
146 $modversion['blocks'][8]['options'] = '10|1';
147 $modversion['blocks'][8]['edit_func'] = 'b_system_topposters_edit';
148 $modversion['blocks'][8]['template'] = 'system_block_topusers.html';
149 
150 $modversion['blocks'][9]['file'] = 'system_blocks.php';
151 $modversion['blocks'][9]['name'] = _MI_SYSTEM_BNAME10;
152 $modversion['blocks'][9]['description'] = 'Shows most recent users';
153 $modversion['blocks'][9]['show_func'] = 'b_system_newmembers_show';
154 $modversion['blocks'][9]['options'] = '10|1';
155 $modversion['blocks'][9]['edit_func'] = 'b_system_newmembers_edit';
156 $modversion['blocks'][9]['template'] = 'system_block_newusers.html';
157 
158 $modversion['blocks'][10]['file'] = 'system_blocks.php';
159 $modversion['blocks'][10]['name'] = _MI_SYSTEM_BNAME11;
160 $modversion['blocks'][10]['description'] = 'Shows most recent comments';
161 $modversion['blocks'][10]['show_func'] = 'b_system_comments_show';
162 $modversion['blocks'][10]['options'] = '10';
163 $modversion['blocks'][10]['edit_func'] = 'b_system_comments_edit';
164 $modversion['blocks'][10]['template'] = 'system_block_comments.html';
165 
166 // RMV-NOTIFY:
167 // Adding a block...
168 $modversion['blocks'][11]['file'] = 'system_blocks.php';
169 $modversion['blocks'][11]['name'] = _MI_SYSTEM_BNAME12;
170 $modversion['blocks'][11]['description'] = 'Shows notification options';
171 $modversion['blocks'][11]['show_func'] = 'b_system_notification_show';
172 $modversion['blocks'][11]['template'] = 'system_block_notification.html';
173 
174 $modversion['blocks'][12]['file'] = 'system_blocks.php';
175 $modversion['blocks'][12]['name'] = _MI_SYSTEM_BNAME13;
176 $modversion['blocks'][12]['description'] = 'Shows theme selection box';
177 $modversion['blocks'][12]['show_func'] = 'b_system_themes_show';
178 $modversion['blocks'][12]['options'] = '0|80';
179 $modversion['blocks'][12]['edit_func'] = 'b_system_themes_edit';
180 $modversion['blocks'][12]['template'] = 'system_block_themes.html';
181 
182 // Menu
183 $modversion['hasMain'] = 0;
184 
185 // Préférences
186 $i = 0;
187 $modversion['config'][$i]['name'] = 'break1';
188 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREAK_GENERAL';
189 $modversion['config'][$i]['description'] = '';
190 $modversion['config'][$i]['formtype'] = 'line_break';
191 $modversion['config'][$i]['valuetype'] = 'textbox';
192 $modversion['config'][$i]['default'] = 'head';
193 $i++;
194 $modversion['config'][$i]['name'] = 'usetips';
195 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_TIPS';
196 $modversion['config'][$i]['description'] = '_MI_SYSTEM_PREFERENCE_TIPS_DSC';
197 $modversion['config'][$i]['formtype'] = 'yesno';
198 $modversion['config'][$i]['valuetype'] = 'int';
199 $modversion['config'][$i]['default'] = 1;
200 $i++;
201 include_once XOOPS_ROOT_PATH . '/class/xoopslists.php';
202 $icons = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/system/images/icons');
203 $modversion['config'][$i]['name'] = 'typeicons';
204 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ICONS';
205 $modversion['config'][$i]['description'] = '';
206 $modversion['config'][$i]['formtype'] = 'select';
207 $modversion['config'][$i]['valuetype'] = 'text';
208 $modversion['config'][$i]['default'] = 'default';
209 $modversion['config'][$i]['options'] = $icons;
210 $modversion['config'][$i]['category'] = 'global';
211 $i++;
212 $breadcrumb = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/system/images/breadcrumb');
213 $modversion['config'][$i]['name'] = 'typebreadcrumb';
214 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREADCRUMB';
215 $modversion['config'][$i]['description'] = '';
216 $modversion['config'][$i]['formtype'] = 'select';
217 $modversion['config'][$i]['valuetype'] = 'text';
218 $modversion['config'][$i]['default'] = 'default';
219 $modversion['config'][$i]['options'] = $breadcrumb;
220 $modversion['config'][$i]['category'] = 'global';
221 $i++;
222 $jquery_theme = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/modules/system/css/ui');
223 $modversion['config'][$i]['name'] = 'jquery_theme';
224 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_JQUERY_THEME';
225 $modversion['config'][$i]['description'] = '';
226 $modversion['config'][$i]['formtype'] = 'select';
227 $modversion['config'][$i]['valuetype'] = 'text';
228 $modversion['config'][$i]['default'] = 'base';
229 $modversion['config'][$i]['options'] = $jquery_theme;
230 $modversion['config'][$i]['category'] = 'global';
231 $i++;
232 $modversion['config'][$i]['name'] = 'break2';
233 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREAK_ACTIVE';
234 $modversion['config'][$i]['description'] = '';
235 $modversion['config'][$i]['formtype'] = 'line_break';
236 $modversion['config'][$i]['valuetype'] = 'textbox';
237 $modversion['config'][$i]['default'] = 'head';
238 $i++;
239 $modversion['config'][$i]['name'] = 'active_avatars';
240 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_AVATARS';
241 $modversion['config'][$i]['description'] = '';
242 $modversion['config'][$i]['formtype'] = 'yesno';
243 $modversion['config'][$i]['valuetype'] = 'int';
244 $modversion['config'][$i]['default'] = '1';
245 $i++;
246 $modversion['config'][$i]['name'] = 'active_banners';
247 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_BANNERS';
248 $modversion['config'][$i]['description'] = '';
249 $modversion['config'][$i]['formtype'] = 'yesno';
250 $modversion['config'][$i]['valuetype'] = 'int';
251 $modversion['config'][$i]['default'] = '1';
252 $i++;
253 $modversion['config'][$i]['name'] = 'active_blocksadmin';
254 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_BLOCKSADMIN';
255 $modversion['config'][$i]['description'] = '';
256 $modversion['config'][$i]['formtype'] = 'hidden';
257 $modversion['config'][$i]['valuetype'] = 'int';
258 $modversion['config'][$i]['default'] = 1;
259 $i++;
260 $modversion['config'][$i]['name'] = 'active_comments';
261 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_COMMENTS';
262 $modversion['config'][$i]['description'] = '';
263 $modversion['config'][$i]['formtype'] = 'yesno';
264 $modversion['config'][$i]['valuetype'] = 'int';
265 $modversion['config'][$i]['default'] = '1';
266 $i++;
267 $modversion['config'][$i]['name'] = 'active_filemanager';
268 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_FILEMANAGER';
269 $modversion['config'][$i]['description'] = '';
270 $modversion['config'][$i]['formtype'] = 'hidden';
271 $modversion['config'][$i]['valuetype'] = 'int';
272 $modversion['config'][$i]['default'] = '1';
273 $i++;
274 $modversion['config'][$i]['name'] = 'active_groups';
275 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_GROUPS';
276 $modversion['config'][$i]['description'] = '';
277 $modversion['config'][$i]['formtype'] = 'hidden';
278 $modversion['config'][$i]['valuetype'] = 'int';
279 $modversion['config'][$i]['default'] = 1;
280 $i++;
281 $modversion['config'][$i]['name'] = 'active_images';
282 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_IMAGES';
283 $modversion['config'][$i]['description'] = '';
284 $modversion['config'][$i]['formtype'] = 'yesno';
285 $modversion['config'][$i]['valuetype'] = 'int';
286 $modversion['config'][$i]['default'] = '1';
287 $i++;
288 $modversion['config'][$i]['name'] = 'active_mailusers';
289 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MAILUSERS';
290 $modversion['config'][$i]['description'] = '';
291 $modversion['config'][$i]['formtype'] = 'yesno';
292 $modversion['config'][$i]['valuetype'] = 'int';
293 $modversion['config'][$i]['default'] = '1';
294 $i++;
295 $modversion['config'][$i]['name'] = 'active_maintenance';
296 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MAINTENANCE';
297 $modversion['config'][$i]['description'] = '';
298 $modversion['config'][$i]['formtype'] = 'yesno';
299 $modversion['config'][$i]['valuetype'] = 'int';
300 $modversion['config'][$i]['default'] = '1';
301 $i++;
302 $modversion['config'][$i]['name'] = 'active_modulesadmin';
303 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_MODULESADMIN';
304 $modversion['config'][$i]['description'] = '';
305 $modversion['config'][$i]['formtype'] = 'hidden';
306 $modversion['config'][$i]['valuetype'] = 'int';
307 $modversion['config'][$i]['default'] = 1;
308 $i++;
309 $modversion['config'][$i]['name'] = 'active_preferences';
310 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_PREFERENCES';
311 $modversion['config'][$i]['description'] = '';
312 $modversion['config'][$i]['formtype'] = 'hidden';
313 $modversion['config'][$i]['valuetype'] = 'int';
314 $modversion['config'][$i]['default'] = 1;
315 $i++;
316 $modversion['config'][$i]['name'] = 'active_smilies';
317 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_SMILIES';
318 $modversion['config'][$i]['description'] = '';
319 $modversion['config'][$i]['formtype'] = 'yesno';
320 $modversion['config'][$i]['valuetype'] = 'int';
321 $modversion['config'][$i]['default'] = '1';
322 $i++;
323 $modversion['config'][$i]['name'] = 'active_tplsets';
324 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_TPLSETS';
325 $modversion['config'][$i]['description'] = '';
326 $modversion['config'][$i]['formtype'] = 'hidden';
327 $modversion['config'][$i]['valuetype'] = 'int';
328 $modversion['config'][$i]['default'] = 1;
329 $i++;
330 $modversion['config'][$i]['name'] = 'active_userrank';
331 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_USERRANK';
332 $modversion['config'][$i]['description'] = '';
333 $modversion['config'][$i]['formtype'] = 'yesno';
334 $modversion['config'][$i]['valuetype'] = 'int';
335 $modversion['config'][$i]['default'] = '1';
336 $i++;
337 $modversion['config'][$i]['name'] = 'active_users';
338 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_USERS';
339 $modversion['config'][$i]['description'] = '';
340 $modversion['config'][$i]['formtype'] = 'yesno';
341 $modversion['config'][$i]['valuetype'] = 'int';
342 $modversion['config'][$i]['default'] = '1';
343 $i++;
344 $modversion['config'][$i]['name'] = 'break3';
345 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREAK_PAGER';
346 $modversion['config'][$i]['description'] = '';
347 $modversion['config'][$i]['formtype'] = 'line_break';
348 $modversion['config'][$i]['valuetype'] = 'textbox';
349 $modversion['config'][$i]['default'] = 'head';
350 $i++;
351 $modversion['config'][$i]['name'] = 'avatars_pager';
352 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_AVATARS_PAGER';
353 $modversion['config'][$i]['description'] = '';
354 $modversion['config'][$i]['formtype'] = 'textbox';
355 $modversion['config'][$i]['valuetype'] = 'int';
356 $modversion['config'][$i]['default'] = 10;
357 $i++;
358 $modversion['config'][$i]['name'] = 'banners_pager';
359 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BANNERS_PAGER';
360 $modversion['config'][$i]['description'] = '';
361 $modversion['config'][$i]['formtype'] = 'textbox';
362 $modversion['config'][$i]['valuetype'] = 'int';
363 $modversion['config'][$i]['default'] = 10;
364 $i++;
365 $modversion['config'][$i]['name'] = 'comments_pager';
366 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_COMMENTS_PAGER';
367 $modversion['config'][$i]['description'] = '';
368 $modversion['config'][$i]['formtype'] = 'textbox';
369 $modversion['config'][$i]['valuetype'] = 'int';
370 $modversion['config'][$i]['default'] = 20;
371 $i++;
372 $modversion['config'][$i]['name'] = 'groups_pager';
373 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_GROUPS_PAGER';
374 $modversion['config'][$i]['description'] = '';
375 $modversion['config'][$i]['formtype'] = 'textbox';
376 $modversion['config'][$i]['valuetype'] = 'int';
377 $modversion['config'][$i]['default'] = 15;
378 $i++;
379 $modversion['config'][$i]['name'] = 'images_pager';
380 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_IMAGES_PAGER';
381 $modversion['config'][$i]['description'] = '';
382 $modversion['config'][$i]['formtype'] = 'textbox';
383 $modversion['config'][$i]['valuetype'] = 'int';
384 $modversion['config'][$i]['default'] = 15;
385 $i++;
386 $modversion['config'][$i]['name'] = 'smilies_pager';
387 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_SMILIES_PAGER';
388 $modversion['config'][$i]['description'] = '';
389 $modversion['config'][$i]['formtype'] = 'textbox';
390 $modversion['config'][$i]['valuetype'] = 'int';
391 $modversion['config'][$i]['default'] = 20;
392 $i++;
393 $modversion['config'][$i]['name'] = 'userranks_pager';
394 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_USERRANKS_PAGER';
395 $modversion['config'][$i]['description'] = '';
396 $modversion['config'][$i]['formtype'] = 'textbox';
397 $modversion['config'][$i]['valuetype'] = 'int';
398 $modversion['config'][$i]['default'] = 20;
399 $i++;
400 $modversion['config'][$i]['name'] = 'users_pager';
401 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_USERS_PAGER';
402 $modversion['config'][$i]['description'] = '';
403 $modversion['config'][$i]['formtype'] = 'textbox';
404 $modversion['config'][$i]['valuetype'] = 'int';
405 $modversion['config'][$i]['default'] = 20;
406 $i++;
407 $modversion['config'][$i]['name'] = 'break4';
408 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BREAK_EDITOR';
409 $modversion['config'][$i]['description'] = '';
410 $modversion['config'][$i]['formtype'] = 'line_break';
411 $modversion['config'][$i]['valuetype'] = 'textbox';
412 $modversion['config'][$i]['default'] = 'head';
413 $i++;
414 $editors = XoopsLists::getDirListAsArray(XOOPS_ROOT_PATH . '/class/xoopseditor');
415 $modversion['config'][$i]['name'] = 'blocks_editor';
416 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_BLOCKS_EDITOR';
417 $modversion['config'][$i]['description'] = '_MI_SYSTEM_PREFERENCE_BLOCKS_EDITOR_DSC';
418 $modversion['config'][$i]['formtype'] = 'select';
419 $modversion['config'][$i]['valuetype'] = 'text';
420 $modversion['config'][$i]['default'] = 'dhtmltextarea';
421 $modversion['config'][$i]['options'] = $editors;
422 $modversion['config'][$i]['category'] = 'global';
423 $i++;
424 $modversion['config'][$i]['name'] = 'comments_editor';
425 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_COMMENTS_EDITOR';
426 $modversion['config'][$i]['description'] = '_MI_SYSTEM_PREFERENCE_COMMENTS_EDITOR_DSC';
427 $modversion['config'][$i]['formtype'] = 'select';
428 $modversion['config'][$i]['valuetype'] = 'text';
429 $modversion['config'][$i]['default'] = 'dhtmltextarea';
430 $modversion['config'][$i]['options'] = $editors;
431 $modversion['config'][$i]['category'] = 'global';
432 $i++;
433 $modversion['config'][$i]['name'] = 'general_editor';
434 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_GENERAL_EDITOR';
435 $modversion['config'][$i]['description'] = '_MI_SYSTEM_PREFERENCE_GENERAL_EDITOR_DSC';
436 $modversion['config'][$i]['formtype'] = 'select';
437 $modversion['config'][$i]['valuetype'] = 'text';
438 $modversion['config'][$i]['default'] = 'dhtmltextarea';
439 $modversion['config'][$i]['options'] = $editors;
440 $modversion['config'][$i]['category'] = 'global';
441 $i++;
442 $modversion['config'][$i]['name'] = 'redirect';
443 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_REDIRECT';
444 $modversion['config'][$i]['description'] = '';
445 $modversion['config'][$i]['formtype'] = 'hidden';
446 $modversion['config'][$i]['valuetype'] = 'textbox';
447 $modversion['config'][$i]['default'] = 'admin.php?fct=preferences';
448 $i++;
449 $modversion['config'][$i]['name'] = 'com_anonpost';
450 $modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ANONPOST';
451 $modversion['config'][$i]['description'] = '';
452 $modversion['config'][$i]['formtype'] = 'hidden';
453 $modversion['config'][$i]['valuetype'] = 'int';
454 $modversion['config'][$i]['default'] = 0;
455 
456 ?>