Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.4

Version Description

pagination input

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.2.4
Comparing to
See all releases

Code changes from version 1.2.3 to 1.2.4

Files changed (35) hide show
  1. admin/controllers/BWGControllerFeatured_plugins_bwg.php +0 -49
  2. admin/controllers/BWGControllerOptions_bwg.php +2 -0
  3. admin/controllers/BWGControllerThemes_bwg.php +12 -0
  4. admin/models/BWGModelFeatured_plugins_bwg.php +0 -30
  5. admin/models/BWGModelOptions_bwg.php +1 -0
  6. admin/models/BWGModelThemes_bwg.php +3 -0
  7. admin/views/BWGViewFeatured_plugins_bwg.php +0 -182
  8. admin/views/BWGViewOptions_bwg.php +10 -0
  9. admin/views/BWGViewThemes_bwg.php +26 -0
  10. css/bwg_featured_plugins.css +0 -80
  11. css/images/player.jpg +0 -0
  12. featured/featured.php +116 -0
  13. {css → featured}/images/catalog.jpg +0 -0
  14. featured/images/contact-form-builder.jpg +0 -0
  15. css/images/contact.maker.jpg → featured/images/contact-form-maker.jpg +0 -0
  16. {css → featured}/images/contacts.jpg +0 -0
  17. {css → featured}/images/download.jpg +0 -0
  18. {css → featured}/images/facebook.jpg +0 -0
  19. {css → featured}/images/faq.jpg +0 -0
  20. {css → featured}/images/flash.calendar.jpg +0 -0
  21. {css → featured}/images/folder.menu.jpg +0 -0
  22. {css → featured}/images/form.jpg +0 -0
  23. featured/images/photo-gallery.jpg +0 -0
  24. featured/images/player.jpg +0 -0
  25. featured/images/slider.jpg +0 -0
  26. css/images/spider.calendar.jpg → featured/images/spider-calendar.jpg +0 -0
  27. {css → featured}/images/twitter-widget.jpg +0 -0
  28. {css → featured}/images/zoom.jpg +0 -0
  29. featured/style.css +107 -0
  30. framework/WDWLibrary.php +38 -5
  31. frontend/views/BWGViewSlideshow.php +2 -2
  32. images/theme_masonry.png +0 -0
  33. photo-gallery.php +28 -10
  34. readme.txt +4 -1
  35. update/bwg_update.php +8 -0
