forked from IPFModules/billboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
icms_version.php
188 lines (160 loc) · 5.59 KB
/
icms_version.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?php
/**
* Billboard version infomation
*
* This file holds the configuration information of this module
*
* @copyright (c) 2011-2015 David Janssens
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)
* @since 1.0
* @author David Janssens (fiammybe) <[email protected]>
* @package billboard
* @version $Id$
*/
defined("ICMS_ROOT_PATH") or die("ICMS root path not defined");
/** General Information */
$modversion = array(
"name" => _MI_BILLBOARD_MD_NAME,
"version" => 2.0,
"description" => _MI_BILLBOARD_MD_DESC,
"author" => "David Janssens (fiammybe)",
"credits" => "ImpressCMS core team",
"help" => "",
"license" => "MIT",
"official" => 0,
"dirname" => basename(dirname(__FILE__)),
"modname" => "billboard",
/** Images information */
"iconsmall" => "images/icon_small.png",
"iconbig" => "images/icon_big.png",
"image" => "images/icon_big.png", /* for backward compatibility */
/** Development information */
"status_version" => "2",
"status" => "Beta",
"date" => "26/10/2023",
"author_word" => "Preparing for ImpressCMS 2 and PHP 8+",
"warning" => _CO_ICMS_WARNING_BETA,
/** Contributors */
"developer_website_url" => "http://www.impresscms.be",
"developer_website_name" => "ImpressCMS",
"developer_email" => "[email protected]",
/** Administrative information */
"hasAdmin" => 1,
"adminindex" => "admin/index.php",
"adminmenu" => "admin/menu.php",
/** Install and update informations */
"onInstall" => "include/onupdate.inc.php",
"onUpdate" => "include/onupdate.inc.php",
/** Search information */
"hasSearch" => 0,
/** Menu information */
"hasMain" => 0,
/** Comments information */
"hasComments" => 0
);
/** other possible types: testers, translators, documenters and other */
$modversion['people']['developers'][] = "David Janssens (fiammybe)";
/** Manual */
$modversion['manual']['wiki'][] = "<a href='http://wiki.impresscms.org/index.php?title=Billboard' target='_blank'>English</a>";
/** Database information */
$modversion['object_items'][1] = 'slide';
$modversion["tables"] = icms_getTablesArray($modversion['dirname'], $modversion['object_items']);
/** Templates information */
$modversion['templates'] = array(
array("file" => "billboard_admin_slide.html", "description" => "slide Admin Index"),
array("file" => "billboard_slide.html", "description" => "slide Index"),
array('file' => 'billboard_header.html', 'description' => 'Module Header'),
array('file' => 'billboard_footer.html', 'description' => 'Module Footer'));
/** Blocks information */
/** Blocks information */
$modversion['blocks'][1] = array(
'file' => 'billboard_slides_show.php',
'name' => '_MI_BB_SLIDESHOWLIST',
'description' => '_MI_BB_SLIDESHOWDSC',
'show_func' => 'billboard_slides_show',
'template' => 'billboard_slides_show.html');
/** Preferences information */
$modversion['config'][] = array(
'name' => 'coin_width',
'title' => '_MI_BB_COINWIDTH',
'description' => '_MI_BB_COINWIDTHDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 565);
$modversion['config'][] = array(
'name' => 'coin_height',
'title' => '_MI_BB_COINHEIGHT',
'description' => '_MI_BB_COINHEIGHTDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 290);
$modversion['config'][] = array(
'name' => 'coin_spw',
'title' => '_MI_BB_COINSPW',
'description' => '_MI_BB_COINSPWDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 7);
$modversion['config'][] = array(
'name' => 'coin_sph',
'title' => '_MI_BB_COINSPH',
'description' => '_MI_BB_COINSPHDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 5);
$modversion['config'][] = array(
'name' => 'coin_delay',
'title' => '_MI_BB_COINDELAY',
'description' => '_MI_BB_COINDELAYDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 3000);
$modversion['config'][] = array(
'name' => 'coin_sdelay',
'title' => '_MI_BB_COINSDELAY',
'description' => '_MI_BB_COINSDELAYDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 30);
$modversion['config'][] = array(
'name' => 'coin_opacity',
'title' => '_MI_BB_COINOPACITY',
'description' => '_MI_BB_COINOPACITYDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 0.7);
$modversion['config'][] = array(
'name' => 'coin_titlespeed',
'title' => '_MI_BB_COINTTLSPEED',
'description' => '_MI_BB_COINTTLSPEEDDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 500);
$modversion['config'][] = array(
'name' => 'coin_effect',
'title' => '_MI_BB_COINEFFECT',
'description' => '_MI_BB_COINEFFECTDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 'random');
$modversion['config'][] = array(
'name' => 'coin_navigation',
'title' => '_MI_BB_COINNAV',
'description' => '_MI_BB_COINNAVDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 'true');
$modversion['config'][] = array(
'name' => 'coin_links',
'title' => '_MI_BB_COINLNK',
'description' => '_MI_BB_COINLNKDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 'true');
$modversion['config'][] = array(
'name' => 'coin_hoverpause',
'title' => '_MI_BB_COINPAUSE',
'description' => '_MI_BB_COINPAUSEDSC',
'formtype' => 'textbox',
'valuetype' => 'text',
'default' => 'true');