XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
xoops_version.php
1<?php
6
7// Manifesto
8$modversion['dirname'] = 'legacyRender';
9$modversion['name'] = _MI_LEGACYRENDER_NAME;
10$modversion['version'] = '2.50';
11$modversion['detailed_version'] = '2.50.0';
12$modversion['description'] = _MI_LEGACYRENDER_NAME_DESC;
13$modversion['author'] = 'The XOOPSCube Project Team';
14$modversion['credits'] = 'The XOOPSCube Project Team';
15$modversion['license'] = 'GPL see LICENSE';
16$modversion['image'] = 'images/module_render.svg';
17$modversion['icon'] = 'images/module_icon.svg';
18$modversion['help'] = 'help.html';
19$modversion['cube_style'] = true;
20
21// SQL
22// $modversion['sqlfile']['mysql'] = "sql/mysql.sql";
23// $modversion['tables'][] = "legacyrender_theme";
24
25// Menu
26$modversion['hasMain'] = 0;
27
28// Admin
29$modversion['hasAdmin'] = 1;
30$modversion['adminindex'] = 'admin/index.php';
31$modversion['adminmenu'] = 'admin/menu.php';
32
33
34// Template
35$modversion['templates'][1]['file']= 'legacy_render_dialog.html';
36
37// Preference
38$modversion['config'][]= [
39 'name' => 'logotype',
40 'title' => '_MI_LR_LOGO',
41 'description' => '_MI_LR_LOGO_DESC',
42 'formtype' => 'textbox',
43 'valuetype' => 'text',
44 'default' => XOOPS_URL . '/images/logo.png'
45];
46$modversion['config'][]= [
47 'name' => 'favicon',
48 'title' => '_MI_LR_FAVICON',
49 'description' => '_MI_LR_FAVICON_DESC',
50 'formtype' => 'textbox',
51 'valuetype' => 'text',
52 'default' => XOOPS_URL . '/images/favicon/favicon.svg'
53];
54
55$modversion['config'][]= [
56 'name' => 'banners',
57 'title' => '_MI_LEGACYRENDER_CONF_BANNERS',
58 'description' => '_MI_LEGACYRENDER_CONF_BANNERS_DESC',
59 'formtype' => 'yesno',
60 'valuetype' => 'int',
61 'default' => 0
62];
63$modversion['config'][]= [
64 'name' => 'pagetitle',
65 'title' => '_MI_LR_PAGETITLE_FORMAT',
66 'description' => '_MI_LR_PAGETITLE_FORMAT_DESC',
67 'formtype' => 'textbox',
68 'valuetype' => 'text',
69 'default' => '{modulename} {action} [pagetitle]:[/pagetitle] {pagetitle}'
70];
71$modversion['config'][]= [
72 'name' => 'meta_keywords',
73 'title' => '_MI_LR_META_KEYWORDS',
74 'description' => '_MI_LR_META_KEYWORDS_DESC',
75 'formtype' => 'textarea',
76 'valuetype' => 'text',
77 'default' => 'application, web, website, best, top, content, internet, free, article, content, forum, discussion, components, design, development, frameworks, javascript, libraries, open source'
78];
79
80$modversion['config'][]= [
81 'name' => 'meta_description',
82 'title' => '_MI_LR_META_DESCRIPTION',
83 'description' => '_MI_LR_META_DESCRIPTION_DESC',
84 'formtype' => 'textarea',
85 'valuetype' => 'text',
86 'default' => 'XCL is a web application platform with a modular and extensible architecture.'
87];
88
89$modversion['config'][]= [
90 'name' => 'meta_robots',
91 'title' => '_MI_LR_META_ROBOTS',
92 'description' => '_MI_LR_META_ROBOTS_DESC',
93 'formtype' => 'select',
94 'valuetype' => 'text',
95 'options' => ['_MI_LR_ROBOT_INDEXFOLLOW' => 'index,follow', '_MI_LR_ROBOT_NOINDEXFOLLOW' => 'noindex,follow', '_MI_LR_ROBOT_INDEXNOFOLLOW' => 'index,nofollow', '_MI_LR_ROBOT_NOINDEXNOFOLLOW' => 'noindex,nofollow'],
96 'default' => 'index,follow'
97];
98
99$modversion['config'][]= [
100 'name' => 'meta_rating',
101 'title' => '_MI_LR_META_RATING',
102 'description' => '_MI_LR_META_RATING_DESC',
103 'formtype' => 'select',
104 'valuetype' => 'text',
105 'options' => ['_MI_LR_ROBOT_METAOGEN' => 'general', '_MI_LR_ROBOT_METAO14YRS' => '14 years', '_MI_LR_ROBOT_METAOREST' => 'restricted', '_MI_LR_ROBOT_METAOMAT' => 'mature'],
106 'default' => 'general'
107];
108
109$modversion['config'][]= [
110 'name' => 'meta_author',
111 'title' => '_MI_LR_META_AUTHOR',
112 'description' => '_MI_LR_META_AUTHOR_DESC',
113 'formtype' => 'textbox',
114 'valuetype' => 'text',
115 'default' => 'XOOPSCube Project'
116];
117
118$modversion['config'][]= [
119 'name' => 'meta_copyright',
120 'title' => '_MI_LR_META_COPYRIGHT',
121 'description' => '_MI_LR_META_COPYRIGHT_DESC',
122 'formtype' => 'textbox',
123 'valuetype' => 'text',
124 'default' => 'Copyright &copy; 2002-2025'
125];
126
127// Meta Webmaster Tools
128$modversion['config'][]= [
129 'name' => 'meta_bing',
130 'title' => '_MI_LR_META_BING',
131 'description' => '_MI_LR_META_BING_DESC',
132 'formtype' => 'textbox',
133 'valuetype' => 'text',
134 'default' => ''
135];
136
137$modversion['config'][]= [
138 'name' => 'meta_google',
139 'title' => '_MI_LR_META_GOOGLE',
140 'description' => '_MI_LR_META_GOOGLE_DESC',
141 'formtype' => 'textbox',
142 'valuetype' => 'text',
143 'default' => ''
144];
145
146$modversion['config'][]= [
147 'name' => 'meta_yandex',
148 'title' => '_MI_LR_META_YANDEX',
149 'description' => '_MI_LR_META_YANDEX_DESC',
150 'formtype' => 'textbox',
151 'valuetype' => 'text',
152 'default' => ''
153];
154
155$modversion['config'][]= [
156 'name' => 'meta_fb_app',
157 'title' => '_MI_LR_META_FB_APP',
158 'description' => '_MI_LR_META_FB_APP_DESC',
159 'formtype' => 'textbox',
160 'valuetype' => 'text',
161 'default' => ''
162];
163
164$modversion['config'][]= [
165 'name' => 'meta_twitter_site',
166 'title' => '_MI_LR_META_TWITTER',
167 'description' => '_MI_LR_META_TWITTER_DESC',
168 'formtype' => 'textbox',
169 'valuetype' => 'text',
170 'default' => '@cubson'
171];
172
173// Settings
174$modversion['config'][]= [
175 'name' => 'footer',
176 'title' => '_MI_LR_FOOTER',
177 'description' => '_MI_LR_FOOTER_DESC',
178 'formtype' => 'textarea',
179 'valuetype' => 'text',
180 'default' => 'Powered by XCL 2.5.0 © 2005-2025 <a href="https://github.com/xoopscube/" rel="noopener">The XOOPSCube Project</a>'
181];
182
183$modversion['config'][]= [
184 'name' => 'css_file',
185 'title' => '_MI_LR_CSS_FILE',
186 'description' => '_MI_LR_CSS_FILE_DESC',
187 'formtype' => 'textbox',
188 'valuetype' => 'text',
189 'default' => XOOPS_URL . '/common/js/jquery-ui.min.css'
190];
191
192$modversion['config'][]= [
193 'name' => 'jquery_core',
194 'title' => '_MI_LR_JQUERY_CORE',
195 'description' => '_MI_LR_JQUERY_CORE_DESC',
196 'formtype' => 'textbox',
197 'valuetype' => 'text',
198 'default' => XOOPS_URL . '/common/js/jquery.min.js'
199];
200
201$modversion['config'][]= [
202 'name' => 'jquery_ui',
203 'title' => '_MI_LR_JQUERY_UI',
204 'description' => '_MI_LR_JQUERY_UI_DESC',
205 'formtype' => 'textbox',
206 'valuetype' => 'text',
207 'default' => XOOPS_URL . '/common/js/jquery-ui.min.js'
208];
209
210$modversion['config'][]= [
211 'name' => 'feed_url',
212 'title' => '_MI_LR_FEED_URL',
213 'description' => '_MI_LR_FEED_URL_DESC',
214 'formtype' => 'textbox',
215 'valuetype' => 'text',
216 'default' => ''
217];