Slider by WD – Responsive Slider - Version 1.0.35

Version Description

Changed: Compability with Wordpress 4.3.
Changed: Filmstrip separator.
Changed: Message classes.

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.0.35
Comparing to
See all releases

Code changes from version 1.0.34 to 1.0.35

admin/controllers/WDSControllerSliders_wds.php CHANGED
@@ -629,7 +629,7 @@ class WDSControllerSliders_wds {
629
 
630
  require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
631
  $view = new WDSViewSliders_wds($model);
632
- echo WDW_S_Library::message('Changes must be saved.', 'error');
633
  $view->edit($slider_id, TRUE);
634
  }
635
  public function duplicate() {
@@ -639,7 +639,7 @@ class WDSControllerSliders_wds {
639
  $model = new WDSModelSliders_wds();
640
  require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
641
  $view = new WDSViewSliders_wds($model);
642
- echo WDW_S_Library::message('Item Succesfully Duplicated.', 'updated');
643
  $view->edit($new_slider_id);
644
  }
645
 
@@ -651,7 +651,7 @@ class WDSControllerSliders_wds {
651
  $this->duplicate_tabels($slider_id);
652
  }
653
  }
654
- echo WDW_S_Library::message('Items Succesfully Duplicated.', 'updated');
655
  $this->display();
656
  }
657
 
@@ -1111,10 +1111,10 @@ class WDSControllerSliders_wds {
1111
  if ($wpdb->query($query)) {
1112
  $query_image = $wpdb->prepare('DELETE t1.*, t2.* FROM ' . $wpdb->prefix . 'wdsslide as t1 LEFT JOIN ' . $wpdb->prefix . 'wdslayer as t2 ON t1.id=t2.slide_id WHERE t1.slider_id="%d"', $id);
1113
  $wpdb->query($query_image);
1114
- echo WDW_S_Library::message('Item Succesfully Deleted.', 'updated');
1115
  }
1116
  else {
1117
- echo WDW_S_Library::message('Error. Please install plugin again.', 'error');
1118
  }
1119
  $this->display();
1120
  }
@@ -1133,10 +1133,10 @@ class WDSControllerSliders_wds {
1133
  }
1134
  }
1135
  if ($flag) {
1136
- echo WDW_S_Library::message('Items Succesfully Deleted.', 'updated');
1137
  }
1138
  else {
1139
- echo WDW_S_Library::message('You must select at least one item.', 'error');
1140
  }
1141
  $this->display();
1142
  }
@@ -1145,10 +1145,10 @@ class WDSControllerSliders_wds {
1145
  global $wpdb;
1146
  $save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 1), array('id' => $id));
1147
  if ($save !== FALSE) {
1148
- echo WDW_S_Library::message('Item Succesfully Published.', 'updated');
1149
  }
1150
  else {
1151
- echo WDW_S_Library::message('Error. Please install plugin again.', 'error');
1152
  }
1153
  $this->display();
1154
  }
@@ -1170,10 +1170,10 @@ class WDSControllerSliders_wds {
1170
  }
1171
  }
1172
  if ($flag) {
1173
- echo WDW_S_Library::message('Items Succesfully Published.', 'updated');
1174
  }
1175
  else {
1176
- echo WDW_S_Library::message('You must select at least one item.', 'error');
1177
  }
1178
  $this->display();
1179
  }
@@ -1185,7 +1185,7 @@ class WDSControllerSliders_wds {
1185
  echo WDW_S_Library::message('Item Succesfully Unpublished.', 'updated');
1186
  }
1187
  else {
1188
- echo WDW_S_Library::message('Error. Please install plugin again.', 'error');
1189
  }
1190
  $this->display();
1191
  }
@@ -1207,10 +1207,10 @@ class WDSControllerSliders_wds {
1207
  }
1208
  }
1209
  if ($flag) {
1210
- echo WDW_S_Library::message('Items Succesfully Unpublished.', 'updated');
1211
  }
1212
  else {
1213
- echo WDW_S_Library::message('You must select at least one item.', 'error');
1214
  }
1215
  $this->display();