admin/controllers/BWGControllerFeatured_plugins_bwg.php DELETED
@@ -1,49 +0,0 @@
1
- <?php
2
-
3
- class BWGControllerFeatured_plugins_bwg {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
- public function execute() {
22
- $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
- if (method_exists($this, $task)) {
24
- $this->$task($id);
25
- }
26
- else {
27
- $this->display();
28
- }
29
- }
30
-
31
- public function display() {
32
- require_once WD_BWG_DIR . "/admin/models/BWGModelFeatured_plugins_bwg.php";
33
- $model = new BWGModelFeatured_plugins_bwg();
34
-
35
- require_once WD_BWG_DIR . "/admin/views/BWGViewFeatured_plugins_bwg.php";
36
- $view = new BWGViewFeatured_plugins_bwg($model);
37
- $view->display();
38
- }
39
-
40
- ////////////////////////////////////////////////////////////////////////////////////////
41
- // Getters & Setters //
42
- ////////////////////////////////////////////////////////////////////////////////////////
43
- ////////////////////////////////////////////////////////////////////////////////////////
44
- // Private Methods //
45
- ////////////////////////////////////////////////////////////////////////////////////////
46
- ////////////////////////////////////////////////////////////////////////////////////////
47
- // Listeners //
48
- ////////////////////////////////////////////////////////////////////////////////////////
49
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/controllers/BWGControllerOptions_bwg.php CHANGED
@@ -185,6 +185,7 @@ class BWGControllerOptions_bwg {
185
  $show_album_name = (isset($_POST['show_album_name_enable']) ? esc_html(stripslashes($_POST['show_album_name_enable'])) : 1);
186
  $show_image_counts = (isset($_POST['show_image_counts']) ? esc_html(stripslashes($_POST['show_image_counts'])) : 0);
187
  $play_icon = (isset($_POST['play_icon']) ? esc_html(stripslashes($_POST['play_icon'])) : 1);
 
188
 
189
  $save = $wpdb->update($wpdb->prefix . 'bwg_option', array(
190
  'images_directory' => $images_directory,
@@ -290,6 +291,7 @@ class BWGControllerOptions_bwg {
290
  'show_album_name' => $show_album_name,
291
  'show_image_counts' => $show_image_counts,
292
  'play_icon' => $play_icon,
 
293
  ), array('id' => 1));
294
 
295
  if ($save !== FALSE) {
185
  $show_album_name = (isset($_POST['show_album_name_enable']) ? esc_html(stripslashes($_POST['show_album_name_enable'])) : 1);
186
  $show_image_counts = (isset($_POST['show_image_counts']) ? esc_html(stripslashes($_POST['show_image_counts'])) : 0);
187
  $play_icon = (isset($_POST['play_icon']) ? esc_html(stripslashes($_POST['play_icon'])) : 1);
188
+ $show_masonry_thumb_description = (isset($_POST['show_masonry_thumb_description']) ? esc_html(stripslashes($_POST['show_masonry_thumb_description'])) : 0);
189
 
190
  $save = $wpdb->update($wpdb->prefix . 'bwg_option', array(
191
  'images_directory' => $images_directory,
291
  'show_album_name' => $show_album_name,
292
  'show_image_counts' => $show_image_counts,
293
  'play_icon' => $play_icon,
294
+ 'show_masonry_thumb_description' => $show_masonry_thumb_description,
295
  ), array('id' => 1));
296
 
297
  if ($save !== FALSE) {
admin/controllers/BWGControllerThemes_bwg.php CHANGED
@@ -455,6 +455,9 @@ class BWGControllerThemes_bwg {
455
  $lightbox_hit_font_style = (isset($_POST['lightbox_hit_font_style']) ? esc_html(stripslashes( $_POST['lightbox_hit_font_style'])) : 'segoe ui');
456
  $lightbox_hit_font_weight = (isset($_POST['lightbox_hit_font_weight']) ? esc_html(stripslashes( $_POST['lightbox_hit_font_weight'])) : 'normal');
457
  $lightbox_hit_font_size = (isset($_POST['lightbox_hit_font_size']) ? esc_html(stripslashes( $_POST['lightbox_hit_font_size'])) : 14);
 
 
 
458
 
459
  $default_theme = (isset($_POST['default_theme']) ? esc_html(stripslashes( $_POST['default_theme'])) : 0);
460
  if ($id != 0) {
@@ -826,6 +829,9 @@ class BWGControllerThemes_bwg {
826
  'lightbox_hit_font_style' => $lightbox_hit_font_style,
827
  'lightbox_hit_font_weight' => $lightbox_hit_font_weight,
828
  'lightbox_hit_font_size' => $lightbox_hit_font_size,
 
 
 
829
 
830
  'default_theme' => $default_theme,
831
  ), array('id' => $id));
@@ -1198,6 +1204,9 @@ class BWGControllerThemes_bwg {
1198
  'lightbox_hit_font_style' => $lightbox_hit_font_style,
1199
  'lightbox_hit_font_weight' => $lightbox_hit_font_weight,
1200
  'lightbox_hit_font_size' => $lightbox_hit_font_size,
 
 
 
1201
 
1202
  'default_theme' => $default_theme,
1203
  ), array(
@@ -1572,6 +1581,9 @@ class BWGControllerThemes_bwg {
1572
  '%s',
1573
  '%s',
1574
  '%d',
 
 
 
1575
 
1576
  '%d',
1577
  ));
455
  $lightbox_hit_font_style = (isset($_POST['lightbox_hit_font_style']) ? esc_html(stripslashes( $_POST['lightbox_hit_font_style'])) : 'segoe ui');
456
  $lightbox_hit_font_weight = (isset($_POST['lightbox_hit_font_weight']) ? esc_html(stripslashes( $_POST['lightbox_hit_font_weight'])) : 'normal');
457
  $lightbox_hit_font_size = (isset($_POST['lightbox_hit_font_size']) ? esc_html(stripslashes( $_POST['lightbox_hit_font_size'])) : 14);
458
+ $masonry_description_font_size = (isset($_POST['masonry_description_font_size']) ? (int) esc_html(stripslashes( $_POST['masonry_description_font_size'])) : 12);
459
+ $masonry_description_color = (isset($_POST['masonry_description_color']) ? esc_html(stripslashes( $_POST['masonry_description_color'])) : 'CCCCCC');
460
+ $masonry_description_font_style = (isset($_POST['masonry_description_font_style']) ? esc_html(stripslashes( $_POST['masonry_description_font_style'])) : 'segoe ui');
461
 
462
  $default_theme = (isset($_POST['default_theme']) ? esc_html(stripslashes( $_POST['default_theme'])) : 0);
463
  if ($id != 0) {
829
  'lightbox_hit_font_style' => $lightbox_hit_font_style,
830
  'lightbox_hit_font_weight' => $lightbox_hit_font_weight,
831
  'lightbox_hit_font_size' => $lightbox_hit_font_size,
832
+ 'masonry_description_font_size' => $masonry_description_font_size,
833
+ 'masonry_description_color' => $masonry_description_color,
834
+ 'masonry_description_font_style' => $masonry_description_font_style,
835
 
836
  'default_theme' => $default_theme,
837
  ), array('id' => $id));
1204
  'lightbox_hit_font_style' => $lightbox_hit_font_style,
1205
  'lightbox_hit_font_weight' => $lightbox_hit_font_weight,
1206
  'lightbox_hit_font_size' => $lightbox_hit_font_size,
1207
+ 'masonry_description_font_size' => $masonry_description_font_size,
1208
+ 'masonry_description_color' => $masonry_description_color,
1209
+ 'masonry_description_font_style' => $masonry_description_font_style,
1210
 
1211
  'default_theme' => $default_theme,
1212
  ), array(
1581
  '%s',
1582
  '%s',
1583
  '%d',
1584
+ '%d',
1585
+ '%s',
1586
+ '%s',
1587
 
1588
  '%d',
1589
  ));
admin/models/BWGModelFeatured_plugins_bwg.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
-
3
- class BWGModelFeatured_plugins_bwg {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
- ////////////////////////////////////////////////////////////////////////////////////////
22
- // Getters & Setters //
23
- ////////////////////////////////////////////////////////////////////////////////////////
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- // Private Methods //
26
- ////////////////////////////////////////////////////////////////////////////////////////
27
- ////////////////////////////////////////////////////////////////////////////////////////
28
- // Listeners //
29
- ////////////////////////////////////////////////////////////////////////////////////////
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/models/BWGModelOptions_bwg.php CHANGED
@@ -139,6 +139,7 @@ class BWGModelOptions_bwg {
139
  $row->show_album_name = 0;
140
  $row->show_image_counts = 0;
141
  $row->play_icon = 1;
 
142
  }
143
  return $row;
144
  }
139
  $row->show_album_name = 0;
140
  $row->show_image_counts = 0;
141
  $row->play_icon = 1;
142
+ $row->show_masonry_thumb_description = 0;
143
  }
144
  return $row;
145
  }
admin/models/BWGModelThemes_bwg.php CHANGED
@@ -270,6 +270,9 @@ class BWGModelThemes_bwg {
270
  $row->masonry_thumb_hover_effect = 'scale';
271
  $row->masonry_thumb_hover_effect_value = '1.1';
272
  $row->masonry_thumb_transition = 0;
 
 
 
273
 
274
  $row->slideshow_cont_bg_color = '000000';
275
  $row->slideshow_close_btn_transparent = 100;
270
  $row->masonry_thumb_hover_effect = 'scale';
271
  $row->masonry_thumb_hover_effect_value = '1.1';
272
  $row->masonry_thumb_transition = 0;
273
+ $row->masonry_description_font_size = 12;
274
+ $row->masonry_description_color = 'CCCCCC';
275
+ $row->masonry_description_font_style = 'segoe ui';
276
 
277
  $row->slideshow_cont_bg_color = '000000';
278
  $row->slideshow_close_btn_transparent = 100;
admin/views/BWGViewFeatured_plugins_bwg.php DELETED
@@ -1,182 +0,0 @@
1
- <?php
2
-
3
- class BWGViewFeatured_plugins_bwg {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- private $model;
14
-
15
-
16
- ////////////////////////////////////////////////////////////////////////////////////////
17
- // Constructor & Destructor //
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- public function __construct($model) {
20
- $this->model = $model;
21
- }
22
- ////////////////////////////////////////////////////////////////////////////////////////
23
- // Public Methods //
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- public function display() {
26
- ?>
27
- <div id="main_featured_plugins_page">
28
- <table align="center" width="90%" style="margin-top: 0px;border-bottom: rgb(111, 111, 111) solid 2px;">
29
- <tr>
30
- <td colspan="2" style="height: 70px;"><h3 style="margin: 0px;font-family:Segoe UI;padding-bottom: 15px;color: rgb(111, 111, 111); font-size:18pt;">Featured Plugins</h3></td>
31
- <td></td>
32
- </tr>
33
- </table>
34
- <form method="post">
35
- <ul id="featured-plugins-list">
36
- <li class="form-maker">
37
- <div class="product">
38
- <div class="title">
39
- <strong class="heading">Form Maker</strong>
40
- <p>Wordpress form builder plugin</p>
41
- </div>
42
- </div>
43
- <div class="description">
44
- <p>Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.</p>
45
- <a target="_blank" href="http://web-dorado.com/products/wordpress-form.html" class="download">Download</a>
46
- </div>
47
- </li>
48
- <li class="contact-maker">
49
- <div class="product">
50
- <div class="title">
51
- <strong class="heading">Contact Form Maker</strong>
52
- <p>WordPress contact form builder plugin</p>
53
- </div>
54
- </div>
55
- <div class="description">
56
- <p>WordPress Contact Form Maker is an advanced and easy-to-use tool for creating forms.</p>
57
- <a target="_blank" href="http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html" class="download">Download</a>
58
- </div>
59
- </li>
60
- <li class="spider-calendar">
61
- <div class="product">
62
- <div class="title">
63
- <strong class="heading">Spider Calendar</strong>
64
- <p>WordPress event calendar plugin</p>
65
- </div>
66
- </div>
67
- <div class="description">
68
- <p>Spider Event Calendar is a highly configurable product which allows you to have multiple organized events.</p>
69
- <a target="_blank" href="http://web-dorado.com/products/wordpress-calendar.html" class="download">Download</a>
70
- </div>
71
- </li>
72
- <li class="catalog">
73
- <div class="product">
74
- <div class="title">
75
- <strong class="heading">Spider Catalog</strong>
76
- <p>WordPress product catalog plugin</p>
77
- </div>
78
- </div>
79
- <div class="description">
80
- <p>Spider Catalog for WordPress is a convenient tool for organizing the products represented on your website into catalogs.</p>
81
- <a target="_blank" href="http://web-dorado.com/products/wordpress-catalog.html" class="download">Download</a>
82
- </div>
83
- </li>
84
- <li class="player">
85
- <div class="product">
86
- <div class="title">
87
- <strong class="heading">Video Player</strong>
88
- <p>WordPress Video player plugin</p>
89
- </div>
90
- </div>
91
- <div class="description">
92
- <p>Spider Video Player for WordPress is a Flash & HTML5 video player plugin that allows you to easily add videos to your website with the possibility</p>
93
- <a target="_blank" href="http://web-dorado.com/products/wordpress-player.html" class="download">Download</a>
94
- </div>
95
- </li>
96
- <li class="contacts">
97
- <div class="product">
98
- <div class="title">
99
- <strong class="heading">Spider Contacts</strong>
100
- <p>Wordpress staff list plugin</p>
101
- </div>
102
- </div>
103
- <div class="description">
104
- <p>Spider Contacts helps you to display information about the group of people more intelligible, effective and convenient.</p>
105
- <a target="_blank" href="http://web-dorado.com/products/wordpress-contacts-plugin.html" class="download">Download</a>
106
- </div>
107
- </li>
108
- <li class="facebook">
109
- <div class="product">
110
- <div class="title">
111
- <strong class="heading">Spider Facebook</strong>
112
- <p>WordPress Facebook plugin</p>
113
- </div>
114
- </div>
115
- <div class="description">
116
- <p>Spider Facebook is a WordPress integration tool for Facebook.It includes all the available Facebook social plugins and widgets to be added to your web</p>
117
- <a target="_blank" href="http://web-dorado.com/products/wordpress-facebook.html" class="download">Download</a>
118
- </div>
119
- </li>
120
- <li class="twitter-widget">
121
- <div class="product">
122
- <div class="title">
123
- <strong class="heading">Widget Twitter</strong>
124
- <p>WordPress Widget Twitter plugin</p>
125
- </div>
126
- </div>
127
- <div class="description">
128
- <p>The Widget Twitter plugin lets you to fully integrate your WordPress site with your Twitter account.</p>
129
- <a target="_blank" href="http://web-dorado.com/products/wordpress-twitter-integration-plugin.html" class="download">Download</a>
130
- </div>
131
- </li>
132
- <li class="faq">
133
- <div class="product">
134
- <div class="title">
135
- <strong class="heading">Spider FAQ</strong>
136
- <p>WordPress FAQ Plugin</p>
137
- </div>
138
- </div>
139
- <div class="description">
140
- <p>The Spider FAQ WordPress plugin is for creating an FAQ (Frequently Asked Questions) section for your website.</p>
141
- <a target="_blank" href="http://web-dorado.com/products/wordpress-faq-plugin.html" class="download">Download</a>
142
- </div>
143
- </li>
144
- <li class="zoom">
145
- <div class="product">
146
- <div class="title">
147
- <strong class="heading">Zoom</strong>
148
- <p>WordPress text zoom plugin</p>
149
- </div>
150
- </div>
151
- <div class="description">
152
- <p>Zoom enables site users to resize the predefined areas of the web site.</p>
153
- <a target="_blank" href="http://web-dorado.com/products/wordpress-zoom.html" class="download">Download</a>
154
- </div>
155
- </li>
156
- <li class="flash-calendar">
157
- <div class="product">
158
- <div class="title">
159
- <strong class="heading">Flash Calendar</strong>
160
- <p>WordPress flash calendar plugin</p>
161
- </div>
162
- </div>
163
- <div class="description">
164
- <p>Spider Flash Calendar is a highly configurable Flash calendar plugin which allows you to have multiple organized events.</p>
165
- <a target="_blank" href="http://web-dorado.com/products/wordpress-events-calendar.html" class="download">Download</a>
166
- </div>
167
- </li>
168
- </ul>
169
- </form>
170
- </div >
171
- <?php
172
- }
173
- ////////////////////////////////////////////////////////////////////////////////////////
174
- // Getters & Setters //
175
- ////////////////////////////////////////////////////////////////////////////////////////
176
- ////////////////////////////////////////////////////////////////////////////////////////
177
- // Private Methods //
178
- ////////////////////////////////////////////////////////////////////////////////////////
179
- ////////////////////////////////////////////////////////////////////////////////////////
180
- // Listeners //
181
- ////////////////////////////////////////////////////////////////////////////////////////
182
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/BWGViewOptions_bwg.php CHANGED
@@ -1183,6 +1183,16 @@ class BWGViewOptions_bwg {
1183
  <div class="spider_description"></div>
1184
  </td>
1185
  </tr>
 
 
 
 
 
 
 
 
 
 
1186
  <tr>
1187
  <td class="spider_label_options"><label>Enable image pagination: </label></td>
1188
  <td>
1183
  <div class="spider_description"></div>
1184
  </td>
1185
  </tr>
1186
+ <tr>
1187
+ <td class="spider_label_options spider_free_version_label">
1188
+ <label>Show description in Vertical Masonry view: </label>
1189
+ </td>
1190
+ <td>
1191
+ <input disabled="disabled" type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_1" value="1" <?php if ($row->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_1">Yes</label>
1192
+ <input disabled="disabled" type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_0" value="0" <?php if (!$row->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_0">No</label>
1193
+ <div style="width: 200px;" class="spider_description spider_free_version">This option is disabled in free version.</div>
1194
+ </td>
1195
+ </tr>
1196
  <tr>
1197
  <td class="spider_label_options"><label>Enable image pagination: </label></td>
1198
  <td>
admin/views/BWGViewThemes_bwg.php CHANGED
@@ -611,6 +611,32 @@ class BWGViewThemes_bwg {
611
  <label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl">No</label>
612
  </td>
613
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
614
  </tbody>
615
  </table>
616
  </fieldset>
611
  <label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl">No</label>
612
  </td>
613
  </tr>
614
+ <tr>
615
+ <td class="spider_label"><label for="masonry_description_font_size">Description font size: </label></td>
616
+ <td>
617
+ <input type="text" name="masonry_description_font_size" id="masonry_description_font_size" value="<?php echo $row->masonry_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <td class="spider_label"><label for="masonry_description_color">Description font color: </label></td>
622
+ <td>
623
+ <input type="text" name="masonry_description_color" id="masonry_description_color" value="<?php echo $row->masonry_description_color; ?>" class="color" />
624
+ </td>
625
+ </tr>
626
+ <tr>
627
+ <td class="spider_label"><label for="masonry_description_font_style">Description font family: </label></td>
628
+ <td>
629
+ <select name="masonry_description_font_style" id="masonry_description_font_style">
630
+ <?php
631
+ foreach ($font_families as $key => $font_family) {
632
+ ?>
633
+ <option value="<?php echo $key; ?>" <?php echo (($row->masonry_description_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
634
+ <?php
635
+ }
636
+ ?>
637
+ </select>
638
+ </td>
639
+ </tr>
640
  </tbody>
641
  </table>
642
  </fieldset>
css/bwg_featured_plugins.css DELETED
@@ -1,80 +0,0 @@
1
- #main_featured_plugins_page #featured-plugins-list {
2
- position:relative;
3
- margin:0px auto;
4
- width:90%;
5
- height:auto;
6
- display:table;
7
- list-style:none;
8
- }
9
-
10
- #main_featured_plugins_page #featured-plugins-list li {
11
- display:block;
12
- height:113px;
13
- padding:15px 5% 15px 5%;
14
- margin:0px 0px 12px 0px;
15
- background:#ededed;
16
- }
17
-
18
- #main_featured_plugins_page #featured-plugins-list li .product {
19
- position:relative;
20
- float:left;
21
- width:35%;
22
- height:113px;
23
- }
24
-
25
- #main_featured_plugins_page #featured-plugins-list li .title {
26
- float:left;
27
- height:113px;
28
- width:90%;
29
- margin:0px 0px 0px 109px;
30
- background:#cacaca;
31
- border-top-right-radius:3px;
32
- border-bottom-right-radius:3px;
33
- }
34
-
35
- #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url("images/form.jpg") left center no-repeat;}
36
- #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background:url("images/twitter-widget.jpg") left center no-repeat;}
37
- #main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url("images/catalog.jpg") left center no-repeat;}
38
- #main_featured_plugins_page #featured-plugins-list li.contact-maker .product {background:url("images/contact.maker.jpg") left center no-repeat;}
39
- #main_featured_plugins_page #featured-plugins-list li.contacts .product {background:url("images/contacts.jpg") left center no-repeat;}
40
- #main_featured_plugins_page #featured-plugins-list li.facebook .product {background:url("images/facebook.jpg") left center no-repeat;}
41
- #main_featured_plugins_page #featured-plugins-list li.faq .product {background:url("images/faq.jpg") left center no-repeat;}
42
- #main_featured_plugins_page #featured-plugins-list li.flash-calendar .product {background:url("images/flash.calendar.jpg") left center no-repeat;}
43
- #main_featured_plugins_page #featured-plugins-list li.folder-menu .product {background:url("images/folder.menu.jpg") left center no-repeat;}
44
- #main_featured_plugins_page #featured-plugins-list li.player .product {background:url("images/player.jpg") left center no-repeat;}
45
- #main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background:url("images/spider.calendar.jpg") left center no-repeat;}
46
- #main_featured_plugins_page #featured-plugins-list li.zoom .product {background:url("images/zoom.jpg") left center no-repeat;}
47
-
48
-
49
- #main_featured_plugins_page #featured-plugins-list li .title .heading {
50
- display:block;
51
- position:relative;
52
- font-size:24px;
53
- color:#014f73;
54
- margin:30px 0px -10px 20px;
55
- }
56
-
57
- #main_featured_plugins_page #featured-plugins-list li .title p {
58
- font-size:14px;
59
- color:#444;
60
- margin-left:20px;
61
- }
62
-
63
- #main_featured_plugins_page #featured-plugins-list li .description {
64
- float:right;
65
- width:50%;
66
- height:113px;
67
- }
68
-
69
- #main_featured_plugins_page #featured-plugins-list li .description p {
70
- text-align:right;
71
- }
72
-
73
- #main_featured_plugins_page #featured-plugins-list li .description a.download, #main_featured_plugins_page #featured-plugins-list li .description a.download:link, #main_featured_plugins_page #featured-plugins-list li .description a.download:visited {
74
- display:block;
75
- width:106px;
76
- height:32px;
77
- text-indent:-9999px;
78
- background:url(images/download.jpg) left top no-repeat;
79
- float:right;
80
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/images/player.jpg DELETED
Binary file
featured/featured.php ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function spider_featured($current_plugin = '') {
3
+ $plugins = array(
4
+ "form-maker" => array(
5
+ 'title' => 'Form Maker',
6
+ 'text' => 'Wordpress form builder plugin',
7
+ 'content' => 'Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.',
8
+ 'href' => 'http://web-dorado.com/products/wordpress-form.html'
9
+ ),
10
+ "photo-gallery" => array(
11
+ 'title' => 'Photo Gallery',
12
+ 'text' => 'WordPress Photo Gallery plugin',
13
+ 'content' => 'Photo Gallery is a fully responsive WordPress Gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages, as well as different widgets.',
14
+ 'href' => 'http://web-dorado.com/products/wordpress-photo-gallery-plugin.html'
15
+ ),
16
+ "contact-form-builder" => array(
17
+ 'title' => 'Contact Form Builder',
18
+ 'text' => 'WordPress contact form builder plugin',
19
+ 'content' => 'WordPress Contact Form Builder is an intuitive tool for creating contact forms.',
20
+ 'href' => 'http://web-dorado.com/products/wordpress-contact-form-builder.html'
21
+ ),
22
+ "slider" => array(
23
+ 'title' => 'Slider WD',
24
+ 'text' => 'WordPress slider plugin',
25
+ 'content' => 'Slider WD is a responsive plugin for adding sliders to your site. Slides can use individual effects as well as effects for the layers (textual content, images, social sharing buttons).',
26
+ 'href' => 'http://web-dorado.com/products/wordpress-slider-plugin.html'
27
+ ),
28
+ "contact-form-maker" => array(
29
+ 'title' => 'Contact Form Maker',
30
+ 'text' => 'WordPress contact form maker plugin',
31
+ 'content' => 'WordPress Contact Form Maker is an advanced and easy-to-use tool for creating forms.',
32
+ 'href' => 'http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html'
33
+ ),
34
+ "spider-calendar" => array(
35
+ 'title' => 'Spider Calendar',
36
+ 'text' => 'WordPress event calendar plugin',
37
+ 'content' => 'Spider Event Calendar is a highly configurable product which allows you to have multiple organized events.',
38
+ 'href' => 'http://web-dorado.com/products/wordpress-calendar.html'
39
+ ),
40
+ "catalog" => array(
41
+ 'title' => 'Spider Catalog',
42
+ 'text' => 'WordPress product catalog plugin',
43
+ 'content' => 'Spider Catalog for WordPress is a convenient tool for organizing the products represented on your website into catalogs.',
44
+ 'href' => 'http://web-dorado.com/products/wordpress-catalog.html'
45
+ ),
46
+ "player" => array(
47
+ 'title' => 'Video Player',
48
+ 'text' => 'WordPress Video player plugin',
49
+ 'content' => 'Spider Video Player for WordPress is a Flash & HTML5 video player plugin that allows you to easily add videos to your website with the possibility',
50
+ 'href' => 'http://web-dorado.com/products/wordpress-player.html'
51
+ ),
52
+ "contacts" => array(
53
+ 'title' => 'Spider Contacts',
54
+ 'text' => 'Wordpress staff list plugin',
55
+ 'content' => 'Spider Contacts helps you to display information about the group of people more intelligible, effective and convenient.',
56
+ 'href' => 'http://web-dorado.com/products/wordpress-contacts-plugin.html'
57
+ ),
58
+ "facebook" => array(
59
+ 'title' => 'Spider Facebook',
60
+ 'text' => 'WordPress Facebook plugin',
61
+ 'content' => 'Spider Facebook is a WordPress integration tool for Facebook.It includes all the available Facebook social plugins and widgets to be added to your web',
62
+ 'href' => 'http://web-dorado.com/products/wordpress-facebook.html'
63
+ ),
64
+ "twitter-widget" => array(
65
+ 'title' => 'Widget Twitter',
66
+ 'text' => 'WordPress Widget Twitter plugin',
67
+ 'content' => 'The Widget Twitter plugin lets you to fully integrate your WordPress site with your Twitter account.',
68
+ 'href' => 'http://web-dorado.com/products/wordpress-twitter-integration-plugin.html'
69
+ ),
70
+ "faq" => array(
71
+ 'title' => 'Spider FAQ',
72
+ 'text' => 'WordPress FAQ Plugin',
73
+ 'content' => 'The Spider FAQ WordPress plugin is for creating an FAQ (Frequently Asked Questions) section for your website.',
74
+ 'href' => 'http://web-dorado.com/products/wordpress-faq-plugin.html'
75
+ ),
76
+ "zoom" => array(
77
+ 'title' => 'Zoom',
78
+ 'text' => 'WordPress text zoom plugin',
79
+ 'content' => 'Zoom enables site users to resize the predefined areas of the web site.',
80
+ 'href' => 'http://web-dorado.com/products/wordpress-zoom.html'
81
+ ),
82
+ "flash-calendar" => array(
83
+ 'title' => 'Flash Calendar',
84
+ 'text' => 'WordPress flash calendar plugin',
85
+ 'content' => 'Spider Flash Calendar is a highly configurable Flash calendar plugin which allows you to have multiple organized events.',
86
+ 'href' => 'http://web-dorado.com/products/wordpress-events-calendar.html'
87
+ )
88
+ );
89
+ ?>
90
+ <div id="main_featured_plugins_page">
91
+ <h3>Featured Plugins</h3>
92
+ <ul id="featured-plugins-list">
93
+ <?php
94
+ foreach ($plugins as $key => $plugins) {
95
+ if ($current_plugin != $key) {
96
+ ?>
97
+ <li class="<?php echo $key; ?>">
98
+ <div class="product">
99
+ <div class="title">
100
+ <strong class="heading"><?php echo $plugins['title']; ?></strong>
101
+ <p><?php echo $plugins['text']; ?></p>
102
+ </div>
103
+ </div>
104
+ <div class="description">
105
+ <p><?php echo $plugins['content']; ?></p>
106
+ <a target="_blank" href="<?php echo $plugins['href']; ?>" class="download">Download</a>
107
+ </div>
108
+ </li>
109
+ <?php
110
+ }
111
+ }
112
+ ?>
113
+ </ul>
114
+ </div>
115
+ <?php
116
+ }
{css → featured}/images/catalog.jpg RENAMED
File without changes
featured/images/contact-form-builder.jpg ADDED
Binary file
css/images/contact.maker.jpg → featured/images/contact-form-maker.jpg RENAMED
File without changes
{css → featured}/images/contacts.jpg RENAMED
File without changes
{css → featured}/images/download.jpg RENAMED
File without changes
{css → featured}/images/facebook.jpg RENAMED
File without changes
{css → featured}/images/faq.jpg RENAMED
File without changes
{css → featured}/images/flash.calendar.jpg RENAMED
File without changes
{css → featured}/images/folder.menu.jpg RENAMED
File without changes
{css → featured}/images/form.jpg RENAMED
File without changes
featured/images/photo-gallery.jpg ADDED
Binary file
featured/images/player.jpg ADDED
Binary file
featured/images/slider.jpg ADDED
Binary file
css/images/spider.calendar.jpg → featured/images/spider-calendar.jpg RENAMED
File without changes
{css → featured}/images/twitter-widget.jpg RENAMED
File without changes
{css → featured}/images/zoom.jpg RENAMED
File without changes
featured/style.css ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background: url("images/form.jpg") left center no-repeat;}
2
+ #main_featured_plugins_page #featured-plugins-list li.photo-gallery .product {background: url("images/photo-gallery.jpg") left center no-repeat;}
3
+ #main_featured_plugins_page #featured-plugins-list li.slider .product {background: url("images/slider.jpg") left center no-repeat;}
4
+ #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background: url("images/twitter-widget.jpg") left center no-repeat;}
5
+ #main_featured_plugins_page #featured-plugins-list li.catalog .product {background: url("images/catalog.jpg") left center no-repeat;}
6
+ #main_featured_plugins_page #featured-plugins-list li.contact-form-maker .product {background: url("images/contact-form-maker.jpg") left center no-repeat;}
7
+ #main_featured_plugins_page #featured-plugins-list li.contact-form-builder .product {background: url("images/contact-form-builder.jpg") left center no-repeat;}
8
+ #main_featured_plugins_page #featured-plugins-list li.contacts .product {background: url("images/contacts.jpg") left center no-repeat;}
9
+ #main_featured_plugins_page #featured-plugins-list li.facebook .product {background: url("images/facebook.jpg") left center no-repeat;}
10
+ #main_featured_plugins_page #featured-plugins-list li.faq .product {background: url("images/faq.jpg") left center no-repeat;}
11
+ #main_featured_plugins_page #featured-plugins-list li.flash-calendar .product {background: url("images/flash.calendar.jpg") left center no-repeat;}
12
+ #main_featured_plugins_page #featured-plugins-list li.folder-menu .product {background: url("images/folder.menu.jpg") left center no-repeat;}
13
+ #main_featured_plugins_page #featured-plugins-list li.player .product {background: url("images/player.jpg") left center no-repeat;}
14
+ #main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background: url("images/spider-calendar.jpg") left center no-repeat;}
15
+ #main_featured_plugins_page #featured-plugins-list li.zoom .product {background: url("images/zoom.jpg") left center no-repeat;}
16
+
17
+ #main_featured_plugins_page * {
18
+ color: #444;
19
+ font-family: "Open Sans",sans-serif;
20
+ padding: 0;
21
+ }
22
+
23
+ #main_featured_plugins_page p {
24
+ font-size: 13px;
25
+ line-height: 1.5;
26
+ margin-right: 0px;
27
+ margin-top: 7px;
28
+ }
29
+
30
+ #main_featured_plugins_page h3 {
31
+ border-bottom: 2px solid rgb(111, 111, 111);
32
+ color: rgb(111, 111, 111);
33
+ font-family: Segoe UI;
34
+ font-size: 30px;
35
+ margin: 0px;
36
+ padding: 20px 0;
37
+ width: 99%;
38
+ }
39
+
40
+ #main_featured_plugins_page #featured-plugins-list {
41
+ display: table;
42
+ height: auto;
43
+ list-style: none;
44
+ margin: 0;
45
+ position: relative;
46
+ width: 99%;
47
+ }
48
+
49
+ #main_featured_plugins_page #featured-plugins-list li {
50
+ background: #ededed;
51
+ display: block;
52
+ height: 113px;
53
+ margin: 0px 0px 12px 0px;
54
+ padding: 15px 5%;
55
+ }
56
+
57
+ #main_featured_plugins_page #featured-plugins-list li .product {
58
+ float: left;
59
+ height: 113px;
60
+ position: relative;
61
+ width: 35%;
62
+ }
63
+
64
+ #main_featured_plugins_page #featured-plugins-list li .title {
65
+ background: #cacaca;
66
+ border-top-right-radius: 3px;
67
+ border-bottom-right-radius: 3px;
68
+ float: left;
69
+ height: 113px;
70
+ margin: 0px 0px 0px 109px;
71
+ width: 90%;
72
+ }
73
+
74
+ #main_featured_plugins_page #featured-plugins-list li .title .heading {
75
+ color: #014f73;
76
+ display: block;
77
+ font-size: 24px;
78
+ margin: 25px 0 0 20px;
79
+ position: relative;
80
+ }
81
+
82
+ #main_featured_plugins_page #featured-plugins-list li .title p {
83
+ color: #444;
84
+ font-size: 14px;
85
+ margin-left: 20px;
86
+ }
87
+
88
+ #main_featured_plugins_page #featured-plugins-list li .description {
89
+ float: right;
90
+ height: 113px;
91
+ width: 50%;
92
+ }
93
+
94
+ #main_featured_plugins_page #featured-plugins-list li .description p {
95
+ text-align: right;
96
+ }
97
+
98
+ #main_featured_plugins_page #featured-plugins-list li .description a.download,
99
+ #main_featured_plugins_page #featured-plugins-list li .description a.download:link,
100
+ #main_featured_plugins_page #featured-plugins-list li .description a.download:visited {
101
+ background: url("images/download.jpg") left top no-repeat;
102
+ display: block;
103
+ float: right;
104
+ height: 32px;
105
+ text-indent: -9999px;
106
+ width: 106px;
107
+ }
framework/WDWLibrary.php CHANGED
@@ -225,8 +225,8 @@ class WDWLibrary {
225
  }
