XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
xoops_version.php
1<?php
10
11$modversion['dirname'] = 'legacy';
12$modversion['name'] = _MI_LEGACY_NAME;
13$modversion['version'] = '2.50';
14$modversion['detailed_version'] = '2.50.0';
15$modversion['description'] = _MI_LEGACY_NAME_DESC;
16$modversion['author'] = 'The XOOPSCube Project Team';
17$modversion['credits'] = 'The XOOPSCube Project Team';
18$modversion['help'] = 'help.html';
19$modversion['license'] = 'GPL see LICENSE';
20$modversion['image'] = 'images/module_settings.svg';
21$modversion['icon'] = 'images/module_icon.svg';
22$modversion['cube_style'] = true;
23
24// Custom installer
25$modversion['legacy_installer']['updater']['class'] = 'ModuleUpdater';
26$modversion['legacy_installer']['updater']['filepath'] = XOOPS_LEGACY_PATH . '/admin/class/Legacy_Updater.class.php';
27
28//
29// Database Setting
30//
31
32// Admin things
33$modversion['hasAdmin'] = 1;
34$modversion['adminindex'] = 'admin/index.php';
35$modversion['adminmenu'] = 'admin/menu.php';
36
37// Templates
38$modversion['templates'][1]['file'] = 'legacy_app_start_page.html';
39$modversion['templates'][1]['description'] = 'The start page if no module is selected.';
40$modversion['templates'][2]['file'] = 'legacy_site_closed.html';
41$modversion['templates'][2]['description'] = 'Used when the site is closed. Maintenance mode, coming soon, etc.';
42$modversion['templates'][3]['file'] = 'legacy_search_form.html';
43$modversion['templates'][3]['description'] = 'Template Search Form';
44$modversion['templates'][4]['file'] = 'legacy_comment_edit.html';
45$modversion['templates'][4]['description'] = '';
46$modversion['templates'][5]['file'] = 'legacy_xoops_result.html';
47$modversion['templates'][5]['description'] = '';
48$modversion['templates'][6]['file'] = 'legacy_xoops_error.html';
49$modversion['templates'][6]['description'] = '';
50$modversion['templates'][7]['file'] = 'legacy_xoops_confirm.html';
51$modversion['templates'][7]['description'] = '';
52$modversion['templates'][8]['file'] = 'legacy_comment_navi.html';
53$modversion['templates'][8]['description'] = '';
54$modversion['templates'][9]['file'] = 'legacy_comment.html';
55$modversion['templates'][9]['description'] = '';
56$modversion['templates'][10]['file'] = 'legacy_comments_flat.html';
57$modversion['templates'][10]['description'] = '';
58$modversion['templates'][11]['file'] = 'legacy_comments_nest.html';
59$modversion['templates'][11]['description'] = '';
60$modversion['templates'][12]['file'] = 'legacy_comments_thread.html';
61$modversion['templates'][12]['description'] = '';
62$modversion['templates'][13]['file'] = 'legacy_notification_select.html';
63$modversion['templates'][13]['description'] = '';
64$modversion['templates'][14]['file'] = 'legacy_dummy.html';
65$modversion['templates'][14]['description'] = '';
66$modversion['templates'][15]['file'] = 'legacy_redirect.html';
67$modversion['templates'][15]['description'] = 'Template Redirect';
68$modversion['templates'][16]['file'] = 'legacy_image_list.html';
69$modversion['templates'][16]['description'] = '';
70$modversion['templates'][17]['file'] = 'legacy_image_upload.html';
71$modversion['templates'][17]['description'] = '';
72$modversion['templates'][18]['file'] = 'legacy_rss.html';
73$modversion['templates'][18]['description'] = '';
74$modversion['templates'][19]['file'] = 'legacy_search_results.html';
75$modversion['templates'][19]['description'] = 'Template Search Results';
76$modversion['templates'][20]['file'] = 'legacy_search_showall.html';
77$modversion['templates'][20]['description'] = '';
78$modversion['templates'][21]['file'] = 'legacy_search_showallbyuser.html';
79$modversion['templates'][21]['description'] = '';
80$modversion['templates'][22]['file'] = 'legacy_notification_list.html';
81$modversion['templates'][22]['description'] = '';
82$modversion['templates'][23]['file'] = 'legacy_notification_delete.html';
83$modversion['templates'][23]['description'] = '';
84$modversion['templates'][24]['file'] = 'legacy_notification_select_form.html';
85$modversion['templates'][24]['description'] = '';
86$modversion['templates'][25]['file'] = 'legacy_misc_friend.html';
87$modversion['templates'][25]['description'] = '';
88$modversion['templates'][26]['file'] = 'legacy_misc_friend_success.html';
89$modversion['templates'][26]['description'] = '';
90$modversion['templates'][27]['file'] = 'legacy_misc_friend_error.html';
91$modversion['templates'][27]['description'] = '';
92$modversion['templates'][28]['file'] = 'legacy_xoopsform_checkbox.html';
93$modversion['templates'][28]['description'] = 'The embedded template for checkbox.';
94$modversion['templates'][29]['file'] = 'legacy_xoopsform_color.html';
95$modversion['templates'][29]['description'] = 'The embedded template for color.';
96$modversion['templates'][30]['file'] = 'legacy_xoopsform_button.html';
97$modversion['templates'][30]['description'] = 'The embedded template for button.';
98$modversion['templates'][31]['file'] = 'legacy_xoopsform_text.html';
99$modversion['templates'][31]['description'] = 'The embedded template for text.';
100$modversion['templates'][32]['file'] = 'legacy_xoopsform_select.html';
101$modversion['templates'][32]['description'] = 'The embedded template for select.';
102$modversion['templates'][33]['file'] = 'legacy_xoopsform_file.html';
103$modversion['templates'][33]['description'] = 'The embedded template for file.';
104$modversion['templates'][34]['file'] = 'legacy_xoopsform_hidden.html';
105$modversion['templates'][34]['description'] = 'The embedded template for hidden.';
106$modversion['templates'][35]['file'] = 'legacy_xoopsform_radio.html';
107$modversion['templates'][35]['description'] = 'The embedded template for radio.';
108$modversion['templates'][36]['file'] = 'legacy_xoopsform_label.html';
109$modversion['templates'][36]['description'] = 'The embedded template for label.';
110$modversion['templates'][37]['file'] = 'legacy_xoopsform_password.html';
111$modversion['templates'][37]['description'] = 'The embedded template for password.';
112$modversion['templates'][38]['file'] = 'legacy_xoopsform_textarea.html';
113$modversion['templates'][38]['description'] = 'The embedded template for textarea.';
114$modversion['templates'][39]['file'] = 'legacy_xoopsform_simpleform.html';
115$modversion['templates'][39]['description'] = 'The embedded template for the simple form.';
116$modversion['templates'][40]['file'] = 'legacy_xoopsform_tableform.html';
117$modversion['templates'][40]['description'] = 'The embedded template for the table form.';
118$modversion['templates'][41]['file'] = 'legacy_xoopsform_themeform.html';
119$modversion['templates'][41]['description'] = 'The embedded template for the theme form.';
120$modversion['templates'][42]['file'] = 'legacy_xoopsform_elementtray.html';
121$modversion['templates'][42]['description'] = 'The embedded template for the element tray.';
122$modversion['templates'][43]['file'] = 'legacy_xoopsform_textdateselect.html';
123$modversion['templates'][43]['description'] = 'The embedded template for the text date select.';
124$modversion['templates'][44]['file'] = 'legacy_xoopsform_dhtmltextarea.html';
125$modversion['templates'][44]['description'] = 'The embedded template for the dhtml textarea.';
126$modversion['templates'][45]['file'] = 'legacy_xoopsform_opt_smileys.html';
127$modversion['templates'][45]['description'] = 'The embedded template for the smiles list of dhtml textarea.';
128$modversion['templates'][46]['file'] = 'legacy_xoopsform_opt_validationjs.html';
129$modversion['templates'][46]['description'] = 'The embedded template for the javascriot validation of input value.';
130$modversion['templates'][47]['file'] = 'legacy_xoopsform_grouppermform.html';
131$modversion['templates'][47]['description'] = 'The embedded template for the groupperm form.';
132$modversion['templates'][48]['file'] = 'legacy_inc_tree.html';
133$modversion['templates'][48]['description'] = 'legacy_tree default template';
134$modversion['templates'][49]['file'] = 'legacy_inc_tag_select.html';
135$modversion['templates'][49]['description'] = 'legacy_tag_select default template';
136$modversion['templates'][50]['file'] = 'legacy_inc_tag_cloud.html';
137$modversion['templates'][50]['description'] = 'legacy_tag_cloud default template';
138$modversion['templates'][51]['file'] = 'legacy_redirect_function.html';
139$modversion['templates'][51]['description'] = 'Replace direct Xoops2 system';
140$modversion['templates'][52]['file'] = 'legacy_redirect_front_function.html';
141$modversion['templates'][52]['description'] = 'Redirect top page if module content is not selected.';
142$modversion['templates'][53]['file'] = 'legacy_misc_ssllogin.html';
143$modversion['templates'][53]['description'] = 'Template SSL login';
144$modversion['templates'][54]['file'] = 'legacy_misc_smilies.html';
145$modversion['templates'][54]['description'] = 'Combine text and Emojis, smileys or logos. Keywords or symbols to images.';
146// Menu
147$modversion['hasMain'] = 0;
148
149// Blocks
150$modversion['blocks'][1]['func_num'] = 1;
151$modversion['blocks'][1]['file'] = 'legacy_usermenu.php';
152$modversion['blocks'][1]['name'] = _MI_LEGACY_BLOCK_USERMENU_NAME;
153$modversion['blocks'][1]['description'] = _MI_LEGACY_BLOCK_USERMENU_DESC;
154$modversion['blocks'][1]['show_func'] = 'b_legacy_usermenu_show';
155$modversion['blocks'][1]['template'] = 'legacy_block_usermenu.html';
156$modversion['blocks'][1]['visible_any'] = true;
157$modversion['blocks'][1]['show_all_module'] = true;
158
159$modversion['blocks'][2]['func_num'] = 2;
160$modversion['blocks'][2]['file'] = 'legacy_mainmenu.php';
161$modversion['blocks'][2]['name'] = _MI_LEGACY_BLOCK_MAINMENU_NAME;
162$modversion['blocks'][2]['description'] = _MI_LEGACY_BLOCK_MAINMENU_DESC;
163$modversion['blocks'][2]['show_func'] = 'b_legacy_mainmenu_show';
164$modversion['blocks'][2]['edit_func'] = 'b_legacy_mainmenu_edit';
165$modversion['blocks'][2]['template'] = 'legacy_block_mainmenu.html';
166$modversion['blocks'][2]['visible_any'] = true;
167$modversion['blocks'][2]['show_all_module'] = true;
168$modversion['blocks'][2]['options'] = ' 0|1';
169
170$modversion['blocks'][3]['func_num'] = 3;
171$modversion['blocks'][3]['file'] = 'legacy_search.php';
172$modversion['blocks'][3]['name'] = _MI_LEGACY_BLOCK_SEARCH_NAME;
173$modversion['blocks'][3]['description'] = _MI_LEGACY_BLOCK_SEARCH_DESC;
174$modversion['blocks'][3]['show_func'] = 'b_legacy_search_show';
175$modversion['blocks'][3]['template'] = 'legacy_block_search.html';
176$modversion['blocks'][3]['show_all_module'] = true;
177
178$modversion['blocks'][4]['func_num'] = 4;
179$modversion['blocks'][4]['file'] = 'legacy_waiting.php';
180$modversion['blocks'][4]['name'] = _MI_LEGACY_BLOCK_WAITING_NAME;
181$modversion['blocks'][4]['description'] = _MI_LEGACY_BLOCK_WAITING_DESC;
182$modversion['blocks'][4]['show_func'] = 'b_legacy_waiting_show';
183$modversion['blocks'][4]['template'] = 'legacy_block_waiting.html';
184
185$modversion['blocks'][5]['func_num'] = 5;
186$modversion['blocks'][5]['file'] = 'legacy_siteinfo.php';
187$modversion['blocks'][5]['name'] = _MI_LEGACY_BLOCK_SITEINFO_NAME;
188$modversion['blocks'][5]['description'] = _MI_LEGACY_BLOCK_SITEINFO_DESC;
189$modversion['blocks'][5]['show_func'] = 'b_legacy_siteinfo_show';
190$modversion['blocks'][5]['edit_func'] = 'b_legacy_siteinfo_edit';
191$modversion['blocks'][5]['options'] = '320|270|s_poweredby.png|1';
192$modversion['blocks'][5]['template'] = 'legacy_block_siteinfo.html';
193$modversion['blocks'][5]['show_all_module'] = true;
194
195$modversion['blocks'][6]['func_num'] = 6;
196$modversion['blocks'][6]['file'] = 'legacy_comments.php';
197$modversion['blocks'][6]['name'] = _MI_LEGACY_BLOCK_COMMENTS_NAME;
198$modversion['blocks'][6]['description'] = _MI_LEGACY_BLOCK_COMMENTS_DESC;
199$modversion['blocks'][6]['show_func'] = 'b_legacy_comments_show';
200$modversion['blocks'][6]['options'] = '10';
201$modversion['blocks'][6]['edit_func'] = 'b_legacy_comments_edit';
202$modversion['blocks'][6]['template'] = 'legacy_block_comments.html';
203$modversion['blocks'][6]['show_all_module'] = true;
204
205$modversion['blocks'][7]['func_num'] = 7;
206$modversion['blocks'][7]['file'] = 'legacy_notification.php';
207$modversion['blocks'][7]['name'] = _MI_LEGACY_BLOCK_NOTIFICATION_NAME;
208$modversion['blocks'][7]['description'] = _MI_LEGACY_BLOCK_NOTIFICATION_DESC;
209$modversion['blocks'][7]['show_func'] = 'b_legacy_notification_show';
210$modversion['blocks'][7]['template'] = 'legacy_block_notification.html';
211
212$modversion['blocks'][8]['func_num'] = 8;
213$modversion['blocks'][8]['file'] = 'legacy_themes.php';
214$modversion['blocks'][8]['name'] = _MI_LEGACY_BLOCK_THEMES_NAME;
215$modversion['blocks'][8]['description'] = _MI_LEGACY_BLOCK_THEMES_DESC;
216$modversion['blocks'][8]['show_func'] = 'b_legacy_themes_show';
217$modversion['blocks'][8]['options'] = '1|240';
218$modversion['blocks'][8]['edit_func'] = 'b_legacy_themes_edit';
219$modversion['blocks'][8]['template'] = 'legacy_block_themes.html';
220$modversion['blocks'][8]['visible_any'] = true;
221$modversion['blocks'][8]['show_all_module'] = true;
222
223$modversion['blocks'][9]['func_num'] = 9;
224$modversion['blocks'][9]['file'] = 'legacy_ai_assistant.php';
225$modversion['blocks'][9]['name'] = _MI_LEGACY_BLOCK_AI_NAME;
226$modversion['blocks'][9]['description'] = _MI_LEGACY_BLOCK_AI_DESC;
227$modversion['blocks'][9]['show_func'] = 'b_legacy_ai_assistant_show';
228$modversion['blocks'][9]['edit_func'] = 'b_legacy_ai_assistant_edit';
229$modversion['blocks'][9]['options'] = '|1000|0.7|gpt-3.5-turbo|0'; // Options order: api_token|max_tokens|temperature|model|side
230$modversion['blocks'][9]['template'] = 'legacy_block_ai_assistant.html';
231$modversion['blocks'][9]['visible_any'] = true;
232$modversion['blocks'][9]['show_all_module'] = true;
233$modversion['blocks'][9]['can_clone'] = true;
234$modversion['blocks'][9]['is_system'] = 1;