Version Description
- Added: Apply layer global options to existing layers.
- Changed: Removed support forum link.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.1.78 |
Comparing to | |
See all releases |
Code changes from version 1.1.77 to 1.1.78
- admin/views/WDSViewGoptions_wds.php +143 -138
- css/wds_tables.css +5 -0
- images/wd_logo.png +0 -0
- readme.txt +6 -2
- slider-wd.php +31 -10
admin/views/WDSViewGoptions_wds.php
CHANGED
@@ -24,101 +24,101 @@ class WDSViewGoptions_wds {
|
|
24 |
|
25 |
public function display() {
|
26 |
$default_layer_fweights = array(
|
27 |
-
'lighter' => 'Lighter',
|
28 |
-
'normal' => 'Normal',
|
29 |
-
'bold' => 'Bold',
|
30 |
);
|
31 |
$default_layer_effects_in = array(
|
32 |
-
'none' => 'None',
|
33 |
-
'bounce' => 'Bounce',
|
34 |
-
'flash' => 'Flash',
|
35 |
-
'pulse' => 'Pulse',
|
36 |
-
'rubberBand' => 'RubberBand',
|
37 |
-
'shake' => 'Shake',
|
38 |
-
'swing' => 'Swing',
|
39 |
-
'tada' => 'Tada',
|
40 |
-
'wobble' => 'Wobble',
|
41 |
-
'hinge' => 'Hinge',
|
42 |
-
'lightSpeedIn' => 'LightSpeedIn',
|
43 |
-
'rollIn' => 'RollIn',
|
44 |
-
'bounceIn' => 'BounceIn',
|
45 |
-
'bounceInDown' => 'BounceInDown',
|
46 |
-
'bounceInLeft' => 'BounceInLeft',
|
47 |
-
'bounceInRight' => 'BounceInRight',
|
48 |
-
'bounceInUp' => 'BounceInUp',
|
49 |
-
'fadeIn' => 'FadeIn',
|
50 |
-
'fadeInDown' => 'FadeInDown',
|
51 |
-
'fadeInDownBig' => 'FadeInDownBig',
|
52 |
-
'fadeInLeft' => 'FadeInLeft',
|
53 |
-
'fadeInLeftBig' => 'FadeInLeftBig',
|
54 |
-
'fadeInRight' => 'FadeInRight',
|
55 |
-
'fadeInRightBig' => 'FadeInRightBig',
|
56 |
-
'fadeInUp' => 'FadeInUp',
|
57 |
-
'fadeInUpBig' => 'FadeInUpBig',
|
58 |
-
'flip' => 'Flip',
|
59 |
-
'flipInX' => 'FlipInX',
|
60 |
-
'flipInY' => 'FlipInY',
|
61 |
-
'rotateIn' => 'RotateIn',
|
62 |
-
'rotateInDownLeft' => 'RotateInDownLeft',
|
63 |
-
'rotateInDownRight' => 'RotateInDownRight',
|
64 |
-
'rotateInUpLeft' => 'RotateInUpLeft',
|
65 |
-
'rotateInUpRight' => 'RotateInUpRight',
|
66 |
-
'zoomIn' => 'ZoomIn',
|
67 |
-
'zoomInDown' => 'ZoomInDown',
|
68 |
-
'zoomInLeft' => 'ZoomInLeft',
|
69 |
-
'zoomInRight' => 'ZoomInRight',
|
70 |
-
'zoomInUp' => 'ZoomInUp',
|
71 |
);
|
72 |
$default_layer_effects_out = array(
|
73 |
-
'none' => 'None',
|
74 |
-
'bounce' => 'Bounce',
|
75 |
-
'flash' => 'Flash',
|
76 |
-
'pulse' => 'Pulse',
|
77 |
-
'rubberBand' => 'RubberBand',
|
78 |
-
'shake' => 'Shake',
|
79 |
-
'swing' => 'Swing',
|
80 |
-
'tada' => 'Tada',
|
81 |
-
'wobble' => 'Wobble',
|
82 |
-
'hinge' => 'Hinge',
|
83 |
-
'lightSpeedOut' => 'LightSpeedOut',
|
84 |
-
'rollOut' => 'RollOut',
|
85 |
-
'bounceOut' => 'BounceOut',
|
86 |
-
'bounceOutDown' => 'BounceOutDown',
|
87 |
-
'bounceOutLeft' => 'BounceOutLeft',
|
88 |
-
'bounceOutRight' => 'BounceOutRight',
|
89 |
-
'bounceOutUp' => 'BounceOutUp',
|
90 |
-
'fadeOut' => 'FadeOut',
|
91 |
-
'fadeOutDown' => 'FadeOutDown',
|
92 |
-
'fadeOutDownBig' => 'FadeOutDownBig',
|
93 |
-
'fadeOutLeft' => 'FadeOutLeft',
|
94 |
-
'fadeOutLeftBig' => 'FadeOutLeftBig',
|
95 |
-
'fadeOutRight' => 'FadeOutRight',
|
96 |
-
'fadeOutRightBig' => 'FadeOutRightBig',
|
97 |
-
'fadeOutUp' => 'FadeOutUp',
|
98 |
-
'fadeOutUpBig' => 'FadeOutUpBig',
|
99 |
-
'flip' => 'Flip',
|
100 |
-
'flipOutX' => 'FlipOutX',
|
101 |
-
'flipOutY' => 'FlipOutY',
|
102 |
-
'rotateOut' => '
|
103 |
-
'rotateOutDownLeft' => 'RotateOutDownLeft',
|
104 |
-
'rotateOutDownRight' => 'RotateOutDownRight',
|
105 |
-
'rotateOutUpLeft' => 'RotateOutUpLeft',
|
106 |
-
'rotateOutUpRight' => 'RotateOutUpRight',
|
107 |
-
'zoomOut' => 'ZoomOut',
|
108 |
-
'zoomOutDown' => 'ZoomOutDown',
|
109 |
-
'zoomOutLeft' => 'ZoomOutLeft',
|
110 |
-
'zoomOutRight' => 'ZoomOutRight',
|
111 |
-
'zoomOutUp' => 'ZoomOutUp',
|
112 |
);
|
113 |
$font_families = WDW_S_Library::get_font_families();
|
114 |
$google_fonts = WDW_S_Library::get_google_fonts();
|
115 |
$loading_gifs = array(
|
116 |
-
0 => 'Loading default',
|
117 |
-
1 => 'Loading1',
|
118 |
-
2 => 'Loading2',
|
119 |
-
3 => 'Loading3',
|
120 |
-
4 => 'Loading4',
|
121 |
-
5 => 'Loading5',
|
122 |
);
|
123 |
|
124 |
$wds_global_options = get_option("wds_global_options", 0);
|
@@ -128,6 +128,7 @@ class WDSViewGoptions_wds {
|
|
128 |
$global_options->loading_gif = get_option("wds_loading_gif", 0);
|
129 |
$global_options->register_scripts = get_option("wds_register_scripts", 0);
|
130 |
}
|
|
|
131 |
?>
|
132 |
<div class="clear"></div>
|
133 |
<form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=goptions_wds" style="width: 98%;" enctype="multipart/form-data">
|
@@ -146,7 +147,7 @@ class WDSViewGoptions_wds {
|
|
146 |
</div>
|
147 |
<table>
|
148 |
<tbody>
|
149 |
-
|
150 |
<td class="spider_label"><label><?php _e('Include scripts/styles only on necessary pages', 'wds'); ?>:</label></td>
|
151 |
<td>
|
152 |
<input type="radio" id="register_scripts1" name="register_scripts" <?php echo (($global_options->register_scripts == 1)? "checked='checked'" : ""); ?> value="1" /><label <?php echo ($global_options->register_scripts ? 'class="selected_color"' : ''); ?> for="register_scripts1"><?php _e('Yes', 'wds'); ?></label>
|
@@ -154,7 +155,7 @@ class WDSViewGoptions_wds {
|
|
154 |
<div class="spider_description"><?php _e('Helps to decrease page load time. Might not function with some custom themes.', 'wds'); ?></div>
|
155 |
</td>
|
156 |
</tr>
|
157 |
-
|
158 |
<td class="spider_label">
|
159 |
<label for="loading_gif">Loading icon:</label>
|
160 |
</td>
|
@@ -175,35 +176,35 @@ class WDSViewGoptions_wds {
|
|
175 |
<div class="spider_description"></div>
|
176 |
</td>
|
177 |
</tr>
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
<td class="spider_label"><label for="possib_add_ffamily_input"
|
188 |
<td>
|
189 |
<input type="text" id="possib_add_ffamily_input" value="" class="spider_box_input"/>
|
190 |
<input type="hidden" id="possib_add_ffamily" name="possib_add_ffamily" value="<?php echo $global_options->possib_add_ffamily; ?>"/>
|
191 |
<input type="hidden" id="possib_add_ffamily_google" name="possib_add_ffamily_google" value="<?php echo $global_options->possib_add_ffamily_google; ?>"/>
|
192 |
-
<input id="possib_add_google_fonts" type="checkbox" name="possib_add_google_fonts" value="1"/><label for="possib_add_google_fonts"
|
193 |
<input id="add_font_family" class="wds_not_image_buttons" type="button" onclick="set_ffamily_value();spider_set_input_value('task', 'save_font_family');spider_form_submit(event, 'sliders_form')" value="Add font-family"/>
|
194 |
-
<div class="spider_description"
|
195 |
</td>
|
196 |
</tr>
|
197 |
</tbody>
|
198 |
</table>
|
199 |
<fieldset class="wds_fieldset" disabled="disabled">
|
200 |
<legend><?php _e('Default options for layers', 'wds'); ?></legend>
|
201 |
-
<div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"
|
202 |
<table>
|
203 |
<tbody>
|
204 |
<tr>
|
205 |
<td class="spider_label">
|
206 |
-
<label for="default_layer_ffamily"
|
207 |
</td>
|
208 |
<td>
|
209 |
<select class="select_icon select_icon_320" style="width: 200px;" id="default_layer_ffamily" onchange="wds_change_fonts('', 1)" name="default_layer_ffamily">
|
@@ -217,15 +218,15 @@ class WDSViewGoptions_wds {
|
|
217 |
?>
|
218 |
</select>
|
219 |
<input id="default_layer_google_fonts1" type="radio" name="default_layer_google_fonts" value="1" <?php echo (($global_options->default_layer_google_fonts) ? 'checked="checked"' : ''); ?> onchange="wds_change_fonts()" />
|
220 |
-
<label for="default_layer_google_fonts1"
|
221 |
<input id="default_layer_google_fonts0" type="radio" name="default_layer_google_fonts" value="0" <?php echo (($global_options->default_layer_google_fonts) ? '' : 'checked="checked"'); ?> onchange="wds_change_fonts()" />
|
222 |
-
<label for="default_layer_google_fonts0"
|
223 |
<div class="spider_description"></div>
|
224 |
</td>
|
225 |
</tr>
|
226 |
<tr>
|
227 |
<td class="spider_label">
|
228 |
-
<label for="default_layer_fweight"
|
229 |
</td>
|
230 |
<td>
|
231 |
<select class="select_icon select_icon_320" style="width:70px" id="default_layer_fweight" name="default_layer_fweight">
|
@@ -242,45 +243,45 @@ class WDSViewGoptions_wds {
|
|
242 |
</tr>
|
243 |
<tr>
|
244 |
<td class="spider_label">
|
245 |
-
<label for="default_layer_effect_in"
|
246 |
</td>
|
247 |
<td>
|
248 |
-
<span style="display: table-cell;">
|
249 |
-
<input id="default_layer_start" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_start; ?>" name="default_layer_start"/>ms
|
250 |
-
<div class="spider_description">Start</div>
|
251 |
-
</span>
|
252 |
<span style="display: table-cell;">
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
<?php
|
261 |
-
}
|
262 |
?>
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
<span style="display: table-cell;">
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
</td>
|
275 |
</tr>
|
276 |
<tr>
|
277 |
<td class="spider_label">
|
278 |
-
<label for="default_layer_effect_out"
|
279 |
</td>
|
280 |
<td>
|
281 |
<span style="display: table-cell;">
|
282 |
<input id="default_layer_end" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_end; ?>" name="default_layer_end">ms
|
283 |
-
<div class="spider_description"
|
284 |
</span>
|
285 |
<span style="display: table-cell;">
|
286 |
<select class="select_icon select_icon_320" name="default_layer_effect_out" id="default_layer_effect_out" style="width:150px;">
|
@@ -292,32 +293,36 @@ class WDSViewGoptions_wds {
|
|
292 |
}
|
293 |
?>
|
294 |
</select>
|
295 |
-
<div class="spider_description"
|
296 |
</span>
|
297 |
<span style="display: table-cell;">
|
298 |
<input id="default_layer_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" value="<?php echo $global_options->default_layer_duration_eff_out; ?>" name="default_layer_duration_eff_out">ms
|
299 |
-
<div class="spider_description"
|
300 |
</span>
|
301 |
<span style="display: table-cell;">
|
302 |
<input id="default_layer_infinite_out" type="text" name="default_layer_infinite_out" value="<?php echo $global_options->default_layer_infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" />
|
303 |
-
<div class="spider_description"
|
304 |
</span>
|
305 |
</td>
|
306 |
</tr>
|
307 |
<tr>
|
308 |
<td title="Add class" class="spider_label">
|
309 |
-
<label for="default_layer_add_class"
|
310 |
</td>
|
311 |
<td>
|
312 |
<input id="default_layer_add_class" class="spider_char_input" type="text" value="<?php echo $global_options->default_layer_add_class; ?>" name="default_layer_add_class" />
|
313 |
</td>
|
314 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
315 |
</tbody>
|
316 |
</table>
|
317 |
</fieldset>
|
318 |
<input id="task" name="task" type="hidden" value="" />
|
319 |
-
<input id="lay_option" name="lay_option" type="hidden" value="" />
|
320 |
</form>
|
321 |
<?php
|
322 |
}
|
323 |
-
}
|
24 |
|
25 |
public function display() {
|
26 |
$default_layer_fweights = array(
|
27 |
+
'lighter' => __('Lighter', 'wds'),
|
28 |
+
'normal' => __('Normal', 'wds'),
|
29 |
+
'bold' => __('Bold', 'wds'),
|
30 |
);
|
31 |
$default_layer_effects_in = array(
|
32 |
+
'none' => __('None', 'wds'),
|
33 |
+
'bounce' => __('Bounce', 'wds'),
|
34 |
+
'flash' => __('Flash', 'wds'),
|
35 |
+
'pulse' => __('Pulse', 'wds'),
|
36 |
+
'rubberBand' => __('RubberBand', 'wds'),
|
37 |
+
'shake' => __('Shake', 'wds'),
|
38 |
+
'swing' => __('Swing', 'wds'),
|
39 |
+
'tada' => __('Tada', 'wds'),
|
40 |
+
'wobble' => __('Wobble', 'wds'),
|
41 |
+
'hinge' => __('Hinge', 'wds'),
|
42 |
+
'lightSpeedIn' => __('LightSpeedIn', 'wds'),
|
43 |
+
'rollIn' => __('RollIn', 'wds'),
|
44 |
+
'bounceIn' => __('BounceIn', 'wds'),
|
45 |
+
'bounceInDown' => __('BounceInDown', 'wds'),
|
46 |
+
'bounceInLeft' => __('BounceInLeft', 'wds'),
|
47 |
+
'bounceInRight' => __('BounceInRight', 'wds'),
|
48 |
+
'bounceInUp' => __('BounceInUp', 'wds'),
|
49 |
+
'fadeIn' => __('FadeIn', 'wds'),
|
50 |
+
'fadeInDown' => __('FadeInDown', 'wds'),
|
51 |
+
'fadeInDownBig' => __('FadeInDownBig', 'wds'),
|
52 |
+
'fadeInLeft' => __('FadeInLeft', 'wds'),
|
53 |
+
'fadeInLeftBig' => __('FadeInLeftBig', 'wds'),
|
54 |
+
'fadeInRight' => __('FadeInRight', 'wds'),
|
55 |
+
'fadeInRightBig' => __('FadeInRightBig', 'wds'),
|
56 |
+
'fadeInUp' => __('FadeInUp', 'wds'),
|
57 |
+
'fadeInUpBig' => __('FadeInUpBig', 'wds'),
|
58 |
+
'flip' => __('Flip', 'wds'),
|
59 |
+
'flipInX' => __('FlipInX', 'wds'),
|
60 |
+
'flipInY' => __('FlipInY', 'wds'),
|
61 |
+
'rotateIn' => __('RotateIn', 'wds'),
|
62 |
+
'rotateInDownLeft' => __('RotateInDownLeft', 'wds'),
|
63 |
+
'rotateInDownRight' => __('RotateInDownRight', 'wds'),
|
64 |
+
'rotateInUpLeft' => __('RotateInUpLeft', 'wds'),
|
65 |
+
'rotateInUpRight' => __('RotateInUpRight', 'wds'),
|
66 |
+
'zoomIn' => __('ZoomIn', 'wds'),
|
67 |
+
'zoomInDown' => __('ZoomInDown', 'wds'),
|
68 |
+
'zoomInLeft' => __('ZoomInLeft', 'wds'),
|
69 |
+
'zoomInRight' => __('ZoomInRight', 'wds'),
|
70 |
+
'zoomInUp' => __('ZoomInUp', 'wds'),
|
71 |
);
|
72 |
$default_layer_effects_out = array(
|
73 |
+
'none' => __('None', 'wds'),
|
74 |
+
'bounce' => __('Bounce', 'wds'),
|
75 |
+
'flash' => __('Flash', 'wds'),
|
76 |
+
'pulse' => __('Pulse', 'wds'),
|
77 |
+
'rubberBand' => __('RubberBand', 'wds'),
|
78 |
+
'shake' => __('Shake', 'wds'),
|
79 |
+
'swing' => __('Swing', 'wds'),
|
80 |
+
'tada' => __('Tada', 'wds'),
|
81 |
+
'wobble' => __('Wobble', 'wds'),
|
82 |
+
'hinge' => __('Hinge', 'wds'),
|
83 |
+
'lightSpeedOut' => __('LightSpeedOut', 'wds'),
|
84 |
+
'rollOut' => __('RollOut', 'wds'),
|
85 |
+
'bounceOut' => __('BounceOut', 'wds'),
|
86 |
+
'bounceOutDown' => __('BounceOutDown', 'wds'),
|
87 |
+
'bounceOutLeft' => __('BounceOutLeft', 'wds'),
|
88 |
+
'bounceOutRight' => __('BounceOutRight', 'wds'),
|
89 |
+
'bounceOutUp' => __('BounceOutUp', 'wds'),
|
90 |
+
'fadeOut' => __('FadeOut', 'wds'),
|
91 |
+
'fadeOutDown' => __('FadeOutDown', 'wds'),
|
92 |
+
'fadeOutDownBig' => __('FadeOutDownBig', 'wds'),
|
93 |
+
'fadeOutLeft' => __('FadeOutLeft', 'wds'),
|
94 |
+
'fadeOutLeftBig' => __('FadeOutLeftBig', 'wds'),
|
95 |
+
'fadeOutRight' => __('FadeOutRight', 'wds'),
|
96 |
+
'fadeOutRightBig' => __('FadeOutRightBig', 'wds'),
|
97 |
+
'fadeOutUp' => __('FadeOutUp', 'wds'),
|
98 |
+
'fadeOutUpBig' => __('FadeOutUpBig', 'wds'),
|
99 |
+
'flip' => __('Flip', 'wds'),
|
100 |
+
'flipOutX' => __('FlipOutX', 'wds'),
|
101 |
+
'flipOutY' => __('FlipOutY', 'wds'),
|
102 |
+
'rotateOut' => __('RubberBand', 'wds'),
|
103 |
+
'rotateOutDownLeft' => __('RotateOutDownLeft', 'wds'),
|
104 |
+
'rotateOutDownRight' => __('RotateOutDownRight', 'wds'),
|
105 |
+
'rotateOutUpLeft' => __('RotateOutUpLeft', 'wds'),
|
106 |
+
'rotateOutUpRight' => __('RotateOutUpRight', 'wds'),
|
107 |
+
'zoomOut' => __('ZoomOut', 'wds'),
|
108 |
+
'zoomOutDown' => __('ZoomOutDown', 'wds'),
|
109 |
+
'zoomOutLeft' => __('ZoomOutLeft', 'wds'),
|
110 |
+
'zoomOutRight' => __('ZoomOutRight', 'wds'),
|
111 |
+
'zoomOutUp' => __('ZoomOutUp', 'wds'),
|
112 |
);
|
113 |
$font_families = WDW_S_Library::get_font_families();
|
114 |
$google_fonts = WDW_S_Library::get_google_fonts();
|
115 |
$loading_gifs = array(
|
116 |
+
0 => __('Loading default', 'wds'),
|
117 |
+
1 => __('Loading1', 'wds'),
|
118 |
+
2 => __('Loading2', 'wds'),
|
119 |
+
3 => __('Loading3', 'wds'),
|
120 |
+
4 => __('Loading4', 'wds'),
|
121 |
+
5 => __('Loading5', 'wds'),
|
122 |
);
|
123 |
|
124 |
$wds_global_options = get_option("wds_global_options", 0);
|
128 |
$global_options->loading_gif = get_option("wds_loading_gif", 0);
|
129 |
$global_options->register_scripts = get_option("wds_register_scripts", 0);
|
130 |
}
|
131 |
+
|
132 |
?>
|
133 |
<div class="clear"></div>
|
134 |
<form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=goptions_wds" style="width: 98%;" enctype="multipart/form-data">
|
147 |
</div>
|
148 |
<table>
|
149 |
<tbody>
|
150 |
+
<tr>
|
151 |
<td class="spider_label"><label><?php _e('Include scripts/styles only on necessary pages', 'wds'); ?>:</label></td>
|
152 |
<td>
|
153 |
<input type="radio" id="register_scripts1" name="register_scripts" <?php echo (($global_options->register_scripts == 1)? "checked='checked'" : ""); ?> value="1" /><label <?php echo ($global_options->register_scripts ? 'class="selected_color"' : ''); ?> for="register_scripts1"><?php _e('Yes', 'wds'); ?></label>
|
155 |
<div class="spider_description"><?php _e('Helps to decrease page load time. Might not function with some custom themes.', 'wds'); ?></div>
|
156 |
</td>
|
157 |
</tr>
|
158 |
+
<tr>
|
159 |
<td class="spider_label">
|
160 |
<label for="loading_gif">Loading icon:</label>
|
161 |
</td>
|
176 |
<div class="spider_description"></div>
|
177 |
</td>
|
178 |
</tr>
|
179 |
+
<tr>
|
180 |
+
<td class="spider_label"><label><?php _e('Turn SliderWD Media Upload', 'wds'); ?>:</label></td>
|
181 |
+
<td>
|
182 |
+
<input type="radio" id="spider_uploader1" name="spider_uploader" <?php echo (($global_options->spider_uploader == 1)? "checked='checked'" : ""); ?> value="1" /><label <?php echo ($global_options->spider_uploader ? 'class="selected_color"' : ''); ?> for="spider_uploader1"><?php _e('Yes', 'wds'); ?></label>
|
183 |
+
<input type="radio" id="spider_uploader0" name="spider_uploader" <?php echo (($global_options->spider_uploader == 0)? "checked='checked'" : ""); ?> value="0" /><label <?php echo ($global_options->spider_uploader ? '' : 'class="selected_color"'); ?> for="spider_uploader0"><?php _e('No', 'wds'); ?></label>
|
184 |
+
<div class="spider_description"><?php _e('Choose the option to use the custom media upload instead of the WordPress default for adding images.', 'wds'); ?></div>
|
185 |
+
</td>
|
186 |
+
</tr>
|
187 |
+
<tr>
|
188 |
+
<td class="spider_label"><label for="possib_add_ffamily_input"><?php _e('Add font-family:', 'wds'); ?> </label></td>
|
189 |
<td>
|
190 |
<input type="text" id="possib_add_ffamily_input" value="" class="spider_box_input"/>
|
191 |
<input type="hidden" id="possib_add_ffamily" name="possib_add_ffamily" value="<?php echo $global_options->possib_add_ffamily; ?>"/>
|
192 |
<input type="hidden" id="possib_add_ffamily_google" name="possib_add_ffamily_google" value="<?php echo $global_options->possib_add_ffamily_google; ?>"/>
|
193 |
+
<input id="possib_add_google_fonts" type="checkbox" name="possib_add_google_fonts" value="1"/><label for="possib_add_google_fonts"><?php _e('Add to Google fonts', 'wds') ?></label>
|
194 |
<input id="add_font_family" class="wds_not_image_buttons" type="button" onclick="set_ffamily_value();spider_set_input_value('task', 'save_font_family');spider_form_submit(event, 'sliders_form')" value="Add font-family"/>
|
195 |
+
<div class="spider_description"><?php _e('The added font family will appear in the drop-down list of fonts.', 'wds'); ?></div>
|
196 |
</td>
|
197 |
</tr>
|
198 |
</tbody>
|
199 |
</table>
|
200 |
<fieldset class="wds_fieldset" disabled="disabled">
|
201 |
<legend><?php _e('Default options for layers', 'wds'); ?></legend>
|
202 |
+
<div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"><?php _e('This functionality is disabled in free version.', 'wds'); ?></div>
|
203 |
<table>
|
204 |
<tbody>
|
205 |
<tr>
|
206 |
<td class="spider_label">
|
207 |
+
<label for="default_layer_ffamily"><?php _e('Font family:', 'wds'); ?></label>
|
208 |
</td>
|
209 |
<td>
|
210 |
<select class="select_icon select_icon_320" style="width: 200px;" id="default_layer_ffamily" onchange="wds_change_fonts('', 1)" name="default_layer_ffamily">
|
218 |
?>
|
219 |
</select>
|
220 |
<input id="default_layer_google_fonts1" type="radio" name="default_layer_google_fonts" value="1" <?php echo (($global_options->default_layer_google_fonts) ? 'checked="checked"' : ''); ?> onchange="wds_change_fonts()" />
|
221 |
+
<label for="default_layer_google_fonts1"><?php __('Google fonts', 'wds'); ?></label>
|
222 |
<input id="default_layer_google_fonts0" type="radio" name="default_layer_google_fonts" value="0" <?php echo (($global_options->default_layer_google_fonts) ? '' : 'checked="checked"'); ?> onchange="wds_change_fonts()" />
|
223 |
+
<label for="default_layer_google_fonts0"><?php _e('Default', 'wds'); ?></label>
|
224 |
<div class="spider_description"></div>
|
225 |
</td>
|
226 |
</tr>
|
227 |
<tr>
|
228 |
<td class="spider_label">
|
229 |
+
<label for="default_layer_fweight"><?php _e('Font weight:', 'wds'); ?></label>
|
230 |
</td>
|
231 |
<td>
|
232 |
<select class="select_icon select_icon_320" style="width:70px" id="default_layer_fweight" name="default_layer_fweight">
|
243 |
</tr>
|
244 |
<tr>
|
245 |
<td class="spider_label">
|
246 |
+
<label for="default_layer_effect_in"><?php _e('Effect In:' , 'wds'); ?></label>
|
247 |
</td>
|
248 |
<td>
|
|
|
|
|
|
|
|
|
249 |
<span style="display: table-cell;">
|
250 |
+
<input id="default_layer_start" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_start; ?>" name="default_layer_start"/>ms
|
251 |
+
<div class="spider_description"><?php __('Start', 'wds'); ?></div>
|
252 |
+
</span>
|
253 |
+
<span style="display: table-cell;">
|
254 |
+
<select class="select_icon select_icon_320" name="default_layer_effect_in" id="default_layer_effect_in" style="width:150px;">
|
255 |
+
<?php
|
256 |
+
foreach ( $default_layer_effects_in as $key => $default_layer_effect_in ) {
|
|
|
|
|
257 |
?>
|
258 |
+
<option value="<?php echo $key; ?>" <?php if ( $global_options->default_layer_effect_in == $key ) {
|
259 |
+
echo 'selected="selected"';
|
260 |
+
} ?>><?php echo $default_layer_effect_in; ?></option>
|
261 |
+
<?php
|
262 |
+
}
|
263 |
+
?>
|
264 |
+
</select>
|
265 |
+
<div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
|
266 |
+
</span>
|
267 |
+
<span style="display: table-cell;">
|
268 |
+
<input id="default_layer_duration_eff_in" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_duration_eff_in; ?>" name="default_layer_duration_eff_in"/>ms
|
269 |
+
<div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
|
270 |
+
</span>
|
271 |
<span style="display: table-cell;">
|
272 |
+
<input id="default_layer_infinite_in" type="text" name="default_layer_infinite_in" value="<?php echo $global_options->default_layer_infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" />
|
273 |
+
<div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
|
274 |
+
</span>
|
275 |
</td>
|
276 |
</tr>
|
277 |
<tr>
|
278 |
<td class="spider_label">
|
279 |
+
<label for="default_layer_effect_out"><?php _e('Effect Out:','wds'); ?></label>
|
280 |
</td>
|
281 |
<td>
|
282 |
<span style="display: table-cell;">
|
283 |
<input id="default_layer_end" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_end; ?>" name="default_layer_end">ms
|
284 |
+
<div class="spider_description"><?php _e('Start', 'wds'); ?></div>
|
285 |
</span>
|
286 |
<span style="display: table-cell;">
|
287 |
<select class="select_icon select_icon_320" name="default_layer_effect_out" id="default_layer_effect_out" style="width:150px;">
|
293 |
}
|
294 |
?>
|
295 |
</select>
|
296 |
+
<div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
|
297 |
</span>
|
298 |
<span style="display: table-cell;">
|
299 |
<input id="default_layer_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" value="<?php echo $global_options->default_layer_duration_eff_out; ?>" name="default_layer_duration_eff_out">ms
|
300 |
+
<div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
|
301 |
</span>
|
302 |
<span style="display: table-cell;">
|
303 |
<input id="default_layer_infinite_out" type="text" name="default_layer_infinite_out" value="<?php echo $global_options->default_layer_infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" />
|
304 |
+
<div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
|
305 |
</span>
|
306 |
</td>
|
307 |
</tr>
|
308 |
<tr>
|
309 |
<td title="Add class" class="spider_label">
|
310 |
+
<label for="default_layer_add_class"><?php _e('Add class:', 'wds'); ?> </label>
|
311 |
</td>
|
312 |
<td>
|
313 |
<input id="default_layer_add_class" class="spider_char_input" type="text" value="<?php echo $global_options->default_layer_add_class; ?>" name="default_layer_add_class" />
|
314 |
</td>
|
315 |
</tr>
|
316 |
+
<tr>
|
317 |
+
<td colspan="2" style="text-align: right;">
|
318 |
+
<input type="button" class="wds_buttons_320 action_buttons add_posts wds_free_button button_padding" value="<?php _e('Apply to existing layers', 'wds'); ?>"/>
|
319 |
+
</td>
|
320 |
+
</tr>
|
321 |
</tbody>
|
322 |
</table>
|
323 |
</fieldset>
|
324 |
<input id="task" name="task" type="hidden" value="" />
|
|
|
325 |
</form>
|
326 |
<?php
|
327 |
}
|
328 |
+
}
|
css/wds_tables.css
CHANGED
@@ -1881,4 +1881,9 @@ th.sorted a span {
|
|
1881 |
line-height: 29px;
|
1882 |
margin: 0;
|
1883 |
padding: 11px 15px 4px 0;
|
|
|
|
|
|
|
|
|
|
|
1884 |
}
|
1881 |
line-height: 29px;
|
1882 |
margin: 0;
|
1883 |
padding: 11px 15px 4px 0;
|
1884 |
+
}
|
1885 |
+
|
1886 |
+
.button_padding {
|
1887 |
+
border-bottom: 3px solid #258AA6;
|
1888 |
+
padding-left: 7px !important;
|
1889 |
}
|
images/wd_logo.png
ADDED
Binary file
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
|
4 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -129,8 +129,12 @@ After downloading the ZIP file of the slider plugin,
|
|
129 |
|
130 |
== Changelog ==
|
131 |
|
|
|
|
|
|
|
|
|
132 |
= 1.1.77 =
|
133 |
-
Added: Minimum font size for text layers
|
134 |
|
135 |
= 1.1.76 =
|
136 |
* Added: Support forum link.
|
4 |
Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.1.78
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
129 |
|
130 |
== Changelog ==
|
131 |
|
132 |
+
= 1.1.78 =
|
133 |
+
* Added: Apply layer global options to existing layers.
|
134 |
+
* Changed: Removed support forum link.
|
135 |
+
|
136 |
= 1.1.77 =
|
137 |
+
* Added: Minimum font size for text layers
|
138 |
|
139 |
= 1.1.76 =
|
140 |
* Added: Support forum link.
|
slider-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
-
* Version: 1.1.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -14,7 +14,7 @@ define('WD_S_NAME', plugin_basename(dirname(__FILE__)));
|
|
14 |
define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
|
15 |
define('WD_S_URL', plugins_url(WD_S_NAME));
|
16 |
|
17 |
-
define('WD_S_VERSION', '1.1.
|
18 |
|
19 |
function wds_use_home_url() {
|
20 |
$home_url = str_replace("http://", "", home_url());
|
@@ -691,6 +691,7 @@ function wds_topic() {
|
|
691 |
$user_guide_link = 'https://web-dorado.com/wordpress-slider-wd/';
|
692 |
$support_forum_link = 'https://wordpress.org/support/plugin/slider-wd';
|
693 |
$pro_link = 'https://web-dorado.com/files/fromslider.php';
|
|
|
694 |
$support_icon = WD_S_URL . '/images/support.png';
|
695 |
$prefix = 'wds';
|
696 |
$is_free = TRUE;
|
@@ -726,8 +727,8 @@ function wds_topic() {
|
|
726 |
color: #6e7990;
|
727 |
font-size: 14px;
|
728 |
font-weight: bold;
|
729 |
-
line-height:
|
730 |
-
padding:
|
731 |
vertical-align: middle;
|
732 |
width: 98%;
|
733 |
}
|
@@ -753,15 +754,30 @@ function wds_topic() {
|
|
753 |
}
|
754 |
.wd_topic .wd_pro {
|
755 |
float: right;
|
756 |
-
|
757 |
-
padding: 0 10px;
|
758 |
}
|
759 |
.wd_topic .wd_pro a {
|
760 |
border: none;
|
761 |
box-shadow: none !important;
|
762 |
-
color: #FFFFFF;
|
763 |
text-decoration: none;
|
764 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
765 |
</style>
|
766 |
<div class="update-nag wd_topic">
|
767 |
<?php
|
@@ -778,20 +794,25 @@ function wds_topic() {
|
|
778 |
if ($is_free) {
|
779 |
$text = strtoupper(__('Upgrade to paid version', $prefix));
|
780 |
?>
|
781 |
-
|
782 |
<a target="_blank" href="<?php echo $pro_link; ?>">
|
|
|
783 |
<span><?php echo $text; ?></span>
|
784 |
</a>
|
785 |
-
</
|
786 |
<?php
|
787 |
}
|
788 |
-
|
|
|
789 |
<span class="wd_support">
|
790 |
<a target="_blank" href="<?php echo $support_forum_link; ?>">
|
791 |
<img src="<?php echo $support_icon; ?>" />
|
792 |
<?php _e('Support Forum', $prefix); ?>
|
793 |
</a>
|
794 |
</span>
|
|
|
|
|
|
|
795 |
</div>
|
796 |
<?php
|
797 |
echo ob_get_clean();
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
+
* Version: 1.1.78
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
14 |
define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
|
15 |
define('WD_S_URL', plugins_url(WD_S_NAME));
|
16 |
|
17 |
+
define('WD_S_VERSION', '1.1.78');
|
18 |
|
19 |
function wds_use_home_url() {
|
20 |
$home_url = str_replace("http://", "", home_url());
|
691 |
$user_guide_link = 'https://web-dorado.com/wordpress-slider-wd/';
|
692 |
$support_forum_link = 'https://wordpress.org/support/plugin/slider-wd';
|
693 |
$pro_link = 'https://web-dorado.com/files/fromslider.php';
|
694 |
+
$pro_icon = WD_S_URL . '/images/wd_logo.png';
|
695 |
$support_icon = WD_S_URL . '/images/support.png';
|
696 |
$prefix = 'wds';
|
697 |
$is_free = TRUE;
|
727 |
color: #6e7990;
|
728 |
font-size: 14px;
|
729 |
font-weight: bold;
|
730 |
+
line-height: 44px;
|
731 |
+
padding: 0 0 0 15px;
|
732 |
vertical-align: middle;
|
733 |
width: 98%;
|
734 |
}
|
754 |
}
|
755 |
.wd_topic .wd_pro {
|
756 |
float: right;
|
757 |
+
padding: 0;
|
|
|
758 |
}
|
759 |
.wd_topic .wd_pro a {
|
760 |
border: none;
|
761 |
box-shadow: none !important;
|
|
|
762 |
text-decoration: none;
|
763 |
}
|
764 |
+
.wd_topic .wd_pro img {
|
765 |
+
border: none;
|
766 |
+
display: inline-block;
|
767 |
+
vertical-align: middle;
|
768 |
+
}
|
769 |
+
.wd_topic .wd_pro a,
|
770 |
+
.wd_topic .wd_pro a:active,
|
771 |
+
.wd_topic .wd_pro a:visited,
|
772 |
+
.wd_topic .wd_pro a:hover {
|
773 |
+
background-color: #D8D8D8;
|
774 |
+
color: #175c8b;
|
775 |
+
display: inline-block;
|
776 |
+
font-size: 11px;
|
777 |
+
font-weight: bold;
|
778 |
+
padding: 0 10px;
|
779 |
+
vertical-align: middle;
|
780 |
+
}
|
781 |
</style>
|
782 |
<div class="update-nag wd_topic">
|
783 |
<?php
|
794 |
if ($is_free) {
|
795 |
$text = strtoupper(__('Upgrade to paid version', $prefix));
|
796 |
?>
|
797 |
+
<div class="wd_pro">
|
798 |
<a target="_blank" href="<?php echo $pro_link; ?>">
|
799 |
+
<img alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo $pro_icon; ?>" />
|
800 |
<span><?php echo $text; ?></span>
|
801 |
</a>
|
802 |
+
</div>
|
803 |
<?php
|
804 |
}
|
805 |
+
if (FALSE) {
|
806 |
+
?>
|
807 |
<span class="wd_support">
|
808 |
<a target="_blank" href="<?php echo $support_forum_link; ?>">
|
809 |
<img src="<?php echo $support_icon; ?>" />
|
810 |
<?php _e('Support Forum', $prefix); ?>
|
811 |
</a>
|
812 |
</span>
|
813 |
+
<?php
|
814 |
+
}
|
815 |
+
?>
|
816 |
</div>
|
817 |
<?php
|
818 |
echo ob_get_clean();
|