1216
  }
629
 
630
  require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
631
  $view = new WDSViewSliders_wds($model);
632
+ echo WDW_S_Library::message('Changes must be saved.', 'wd_error');
633
  $view->edit($slider_id, TRUE);
634
  }
635
  public function duplicate() {
639
  $model = new WDSModelSliders_wds();
640
  require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
641
  $view = new WDSViewSliders_wds($model);
642
+ echo WDW_S_Library::message('Item Succesfully Duplicated.', 'wd_updated');
643
  $view->edit($new_slider_id);
644
  }
645
 
651
  $this->duplicate_tabels($slider_id);
652
  }
653
  }
654
+ echo WDW_S_Library::message('Items Succesfully Duplicated.', 'wd_updated');
655
  $this->display();
656
  }
657
 
1111
  if ($wpdb->query($query)) {
1112
  $query_image = $wpdb->prepare('DELETE t1.*, t2.* FROM ' . $wpdb->prefix . 'wdsslide as t1 LEFT JOIN ' . $wpdb->prefix . 'wdslayer as t2 ON t1.id=t2.slide_id WHERE t1.slider_id="%d"', $id);
1113
  $wpdb->query($query_image);
1114
+ echo WDW_S_Library::message('Item Succesfully Deleted.', 'wd_updated');
1115
  }
1116
  else {
1117
+ echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1118
  }
1119
  $this->display();
1120
  }
1133
  }
1134
  }
1135
  if ($flag) {
1136
+ echo WDW_S_Library::message('Items Succesfully Deleted.', 'wd_updated');
1137
  }
1138
  else {
1139
+ echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1140
  }
1141
  $this->display();
1142
  }
1145
  global $wpdb;
1146
  $save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 1), array('id' => $id));
1147
  if ($save !== FALSE) {
1148
+ echo WDW_S_Library::message('Item Succesfully Published.', 'wd_updated');
1149
  }
1150
  else {
1151
+ echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1152
  }
1153
  $this->display();
1154
  }
1170
  }
1171
  }
1172
  if ($flag) {
1173
+ echo WDW_S_Library::message('Items Succesfully Published.', 'wd_updated');
1174
  }
1175
  else {
1176
+ echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1177
  }
1178
  $this->display();
1179
  }
1185
  echo WDW_S_Library::message('Item Succesfully Unpublished.', 'updated');
1186
  }
1187
  else {
1188
+ echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1189
  }
1190
  $this->display();
1191
  }
1207
  }
1208
  }
1209
  if ($flag) {
1210
+ echo WDW_S_Library::message('Items Succesfully Unpublished.', 'wd_updated');
1211
  }
1212
  else {
1213
+ echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1214
  }
1215
  $this->display();
1216
  }