226
  ?>
227
  <script type="text/javascript">
228
- function spider_page(x, y) {
229
- var items_county = <?php echo $items_county; ?>;
230
  switch (y) {
231
  case 1:
232
  if (x >= items_county) {
@@ -255,6 +255,19 @@ class WDWLibrary {
255
  }
256
  document.getElementById('<?php echo $form_id; ?>').submit();
257
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  </script>
259
  <div class="tablenav-pages">
260
  <span class="displaying-num">
@@ -287,7 +300,10 @@ class WDWLibrary {
287
  <a class="<?php echo $first_page; ?>" title="Go to the first page" href="javascript:spider_page(<?php echo $page_number; ?>,-2);">«</a>
288
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" href="javascript:spider_page(<?php echo $page_number; ?>,-1);">‹</a>
289
  <span class="paging-input">
290
- <span class="total-pages"><?php echo $page_number; ?></span> of <span class="total-pages">
 
 
 
291
  <?php echo $items_county; ?>
292
  </span>
293
  </span>
@@ -346,8 +362,8 @@ class WDWLibrary {
346
  }
347
  ?>
348
  <script type="text/javascript">
 
349
  function spider_page(x, y) {
350
- var items_county = <?php echo $items_county; ?>;
351
  switch (y) {
352
  case 1:
353
  if (x >= items_county) {
@@ -376,6 +392,20 @@ class WDWLibrary {
376
  }
377
  spider_ajax_save('<?php echo $form_id; ?>');
378
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
379
  </script>
380
  <div id="tablenav-pages" class="tablenav-pages">
381
  <span class="displaying-num">
@@ -408,7 +438,10 @@ class WDWLibrary {
408
  <a class="<?php echo $first_page; ?>" title="Go to the first page" onclick="spider_page(<?php echo $page_number; ?>,-2)">«</a>
409
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" onclick="spider_page(<?php echo $page_number; ?>,-1)">‹</a>
410
  <span class="paging-input">
411
- <span class="total-pages"><?php echo $page_number; ?></span> of <span class="total-pages">
 
 
 
412
  <?php echo $items_county; ?>
413
  </span>
414
  </span>
225
  }
226
  ?>
227
  <script type="text/javascript">
228
+ var items_county = <?php echo $items_county; ?>;
229
+ function spider_page(x, y) {
230
  switch (y) {
231
  case 1:
232
  if (x >= items_county) {
255
  }
256
  document.getElementById('<?php echo $form_id; ?>').submit();
257
  }
258
+ function check_enter_key(e) {
259
+ var key_code = (e.keyCode ? e.keyCode : e.which);
260
+ if (key_code == 13) { /*Enter keycode*/
261
+ if (jQuery('#current_page').val() >= items_county) {
262
+ document.getElementById('page_number').value = items_county;
263
+ }
264
+ else {
265
+ document.getElementById('page_number').value = jQuery('#current_page').val();
266
+ }
267
+ return true;
268
+ }
269
+ return true;
270
+ }
271
  </script>
272
  <div class="tablenav-pages">
273
  <span class="displaying-num">
300
  <a class="<?php echo $first_page; ?>" title="Go to the first page" href="javascript:spider_page(<?php echo $page_number; ?>,-2);">«</a>
301
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" href="javascript:spider_page(<?php echo $page_number; ?>,-1);">‹</a>
302
  <span class="paging-input">
303
+ <span class="total-pages">
304
+ <input class="current_page" id="current_page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return check_enter_key(event)" title="Go to the page" type="text" size="1" />
305
+ </span> of
306
+ <span class="total-pages">
307
  <?php echo $items_county; ?>
308
  </span>
309
  </span>
362
  }
363
  ?>
364
  <script type="text/javascript">
365
+ var items_county = <?php echo $items_county; ?>;
366
  function spider_page(x, y) {
 
367
  switch (y) {
368
  case 1:
369
  if (x >= items_county) {
392
  }
393
  spider_ajax_save('<?php echo $form_id; ?>');
394
  }
395
+ function check_enter_key(e) {
396
+ var key_code = (e.keyCode ? e.keyCode : e.which);
397
+ if (key_code == 13) { /*Enter keycode*/
398
+ if (jQuery('#current_page').val() >= items_county) {
399
+ document.getElementById('page_number').value = items_county;
400
+ }
401
+ else {
402
+ document.getElementById('page_number').value = jQuery('#current_page').val();
403
+ }
404
+ spider_ajax_save('<?php echo $form_id; ?>');
405
+ return false;
406
+ }
407
+ return true;
408
+ }
409
  </script>
410
  <div id="tablenav-pages" class="tablenav-pages">
411
  <span class="displaying-num">
438
  <a class="<?php echo $first_page; ?>" title="Go to the first page" onclick="spider_page(<?php echo $page_number; ?>,-2)">«</a>
439
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" onclick="spider_page(<?php echo $page_number; ?>,-1)">‹</a>
440
  <span class="paging-input">
441
+ <span class="total-pages">
442
+ <input class="current_page" id="current_page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return check_enter_key(event)" title="Go to the page" type="text" size="1" />
443
+ </span> of
444
+ <span class="total-pages">
445
  <?php echo $items_county; ?>
446
  </span>
447
  </span>
frontend/views/BWGViewSlideshow.php CHANGED
@@ -655,7 +655,7 @@ class BWGViewSlideshow {
655
  }
656
  else { ?>
657
  <span id="bwg_slideshow_image_<?php echo $bwg; ?>" class="bwg_slideshow_video_<?php echo $bwg; ?>" image_id="<?php echo $image_row->id; ?>">
658
- <iframe class="bwg_video_frame_<?php echo $bwg; ?>" src="<?php echo ($image_row->filetype == "YOUTUBE" ? "//www.youtube.com/embed/" . $image_row->filename . "?enablejsapi=1" : "//player.vimeo.com/video/" . $image_row->filename . "?api=1"); ?>" frameborder="0" allowfullscreen style="width:100%; height:100%;"></iframe>
659
  </span>
660
  <?php
661
  }
@@ -679,7 +679,7 @@ class BWGViewSlideshow {
679
  }
680
  else { ?>
681
  <span id="bwg_slideshow_image_second_<?php echo $bwg; ?>" class="bwg_slideshow_video_<?php echo $bwg; ?>">
682
- <iframe class="bwg_video_frame_<?php echo $bwg; ?>" src="<?php echo ($image_row->filetype == "YOUTUBE" ? "//www.youtube.com/embed/" . $image_row->filename . "?enablejsapi=1" : "//player.vimeo.com/video/" . $image_row->filename . "?api=1"); ?>" frameborder="0" allowfullscreen style="width:100%; height:100%;"></iframe>
683
  </span>
684
  <?php
685
  }
655
  }
656
  else { ?>
657
  <span id="bwg_slideshow_image_<?php echo $bwg; ?>" class="bwg_slideshow_video_<?php echo $bwg; ?>" image_id="<?php echo $image_row->id; ?>">
658
+ <iframe class="bwg_video_frame_<?php echo $bwg; ?>" src="<?php echo ($image_row->filetype == "YOUTUBE" ? "//www.youtube.com/embed/" . $image_row->filename . "?enablejsapi=1&wmode=transparent" : "//player.vimeo.com/video/" . $image_row->filename . "?api=1"); ?>" frameborder="0" allowfullscreen style="width:100%; height:100%;"></iframe>
659
  </span>
660
  <?php
661
  }
679
  }
680
  else { ?>
681
  <span id="bwg_slideshow_image_second_<?php echo $bwg; ?>" class="bwg_slideshow_video_<?php echo $bwg; ?>">
682
+ <iframe class="bwg_video_frame_<?php echo $bwg; ?>" src="<?php echo ($image_row->filetype == "YOUTUBE" ? "//www.youtube.com/embed/" . $image_row->filename . "?enablejsapi=1&wmode=transparent" : "//player.vimeo.com/video/" . $image_row->filename . "?api=1"); ?>" frameborder="0" allowfullscreen style="width:100%; height:100%;"></iframe>
683
  </span>
684
  <?php
685
  }
images/theme_masonry.png CHANGED
Binary file
photo-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
- * Version: 1.2.3
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -50,8 +50,7 @@ function bwg_options_panel() {
50
  $licensing_plugins_page = add_submenu_page('galleries_bwg', 'Licensing', 'Licensing', 'manage_options', 'licensing_bwg', 'bw_gallery');
51
  add_action('admin_print_styles-' . $licensing_plugins_page, 'bwg_licensing_styles');
52
 
53
- $featured_plugins_page = add_submenu_page('galleries_bwg', 'Featured Plugins', 'Featured Plugins', 'manage_options', 'featured_plugins_bwg', 'bw_gallery');
54
- add_action('admin_print_styles-' . $featured_plugins_page, 'bwg_featured_plugins_styles');
55
 
56
  $uninstall_page = add_submenu_page('galleries_bwg', 'Uninstall', 'Uninstall', 'manage_options', 'uninstall_bwg', 'bw_gallery');
57
  add_action('admin_print_styles-' . $uninstall_page, 'bwg_styles');
@@ -63,7 +62,7 @@ function bw_gallery() {
63
  global $wpdb;
64
  require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
65
  $page = WDWLibrary::get('page');
66
- if (($page != '') && (($page == 'galleries_bwg') || ($page == 'albums_bwg') || ($page == 'tags_bwg') || ($page == 'options_bwg') || ($page == 'themes_bwg') || ($page == 'licensing_bwg') || ($page == 'featured_plugins_bwg') || ($page == 'uninstall_bwg') || ($page == 'BWGShortcode'))) {
67
  require_once(WD_BWG_DIR . '/admin/controllers/BWGController' . (($page == 'BWGShortcode') ? $page : ucfirst(strtolower($page))) . '.php');
68
  $controller_class = 'BWGController' . ucfirst(strtolower($page));
69
  $controller = new $controller_class();
@@ -71,6 +70,13 @@ function bw_gallery() {
71
  }
72
  }
73
 
 
 
 
 
 
 
 
74
  function bwg_ajax_frontend() {
75
  require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
76
  $page = WDWLibrary::get('action');
@@ -601,6 +607,7 @@ function bwg_activate() {
601
  `upload_img_width` int(4) NOT NULL,
602
  `upload_img_height` int(4) NOT NULL,
603
  `play_icon` tinyint(1) NOT NULL,
 
604
  PRIMARY KEY (`id`)
605
  ) DEFAULT CHARSET=utf8;";
606
  $wpdb->query($bwg_option);
@@ -976,6 +983,9 @@ function bwg_activate() {
976
  `lightbox_hit_font_style` varchar(16) NOT NULL,
977
  `lightbox_hit_font_weight` varchar(8) NOT NULL,
978
  `lightbox_hit_font_size` int(4) NOT NULL,
 
 
 
979
 
980
  `default_theme` tinyint(1) NOT NULL,
981
  PRIMARY KEY (`id`)
@@ -1613,6 +1623,9 @@ function bwg_activate() {
1613
  'lightbox_hit_font_style' => 'segoe ui',
1614
  'lightbox_hit_font_weight' => 'normal',
1615
  'lightbox_hit_font_size' => 14,
 
 
 
1616
 
1617
  'default_theme' => 1
1618
  ), array(
@@ -1986,6 +1999,9 @@ function bwg_activate() {
1986
  '%s',
1987
  '%s',
1988
  '%d',
 
 
 
1989
 
1990
  '%d'
1991
  ));
@@ -2361,6 +2377,9 @@ function bwg_activate() {
2361
  'lightbox_hit_font_style' => 'segoe ui',
2362
  'lightbox_hit_font_weight' => 'normal',
2363
  'lightbox_hit_font_size' => 14,
 
 
 
2364
 
2365
  'default_theme' => 0
2366
  ), array(
@@ -2734,12 +2753,15 @@ function bwg_activate() {
2734
  '%s',
2735
  '%s',
2736
  '%d',
 
 
 
2737
 
2738
  '%d'
2739
  ));
2740
  }
2741
  $version = get_option("wd_bwg_version");
2742
- $new_version = '1.2.3';
2743
  if ($version && version_compare($version, $new_version, '<')) {
2744
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2745
  bwg_update($version);
@@ -2754,7 +2776,7 @@ register_activation_hook(__FILE__, 'bwg_activate');
2754
 
2755
  function bwg_update_hook() {
2756
  $version = get_option("wd_bwg_version");
2757
- $new_version = '1.2.3';
2758
  if ($version && version_compare($version, $new_version, '<')) {
2759
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2760
  bwg_update($version);
@@ -2787,10 +2809,6 @@ function bwg_scripts() {
2787
  wp_enqueue_script('jquery-ui-sortable');
2788
  }
2789
 
2790
- function bwg_featured_plugins_styles() {
2791
- wp_enqueue_style('Featured_Plugins', WD_BWG_URL . '/css/bwg_featured_plugins.css');
2792
- }
2793
-
2794
  function bwg_licensing_styles() {
2795
  wp_enqueue_style('bwg_licensing', WD_BWG_URL . '/css/bwg_licensing.css');
2796
  }
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
+ * Version: 1.2.4
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
50
  $licensing_plugins_page = add_submenu_page('galleries_bwg', 'Licensing', 'Licensing', 'manage_options', 'licensing_bwg', 'bw_gallery');
51
  add_action('admin_print_styles-' . $licensing_plugins_page, 'bwg_licensing_styles');
52
 
53
+ add_submenu_page('galleries_bwg', 'Featured Plugins', 'Featured Plugins', 'manage_options', 'featured_plugins_bwg', 'bwg_featured');
 
54
 
55
  $uninstall_page = add_submenu_page('galleries_bwg', 'Uninstall', 'Uninstall', 'manage_options', 'uninstall_bwg', 'bw_gallery');
56
  add_action('admin_print_styles-' . $uninstall_page, 'bwg_styles');
62
  global $wpdb;
63
  require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
64
  $page = WDWLibrary::get('page');
65
+ if (($page != '') && (($page == 'galleries_bwg') || ($page == 'albums_bwg') || ($page == 'tags_bwg') || ($page == 'options_bwg') || ($page == 'themes_bwg') || ($page == 'licensing_bwg') || ($page == 'uninstall_bwg') || ($page == 'BWGShortcode'))) {
66
  require_once(WD_BWG_DIR . '/admin/controllers/BWGController' . (($page == 'BWGShortcode') ? $page : ucfirst(strtolower($page))) . '.php');
67
  $controller_class = 'BWGController' . ucfirst(strtolower($page));
68
  $controller = new $controller_class();
70
  }
71
  }
72
 
73
+ function bwg_featured() {
74
+ require_once(WD_S_DIR . '/featured/featured.php');
75
+ wp_register_style('bwg_featured', WD_S_URL . '/featured/style.css', array(), get_option("wd_bwg_version"));
76
+ wp_print_styles('bwg_featured');
77
+ spider_featured('photo-gallery');
78
+ }
79
+
80
  function bwg_ajax_frontend() {
81
  require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
82
  $page = WDWLibrary::get('action');
607
  `upload_img_width` int(4) NOT NULL,
608
  `upload_img_height` int(4) NOT NULL,
609
  `play_icon` tinyint(1) NOT NULL,
610
+ `show_masonry_thumb_description` tinyint(1) NOT NULL,
611
  PRIMARY KEY (`id`)
612
  ) DEFAULT CHARSET=utf8;";
613
  $wpdb->query($bwg_option);
983
  `lightbox_hit_font_style` varchar(16) NOT NULL,
984
  `lightbox_hit_font_weight` varchar(8) NOT NULL,
985
  `lightbox_hit_font_size` int(4) NOT NULL,
986
+ `masonry_description_font_size` int(4) NOT NULL,
987
+ `masonry_description_color` varchar(8) NOT NULL,
988
+ `masonry_description_font_style` varchar(16) NOT NULL,
989
 
990
  `default_theme` tinyint(1) NOT NULL,
991
  PRIMARY KEY (`id`)
1623
  'lightbox_hit_font_style' => 'segoe ui',
1624
  'lightbox_hit_font_weight' => 'normal',
1625
  'lightbox_hit_font_size' => 14,
1626
+ 'masonry_description_font_size' => 12,
1627
+ 'masonry_description_color' => 'CCCCCC',
1628
+ 'masonry_description_font_style' => 'segoe ui',
1629
 
1630
  'default_theme' => 1
1631
  ), array(
1999
  '%s',
2000
  '%s',
2001
  '%d',
2002
+ '%d',
2003
+ '%s',
2004
+ '%s',
2005
 
2006
  '%d'
2007
  ));
2377
  'lightbox_hit_font_style' => 'segoe ui',
2378
  'lightbox_hit_font_weight' => 'normal',
2379
  'lightbox_hit_font_size' => 14,
2380
+ 'masonry_description_font_size' => 12,
2381
+ 'masonry_description_color' => 'CCCCCC',
2382
+ 'masonry_description_font_style' => 'segoe ui',
2383
 
2384
  'default_theme' => 0
2385
  ), array(
2753
  '%s',
2754
  '%s',
2755
  '%d',
2756
+ '%d',
2757
+ '%s',
2758
+ '%s',
2759
 
2760
  '%d'
2761
  ));
2762
  }
2763
  $version = get_option("wd_bwg_version");
2764
+ $new_version = '1.2.4';
2765
  if ($version && version_compare($version, $new_version, '<')) {
2766
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2767
  bwg_update($version);
2776
 
2777
  function bwg_update_hook() {
2778
  $version = get_option("wd_bwg_version");
2779
+ $new_version = '1.2.4';
2780
  if ($version && version_compare($version, $new_version, '<')) {
2781
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2782
  bwg_update($version);
2809
  wp_enqueue_script('jquery-ui-sortable');
2810
  }
2811
 
 
 
 
 
2812
  function bwg_licensing_styles() {
2813
  wp_enqueue_style('bwg_licensing', WD_BWG_URL . '/css/bwg_licensing.css');
2814
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
- Stable tag: 1.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -174,6 +174,9 @@ If any problem occurs, please contact us at [info@web-dorado.com](mailto:info@w
174
 
175
  == Changelog ==
176
 
 
 
 
177
  = 1.2.3 =
178
  play icon over the video thumbnail
179
 
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
+ Stable tag: 1.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
174
 
175
  == Changelog ==
176
 
177
+ = 1.2.4 =
178
+ pagination input
179
+
180
  = 1.2.3 =
181
  play icon over the video thumbnail
182
 
update/bwg_update.php CHANGED
@@ -150,6 +150,14 @@ function bwg_update($version) {
150
  // Add enable/disable option for play icon on video thumbnail.
151
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `play_icon` tinyint(1) NOT NULL DEFAULT 1");
152
  }
 
 
 
 
 
 
 
 
153
  return;
154
  }
155
 
150
  // Add enable/disable option for play icon on video thumbnail.
151
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `play_icon` tinyint(1) NOT NULL DEFAULT 1");
152
  }
153
+ if (version_compare($version, '1.2.4') == -1) {
154
+ // Add enable/disable showing masonry thumb description.
155
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `show_masonry_thumb_description` tinyint(1) NOT NULL DEFAULT 0");
156
+ // Add masonry description styles option.
157
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `masonry_description_font_size` int(4) NOT NULL DEFAULT 12");
158
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `masonry_description_color` varchar(8) NOT NULL DEFAULT 'CCCCCC'");
159
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `masonry_description_font_style` varchar(16) NOT NULL DEFAULT 'segoe ui'");
160
+ }
161
  return;
162
  }
163