admin/controllers/WDSControllerWidgetSlideshow.php CHANGED
@@ -23,7 +23,7 @@ class WDSControllerWidgetSlideshow extends WP_Widget {
23
  // Widget Control Settings.
24
  $control_ops = array('id_base' => 'wdslider');
25
  // Create the widget.
26
- $this->WP_Widget('wdslider', 'Slider WD', $widget_ops, $control_ops);
27
  require_once WD_S_DIR . "/admin/models/WDSModelWidgetSlideshow.php";
28
  $this->model = new WDSModelWidgetSlideshow();
29
 
23
  // Widget Control Settings.
24
  $control_ops = array('id_base' => 'wdslider');
25
  // Create the widget.
26
+ parent::__construct('wdslider', 'Slider WD', $widget_ops, $control_ops);
27
  require_once WD_S_DIR . "/admin/models/WDSModelWidgetSlideshow.php";
28
  $this->model = new WDSModelWidgetSlideshow();
29
 
admin/views/WDSViewSliders_wds.php CHANGED
@@ -369,7 +369,7 @@ class WDSViewSliders_wds {
369
  $fv = TRUE;
370
  $fv_class = 'spider_free_version_label';
371
  $fv_disabled = 'disabled="disabled"';
372
- $fv_message = '<tr><td colspan="2"><div class="error" style="padding: 5px; font-size: 14px; color: #000000 !important;">Some options are disabled in free version.</div></td></tr>';
373
  $fv_title = ' title="This option is disabled in free version."';
374
  }
375
  else {
@@ -687,7 +687,7 @@ class WDSViewSliders_wds {
687
  <tbody>
688
  <tr>
689
  <td colspan="2">
690
- <div class="error" style="padding: 5px; font-size: 14px; color: #000000 !important;">Carousel is disabled in free version.</div>
691
  </td>
692
  </tr>
693
  <tr>
@@ -743,14 +743,14 @@ class WDSViewSliders_wds {
743
  <div class="spider_description">Choose whether to display Previous and Next buttons or not.</div>
744
  </td>
745
  </tr>
746
- <tr>
747
  <td class="spider_label_options">
748
  <label>Mouse swipe navigation: </label>
749
  </td>
750
  <td>
751
  <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_1" value="1" <?php if ($row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label for="mouse_swipe_nav_1">Yes</label>
752
  <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_0" value="0" <?php if (!$row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label for="mouse_swipe_nav_0">No</label>
753
- <div class="spider_description">Choose whether to display Previous and Next buttons or not.</div>
754
  </td>
755
  </tr>
756
  <tr>
@@ -1434,7 +1434,7 @@ class WDSViewSliders_wds {
1434
  <tbody>
1435
  <tr>
1436
  <td colspan="2">
1437
- <div class="error" style="padding: 5px; font-size: 14px; color: #000000 !important;">Filmstrip is disabled in free version.</div>
1438
  </td>
1439
  </tr>
1440
  <tr>
@@ -1473,10 +1473,10 @@ class WDSViewSliders_wds {
1473
  </td>
1474
  </tr>
1475
  <tr id="filmstrip_thumb_margin">
1476
- <td class="spider_label"><label for="film_tmb_margin">Thumbnail margin: </label></td>
1477
  <td>
1478
  <input disabled="disabled" type="text" name="film_tmb_margin" id="film_tmb_margin" value="<?php echo $row->film_tmb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1479
- <div class="spider_description">Set the margin for the thumbnails.</div>
1480
  </td>
1481
  </tr>
1482
  <tr>
@@ -1550,7 +1550,7 @@ class WDSViewSliders_wds {
1550
  </table>
1551
  </div>
1552
  <div class="wds_nav_box wds_nav_watermark_box">
1553
- <div class="updated">
1554
  <p>
1555
  Please note that the <b>Fill</b> and <b>Contain</b> options will work fine with <b>Watermark</b> option regardless of the image dimensions,
1556
  whereas for the <b>Cover</b> option you should have the image identical to the size set in the <b>Dimensions</b> settings.
369
  $fv = TRUE;
370
  $fv_class = 'spider_free_version_label';
371
  $fv_disabled = 'disabled="disabled"';
372
+ $fv_message = '<tr><td colspan="2"><div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;">Some options are disabled in free version.</div></td></tr>';
373
  $fv_title = ' title="This option is disabled in free version."';
374
  }
375
  else {
687
  <tbody>
688
  <tr>
689
  <td colspan="2">
690
+ <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;">Carousel is disabled in free version.</div>
691
  </td>
692
  </tr>
693
  <tr>
743
  <div class="spider_description">Choose whether to display Previous and Next buttons or not.</div>
744
  </td>
745
  </tr>
746
+ <tr>
747
  <td class="spider_label_options">
748
  <label>Mouse swipe navigation: </label>
749
  </td>
750
  <td>
751
  <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_1" value="1" <?php if ($row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label for="mouse_swipe_nav_1">Yes</label>
752
  <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_0" value="0" <?php if (!$row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label for="mouse_swipe_nav_0">No</label>
753
+ <div class="spider_description"></div>
754
  </td>
755
  </tr>
756
  <tr>
1434
  <tbody>
1435
  <tr>
1436
  <td colspan="2">
1437
+ <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;">Filmstrip is disabled in free version.</div>
1438
  </td>
1439
  </tr>
1440
  <tr>
1473
  </td>
1474
  </tr>
1475
  <tr id="filmstrip_thumb_margin">
1476
+ <td class="spider_label"><label for="film_tmb_margin">Thumbnail separator: </label></td>
1477
  <td>
1478
  <input disabled="disabled" type="text" name="film_tmb_margin" id="film_tmb_margin" value="<?php echo $row->film_tmb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1479
+ <div class="spider_description">Set the separator for the thumbnails.</div>
1480
  </td>
1481
  </tr>
1482
  <tr>
1550
  </table>
1551
  </div>
1552
  <div class="wds_nav_box wds_nav_watermark_box">
1553
+ <div class="wd_updated">
1554
  <p>
1555
  Please note that the <b>Fill</b> and <b>Contain</b> options will work fine with <b>Watermark</b> option regardless of the image dimensions,
1556
  whereas for the <b>Cover</b> option you should have the image identical to the size set in the <b>Dimensions</b> settings.
admin/views/WDSViewUninstall_wds.php CHANGED
@@ -89,7 +89,7 @@ class WDSViewUninstall_wds {
89
  $deactivate_url = add_query_arg(array('action' => 'deactivate', 'plugin' => 'slider-wd/slider-wd.php'), admin_url('plugins.php'));
90
  $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_slider-wd/slider-wd.php');
91
  ?>
92
- <div id="message" class="updated fade">
93
  <p>The following Database Tables successfully deleted:</p>
94
  <p><?php echo $prefix; ?>wdsslider,</p>
95
  <p><?php echo $prefix; ?>wdsslide,</p>
@@ -98,7 +98,7 @@ class WDSViewUninstall_wds {
98
  <?php
99
  if (isset($_POST['bwg_delete_files'])) {
100
  ?>
101
- <div class="<?php echo ($flag) ? 'updated' : 'error'?>">
102
  <p><?php echo ($flag) ? 'The folder was successfully deleted.' : 'An error occurred when deleting the folder.'?></p>
103
  </div>
104
  <?php
89
  $deactivate_url = add_query_arg(array('action' => 'deactivate', 'plugin' => 'slider-wd/slider-wd.php'), admin_url('plugins.php'));
90
  $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_slider-wd/slider-wd.php');
91
  ?>
92
+ <div id="message" class="wd_updated fade">
93
  <p>The following Database Tables successfully deleted:</p>
94
  <p><?php echo $prefix; ?>wdsslider,</p>
95
  <p><?php echo $prefix; ?>wdsslide,</p>
98
  <?php
99
  if (isset($_POST['bwg_delete_files'])) {
100
  ?>
101
+ <div class="<?php echo ($flag) ? 'wd_updated' : 'wp_error'?>">
102
  <p><?php echo ($flag) ? 'The folder was successfully deleted.' : 'An error occurred when deleting the folder.'?></p>
103
  </div>
104
  <?php
css/wds_frontend.css CHANGED
@@ -1,3 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .wds_more {
2
  font-size: 12px;
3
  }
1
+ .wd_error {
2
+ border-color: #dd3d36 !important;
3
+ }
4
+
5
+ .wd_updated {
6
+ border-color: #7ad03a !important;
7
+ }
8
+
9
+ .wd_error,
10
+ .wd_updated {
11
+ background: #fff none repeat scroll 0 0;
12
+ border-left: 4px solid #fff;
13
+ box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
14
+ margin: 5px 0 2px;
15
+ padding: 1px 12px;
16
+ }
17
+
18
  .wds_more {
19
  font-size: 12px;
20
  }
css/wds_tables.css CHANGED
@@ -399,9 +399,21 @@
399
  width: 30px;
400
  }
401
 
402
- .updated,
403
- .error {
404
- margin: 5px 0 2px !important;
 
 
 
 
 
 
 
 
 
 
 
 
405
  }
406
 
407
  .buttons_div {
@@ -828,7 +840,7 @@
828
  margin: 0;
829
  padding: 0 10px;
830
  text-align: left;
831
- text-shadow: 0 1px 0 #fff;
832
  }
833
 
834
  .wds_box table {
399
  width: 30px;
400
  }
401
 
402
+ .wd_error {
403
+ border-color: #dd3d36 !important;
404
+ }
405
+
406
+ .wd_updated {
407
+ border-color: #7ad03a !important;
408
+ }
409
+
410
+ .wd_error,
411
+ .wd_updated {
412
+ background: #fff none repeat scroll 0 0;
413
+ border-left: 4px solid #fff;
414
+ box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
415
+ margin: 5px 0 2px;
416
+ padding: 1px 12px;
417
  }
418
 
419
  .buttons_div {
840
  margin: 0;
841
  padding: 0 10px;
842
  text-align: left;
843
+ /*text-shadow: 0 1px 0 #fff;*/
844
  }
845
 
846
  .wds_box table {
framework/WDW_S_Library.php CHANGED
@@ -43,133 +43,133 @@ class WDW_S_Library {
43
  switch($message_id) {
44
  case 1: {
45
  $message = 'Item Succesfully Saved.';
46
- $type = 'updated';
47
  break;
48
 
49
  }
50
  case 2: {
51
  $message = 'Error. Please install plugin again.';
52
- $type = 'error';
53
  break;
54
 
55
  }
56
  case 3: {
57
  $message = 'Item Succesfully Deleted.';
58
- $type = 'updated';
59
  break;
60
 
61
  }
62
  case 4: {
63
  $message = "You can't delete default theme";
64
- $type = 'error';
65
  break;
66
 
67
  }
68
  case 5: {
69
  $message = 'Items Succesfully Deleted.';
70
- $type = 'updated';
71
  break;
72
 
73
  }
74
  case 6: {
75
  $message = 'You must select at least one item.';
76
- $type = 'error';
77
  break;
78
 
79
  }
80
  case 7: {
81
  $message = 'The item is successfully set as default.';
82
- $type = 'updated';
83
  break;
84
 
85
  }
86
  case 8: {
87
  $message = 'Options Succesfully Saved.';
88
- $type = 'updated';
89
  break;
90
 
91
  }
92
  case 9: {
93
  $message = 'Item Succesfully Published.';
94
- $type = 'updated';
95
  break;
96
 
97
  }
98
  case 10: {
99
  $message = 'Items Succesfully Published.';
100
- $type = 'updated';
101
  break;
102
 
103
  }
104
  case 11: {
105
  $message = 'Item Succesfully Unpublished.';
106
- $type = 'updated';
107
  break;
108
 
109
  }
110
  case 12: {
111
  $message = 'Items Succesfully Unpublished.';
112
- $type = 'updated';
113
  break;
114
 
115
  }
116
  case 13: {
117
  $message = 'Ordering Succesfully Saved.';
118
- $type = 'updated';
119
  break;
120
 
121
  }
122
  case 14: {
123
  $message = 'A term with the name provided already exists.';
124
- $type = 'error';
125
  break;
126
 
127
  }
128
  case 15: {
129
  $message = 'Name field is required.';
130
- $type = 'error';
131
  break;
132
 
133
  }
134
  case 16: {
135
  $message = 'The slug must be unique.';
136
- $type = 'error';
137
  break;
138
 
139
  }
140
  case 17: {
141
  $message = 'Changes must be saved.';
142
- $type = 'error';
143
  break;
144
 
145
  }
146
  case 18: {
147
  $message = 'You must set watermark type.';
148
- $type = 'error';
149
  break;
150
 
151
  }
152
  case 19: {
153
  $message = 'Watermark Succesfully Set.';
154
- $type = 'updated';
155
  break;
156
 
157
  }
158
  case 20: {
159
  $message = 'Watermark Succesfully Reset.';
160
- $type = 'updated';
161
  break;
162
 
163
  }
164
  case 21: {
165
  $message = 'Settings Succesfully Reset.';
166
- $type = 'updated';
167
  break;
168
 
169
  }
170
  default: {
171
  $message = '';
172
- $type = 'error';
173
  break;
174
  }
175
  }
43
  switch($message_id) {
44
  case 1: {
45
  $message = 'Item Succesfully Saved.';
46
+ $type = 'wd_updated';
47
  break;
48
 
49
  }
50
  case 2: {
51
  $message = 'Error. Please install plugin again.';
52
+ $type = 'wd_error';
53
  break;
54
 
55
  }
56
  case 3: {
57
  $message = 'Item Succesfully Deleted.';
58
+ $type = 'wd_updated';
59
  break;
60
 
61
  }
62
  case 4: {
63
  $message = "You can't delete default theme";
64
+ $type = 'wd_error';
65
  break;
66
 
67
  }
68
  case 5: {
69
  $message = 'Items Succesfully Deleted.';
70
+ $type = 'wd_updated';
71
  break;
72
 
73
  }
74
  case 6: {
75
  $message = 'You must select at least one item.';
76
+ $type = 'wd_error';
77
  break;
78
 
79
  }
80
  case 7: {
81
  $message = 'The item is successfully set as default.';
82
+ $type = 'wd_updated';
83
  break;
84
 
85
  }
86
  case 8: {
87
  $message = 'Options Succesfully Saved.';
88
+ $type = 'wd_updated';
89
  break;
90
 
91
  }
92
  case 9: {
93
  $message = 'Item Succesfully Published.';
94
+ $type = 'wd_updated';
95
  break;
96
 
97
  }
98
  case 10: {
99
  $message = 'Items Succesfully Published.';
100
+ $type = 'wd_updated';
101
  break;
102
 
103
  }
104
  case 11: {
105
  $message = 'Item Succesfully Unpublished.';
106
+ $type = 'wd_updated';
107
  break;
108
 
109
  }
110
  case 12: {
111
  $message = 'Items Succesfully Unpublished.';
112
+ $type = 'wd_updated';
113
  break;
114
 
115
  }
116
  case 13: {
117
  $message = 'Ordering Succesfully Saved.';
118
+ $type = 'wd_updated';
119
  break;
120
 
121
  }
122
  case 14: {
123
  $message = 'A term with the name provided already exists.';
124
+ $type = 'wd_error';
125
  break;
126
 
127
  }
128
  case 15: {
129
  $message = 'Name field is required.';
130
+ $type = 'wd_error';
131
  break;
132
 
133
  }
134
  case 16: {
135
  $message = 'The slug must be unique.';
136
+ $type = 'wd_error';
137
  break;
138
 
139
  }
140
  case 17: {
141
  $message = 'Changes must be saved.';
142
+ $type = 'wd_error';
143
  break;
144
 
145
  }
146
  case 18: {
147
  $message = 'You must set watermark type.';
148
+ $type = 'wd_error';
149
  break;
150
 
151
  }
152
  case 19: {
153
  $message = 'Watermark Succesfully Set.';
154
+ $type = 'wd_updated';
155
  break;
156
 
157
  }
158
  case 20: {
159
  $message = 'Watermark Succesfully Reset.';
160
+ $type = 'wd_updated';
161
  break;
162
 
163
  }
164
  case 21: {
165
  $message = 'Settings Succesfully Reset.';
166
+ $type = 'wd_updated';
167
  break;
168
 
169
  }
170
  default: {
171
  $message = '';
172
+ $type = 'wd_error';
173
  break;
174
  }
175
  }
frontend/views/WDSViewSlider.php CHANGED
@@ -26,7 +26,7 @@ class WDSViewSlider {
26
  require_once(WD_S_DIR . '/framework/WDW_S_Library.php');
27
  $slider_row = $this->model->get_slider_row_data($id);
28
  if (!$slider_row) {
29
- echo WDW_S_Library::message(__('There is no slider selected or the slider was deleted.', 'wds'), 'error');
30
  return;
31
  }
32
  if (!$slider_row->published) {
@@ -43,7 +43,7 @@ class WDSViewSlider {
43
 
44
  $slide_rows = $this->model->get_slide_rows_data($id);
45
  if (!$slide_rows) {
46
- echo WDW_S_Library::message(__('There are no slides in this slider.', 'wds'), 'error');
47
  return;
48
  }
49
 
26
  require_once(WD_S_DIR . '/framework/WDW_S_Library.php');
27
  $slider_row = $this->model->get_slider_row_data($id);
28
  if (!$slider_row) {
29
+ echo WDW_S_Library::message(__('There is no slider selected or the slider was deleted.', 'wds'), 'wd_error');
30
  return;
31
  }
32
  if (!$slider_row->published) {
43
 
44
  $slide_rows = $this->model->get_slide_rows_data($id);
45
  if (!$slide_rows) {
46
+ echo WDW_S_Library::message(__('There are no slides in this slider.', 'wds'), 'wd_error');
47
  return;
48
  }
49
 
js/wds.js CHANGED
@@ -295,10 +295,10 @@ function wds_success(form_id, end) {
295
  case "set_watermark": {
296
  if (end) {
297
  if (jQuery("input[name=built_in_watermark_type]:checked").val() == 'none') {
298
- message = "<div class='error'><strong><p>You must set watermark type.</p></strong></div>";
299
  }
300
  else {
301
- message = "<div class='updated'><strong><p>Watermark Succesfully Set.</p></strong></div>";
302
  }
303
  }
304
  else {
@@ -308,7 +308,7 @@ function wds_success(form_id, end) {
308
  }
309
  case "reset_watermark": {
310
  if (end) {
311
- message = "<div class='updated'><strong><p>Watermark Succesfully Reset.</p></strong></div>";
312
  }
313
  else {
314
  wds_action_after_save(form_id);
@@ -321,7 +321,7 @@ function wds_success(form_id, end) {
321
  break;
322
  }
323
  default: {
324
- message = "<div class='updated'><strong><p>Items Succesfully Saved.</p></strong></div>";
325
  break;
326
  }
327
  }
295
  case "set_watermark": {
296
  if (end) {
297
  if (jQuery("input[name=built_in_watermark_type]:checked").val() == 'none') {
298
+ message = "<div class='wd_error'><strong><p>You must set watermark type.</p></strong></div>";
299
  }
300
  else {
301
+ message = "<div class='wd_updated'><strong><p>Watermark Succesfully Set.</p></strong></div>";
302
  }
303
  }
304
  else {
308
  }
309
  case "reset_watermark": {
310
  if (end) {
311
+ message = "<div class='wd_updated'><strong><p>Watermark Succesfully Reset.</p></strong></div>";
312
  }
313
  else {
314
  wds_action_after_save(form_id);
321
  break;
322
  }
323
  default: {
324
+ message = "<div class='wd_updated'><strong><p>Items Succesfully Saved.</p></strong></div>";
325
  break;
326
  }
327
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
4
  Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
5
  Requires at least: 3.4
6
- Tested up to: 4.2
7
- Stable tag: 1.0.34
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -142,6 +142,11 @@ After downloading the ZIP file of the slider plugin,
142
 
143
  == Changelog ==
144
 
 
 
 
 
 
145
  = 1.0.34 =
146
  Added: Google fonts.
147
 
3
  Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
4
  Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
5
  Requires at least: 3.4
6
+ Tested up to: 4.3
7
+ Stable tag: 1.0.35
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.0.35 =
146
+ Changed: Compability with Wordpress 4.3.
147
+ Changed: Filmstrip separator.
148
+ Changed: Message classes.
149
+
150
  = 1.0.34 =
151
  Added: Google fonts.
152
 
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.0.34
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -389,7 +389,7 @@ register_activation_hook(__FILE__, 'wds_activate');
389
 
390
  function wds_install() {
391
  $version = get_option("wds_version");
392
- $new_version = '1.0.34';
393
  if ($version && version_compare($version, $new_version, '<')) {
394
  require_once WD_S_DIR . "/sliders-update.php";
395
  wds_update($version);
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.0.35
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
389
 
390
  function wds_install() {
391
  $version = get_option("wds_version");
392
+ $new_version = '1.0.35';
393
  if ($version && version_compare($version, $new_version, '<')) {
394
  require_once WD_S_DIR . "/sliders-update.php";
395
  wds_update($version);