Photo Gallery by WD – Responsive Photo Gallery - Version 1.3.44

Version Description

  • Fixed: Shortcode edit page responsiveness.
  • Fixed: Thumbnails transition effect in mosaic extended album view.
Download this release

Release Info

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

Code changes from version 1.3.43 to 1.3.44

admin/views/BWGViewBWGShortcode.php CHANGED
@@ -61,6 +61,18 @@ class BWGViewBWGShortcode {
61
  'monospace' => 'Monospace',
62
  'serif' => 'Serif',
63
  );
 
 
 
 
 
 
 
 
 
 
 
 
64
  if (!$from_menu) {
65
  ?>
66
  <html xmlns="http://www.w3.org/1999/xhtml">
@@ -88,22 +100,14 @@ class BWGViewBWGShortcode {
88
  <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/jscolor/jscolor.js?ver='.wd_bwg_version(); ?>"></script>
89
  <?php
90
  if (!$from_menu) {
 
91
  ?>
92
  <base target="_self">
93
  </head>
94
- <body id="link" onLoad="tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';" dir="ltr" class="forceColors">
95
  <?php if (isset($_POST['tagtext'])) { echo '<script>tinyMCEPopup.close();</script></body></html>'; die(); } ?>
96
  <form method="post" action="#" id="bwg_shortcode_form">
97
  <?php wp_nonce_field( 'BWGShortcode', 'bwg_nonce' ); ?>
98
- <div class="tabs" role="tablist" tabindex="-1">
99
- <ul>
100
- <li id="display_tab" class="current" role="tab" tabindex="0">
101
- <span>
102
- <a href="javascript:mcTabs.displayTab('display_tab','display_panel');" onMouseDown="return false;" tabindex="-1"><?php _e("Display", 'bwg_back'); ?></a>
103
- </span>
104
- </li>
105
- </ul>
106
- </div>
107
  <div class="panel_wrapper">
108
  <div id="display_panel" class="panel current">
109
  <?php
@@ -116,850 +120,900 @@ class BWGViewBWGShortcode {
116
  <?php
117
  }
118
  ?>
119
- <div style="text-align:center; height:100px;">
120
  <span class="gallery_type" onClick="bwg_gallery_type('thumbnails')">
121
- <div style="text-align: center;"><input type="radio" id="thumbnails" name="gallery_type" value="thumbnails"/><label for="thumbnails"><?php _e("Thumbnails", 'bwg_back'); ?></label></div>
122
- <label for="thumbnails"><img id="display_thumb" src="<?php echo WD_BWG_URL . '/images/thumbnails.jpg'; ?>" /></label>
123
  </span>
124
- <span title="<?php _e("This view is disabled in free version.", 'bwg_back'); ?>" class="gallery_type">
125
- <div style="text-align: center;"><input disabled="disabled" type="radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" /><label class="spider_free_version_label" for="thumbnails_masonry"><?php _e("Masonry", 'bwg_back'); ?></label></div>
126
- <label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/thumbnails_masonry.jpg'; ?>" /></label>
127
  </span>
128
- <span title="<?php _e("This view is disabled in free version.", 'bwg_back'); ?>" class="gallery_type">
129
- <div style="text-align: center;"><input disabled="disabled" type="radio" id="thumbnails_mosaic" name="gallery_type" value="thumbnails_mosaic" /><label class="spider_free_version_label" for="thumbnails_mosaic"><?php _e("Mosaic", 'bwg_back'); ?></label></div>
130
- <label for="thumbnails_mosaic"><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/thumbnails_mosaic.jpg'; ?>" /></label>
131
  </span>
132
  <span class="gallery_type" onClick="bwg_gallery_type('slideshow')">
133
- <div style="text-align: center;"><input type="radio" id="slideshow" name="gallery_type" value="slideshow" /><label for="slideshow"><?php _e("Slideshow", 'bwg_back'); ?></label></div>
134
  <label for="slideshow"><img src="<?php echo WD_BWG_URL . '/images/slideshow.jpg'; ?>" /></label>
135
  </span>
136
  <span class="gallery_type" onClick="bwg_gallery_type('image_browser')">
137
- <div style="text-align: center;"><input type="radio" id="image_browser" name="gallery_type" value="image_browser" /><label for="image_browser"><?php _e("Image Browser", 'bwg_back'); ?></label></div>
138
- <label for="image_browser"><img src="<?php echo WD_BWG_URL . '/images/image_browser.jpg'; ?>" /></label>
139
  </span>
140
  <span class="gallery_type" onClick="bwg_gallery_type('album_compact_preview')">
141
- <div style="text-align: center;"><input type="radio" id="album_compact_preview" name="gallery_type" value="album_compact_preview" /><label for="album_compact_preview"><?php _e("Compact Album", 'bwg_back'); ?></label></div>
142
- <label for="album_compact_preview"><img src="<?php echo WD_BWG_URL . '/images/album_compact_preview.jpg'; ?>" /></label>
143
  </span>
144
- <span title="<?php _e("This view is disabled in free version.", 'bwg_back'); ?>" class="gallery_type">
145
- <div style="text-align: center;"><input disabled="disabled" type="radio" id="album_masonry_preview" name="gallery_type" value="album_masonry_preview" /><label class="spider_free_version_label" for="album_masonry_preview"><?php _e("Masonry Album", 'bwg_back'); ?></label></div>
146
- <label for="album_masonry_preview"><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/thumbnails_masonry.jpg'; ?>" /></label>
147
  </span>
148
  <span class="gallery_type" onClick="bwg_gallery_type('album_extended_preview')">
149
- <div style="text-align: center;"><input type="radio" id="album_extended_preview" name="gallery_type" value="album_extended_preview" /><label for="album_extended_preview"><?php _e("Extended Album", 'bwg_back'); ?></label></div>
150
- <label for="album_extended_preview"><img src="<?php echo WD_BWG_URL . '/images/album_extended_preview.jpg'; ?>" /></label>
151
  </span>
152
- <span title="<?php _e('This view is disabled in free version.', 'bwg_back'); ?>" class="gallery_type">
153
- <div style="text-align: center;"><input disabled="disabled" type="radio" id="blog_style" name="gallery_type" value="blog_style" /><label class="spider_free_version_label" for="blog_style"><?php _e("Blog Style", 'bwg_back'); ?></label></div>
154
  <label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/blog_style.jpg'; ?>" /></label>
155
  </span>
156
- <span title="<?php _e('This view is disabled in free version.', 'bwg_back'); ?>" class="gallery_type">
157
- <div style="text-align: center;"><input disabled="disabled" type="radio" id="carousel" name="gallery_type" value="carousel" /><label class="spider_free_version_label" for="carousel"><?php _e("Carousel", 'bwg_back'); ?></label></div>
158
- <label for="carousel"><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/Carousel.png'; ?>" /></label>
159
  </span>
160
  </div>
161
- <hr />
162
- <div class="bwg_short_div" style="border-right: 1px solid #000000;">
163
- <table>
164
- <tbody>
165
- <tr id="tr_theme">
166
- <td <?php echo (get_option("wd_bwg_theme_version") ? 'title="This option is disabled in free version." class="spider_label spider_free_version_label"' : 'class="spider_label"'); ?>><label for="theme"><?php _e("Theme:", 'bwg_back'); ?> </label></td>
167
- <td>
168
- <select name="theme" class="select_icon" id="theme" style="width:150px;" <?php echo (get_option("wd_bwg_theme_version") ? 'disabled="disabled"' : ''); ?>>
169
- <option value="0" selected="selected"><?php _e("Select Theme", 'bwg_back'); ?></option>
170
- <?php
171
- foreach ($theme_rows as $theme_row) {
172
- ?>
173
- <option <?php echo ($theme_row->default_theme) ? 'selected="selected"' : ''; ?> value="<?php echo $theme_row->id; ?>"><?php echo $theme_row->name; ?></option>
174
- <?php
175
- }
176
- ?>
177
- </select>
178
- </td>
179
- </tr>
180
- <tr id="tr_gallery">
181
- <td class="spider_label"><label for="gallery"><?php _e("Gallery:", 'bwg_back'); ?> </label></td>
182
- <td>
183
- <select name="gallery" class="select_icon" id="gallery" style="width:150px;">
184
- <option value="0" selected="selected"><?php _e("All Galleries", 'bwg_back'); ?></option>
185
- <?php
186
- foreach ($gallery_rows as $gallery_row) {
187
- ?>
188
- <option value="<?php echo $gallery_row->id; ?>"><?php echo $gallery_row->name; ?></option>
189
- <?php
190
- }
191
- ?>
192
- </select>
193
- </td>
194
- </tr>
195
- <tr id="tr_album">
196
- <td title="<?php _e('The selected album expanded content will be displayed.', 'bwg_back'); ?>" class="spider_label"><label for="album"><?php _e("Album:", 'bwg_back'); ?> </label></td>
197
- <td>
198
- <select name="album" class="select_icon" id="album" style="width:150px;">
199
- <option value="0" selected="selected"><?php _e("Select Album", 'bwg_back'); ?></option>
200
- <?php
201
- foreach ($album_rows as $album_row) {
202
- ?>
203
- <option value="<?php echo $album_row->id; ?>"><?php echo $album_row->name; ?></option>
204
- <?php
205
- }
206
- ?>
207
- </select>
208
- </td>
209
- </tr>
210
- <tr id="tr_sort_by">
211
- <td class="spider_label"><label for="sort_by"><?php _e("Sort images by:", 'bwg_back'); ?> </label></td>
212
- <td>
213
- <select name="sort_by" class="select_icon" id="sort_by" style="width:150px;">
214
- <option value="order" selected="selected"><?php _e("Order", 'bwg_back'); ?></option>
215
- <option value="alt"><?php _e("Title", 'bwg_back'); ?></option>
216
- <option value="date"><?php _e("Date", 'bwg_back'); ?></option>
217
- <option value="filename"><?php _e("Filename", 'bwg_back'); ?></option>
218
- <option value="size"><?php _e("Size", 'bwg_back'); ?></option>
219
- <option value="filetype"><?php _e("Type", 'bwg_back'); ?></option>
220
- <option value="resolution"><?php _e("Resolution", 'bwg_back'); ?></option>
221
- <option value="random"><?php _e("Random", 'bwg_back'); ?></option>
222
- </select>
223
- </td>
224
- </tr>
225
- <tr id="tr_tag">
226
- <td class="spider_label"><label for="gallery"><?php echo __('Tag:', 'bwg_back'); ?> </label></td>
227
- <td>
228
- <select name="tag" id="tag" class="select_icon" style="width:150px;">
229
- <option value="0" selected="selected"><?php echo __('All Tags', 'bwg_back'); ?></option>
230
- <?php
231
- foreach ($tag_rows as $tag_row) {
232
- ?>
233
- <option value="<?php echo $tag_row->term_id; ?>"><?php echo $tag_row->name; ?></option>
234
- <?php
235
- }
236
- ?>
237
- </select>
238
- </td>
239
- </tr>
240
- <tr id="tr_order_by">
241
- <td class="spider_label"><label><?php _e("Order images", 'bwg_back'); ?>: </label></td>
242
- <td>
243
- <input type="radio" name="order_by" id="order_by_1" value="asc" checked="checked" /><label for="order_by_1"><?php _e("Ascending", 'bwg_back'); ?></label>
244
- <input type="radio" name="order_by" id="order_by_0" value="desc" /><label for="order_by_0"><?php _e("Descending", 'bwg_back'); ?></label>
245
- </td>
246
- </tr>
247
- <tr id="tr_show_search_box">
248
- <td class="spider_label"><label><?php _e("Show search box:", 'bwg_back'); ?> </label></td>
249
- <td>
250
- <input type="radio" name="show_search_box" id="show_search_box_1" value="1" <?php if ($wd_bwg_options->show_search_box) echo 'checked="checked"'; ?> onchange="bwg_show_search_box()" /><label for="show_search_box_1"><?php _e("Yes", 'bwg_back'); ?></label>
251
- <input type="radio" name="show_search_box" id="show_search_box_0" value="0" <?php if (!$wd_bwg_options->show_search_box) echo 'checked="checked"'; ?> onchange="bwg_show_search_box()" /><label for="show_search_box_0"><?php _e('No', 'bwg_back'); ?></label>
252
- </td>
253
- </tr>
254
- <tr id="tr_search_box_width">
255
- <td class="spider_label"><label for="search_box_width"><?php _e("Search box width:", 'bwg_back'); ?> </label></td>
256
- <td><input type="text" name="search_box_width" id="search_box_width" value="<?php echo $wd_bwg_options->search_box_width; ?>" class="spider_int_input" /> px</td>
257
- </tr>
258
- <tr id="tr_show_tag_box">
259
- <td class="spider_label"><label><?php _e("Show tag box:", 'bwg_back'); ?> </label></td>
260
- <td>
261
- <input type="radio" name="show_tag_box" id="show_tag_box_1" value="1" <?php if ($wd_bwg_options->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_1"><?php _e('Yes', 'bwg_back'); ?></label>
262
- <input type="radio" name="show_tag_box" id="show_tag_box_0" value="0" <?php if (!$wd_bwg_options->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_search_box_0"><?php _e('No', 'bwg_back'); ?></label>
263
- </td>
264
- </tr>
265
- <tr id="tr_show_sort_images">
266
- <td class="spider_label"><label><?php _e("Show 'Order by' dropdown list:", 'bwg_back'); ?> </label></td>
267
- <td>
268
- <input type="radio" name="show_sort_images" id="show_sort_images_1" value="1" <?php if ($wd_bwg_options->show_sort_images) echo 'checked="checked"'; ?> onchange="" /><label for="show_sort_images_1"><?php _e('Yes', 'bwg_back'); ?></label>
269
- <input type="radio" name="show_sort_images" id="show_sort_images_0" value="0" <?php if (!$wd_bwg_options->show_sort_images) echo 'checked="checked"'; ?> onchange="" /><label for="show_sort_images_0"><?php _e('No', 'bwg_back'); ?>;</label>
270
- </td>
271
- </tr>
272
- <tr id="tr_showthumbs_name">
273
- <td class="spider_label"><label><?php echo _e('Show gallery title:', 'bwg_back'); ?> </label></td>
274
- <td>
275
- <input type="radio" name="showthumbs_name" id="showthumbs_name_1" value="1" <?php if ($wd_bwg_options->showthumbs_name) echo 'checked="checked"'; ?> onchange="" /><label for="showthumbs_name_1"><?php echo _e('Yes', 'bwg_back'); ?></label>
276
- <input type="radio" name="showthumbs_name" id="showthumbs_name_0" value="0" <?php if (!$wd_bwg_options->showthumbs_name) echo 'checked="checked"'; ?> onchange="" /><label for="showthumbs_name_0"><?php echo _e('No', 'bwg_back'); ?></label>
277
- </td>
278
- </tr>
279
- <tr id="tr_show_album_name">
280
- <td class="spider_label"><label><?php echo _e('Show gallery title:', 'bwg_back'); ?> </label></td>
281
- <td>
282
- <input type="radio" name="show_album_name" id="show_album_name_1" value="1" <?php if ($wd_bwg_options->show_album_name) echo 'checked="checked"'; ?> onchange="" /><label for="show_album_name_1"><?php echo _e('Yes', 'bwg_back'); ?></label>
283
- <input type="radio" name="show_album_name" id="show_album_name_0" value="0" <?php if (!$wd_bwg_options->show_album_name) echo 'checked="checked"'; ?> onchange="" /><label for="show_album_name_0"><?php echo _e('No', 'bwg_back'); ?></label>
284
- </td>
285
- </tr>
286
- <tr id="tr_show_gallery_description">
287
- <td class="spider_label"><label><?php echo __('Show gallery description:', 'bwg_back'); ?> </label></td>
288
- <td>
289
- <input type="radio" name="show_gallery_description" id="show_gallery_description_1" value="1" <?php if ($wd_bwg_options->show_gallery_description) echo 'checked="checked"'; ?> onchange="" /><label for="show_gallery_description_1"><?php echo __('Yes', 'bwg_back'); ?></label>
290
- <input type="radio" name="show_gallery_description" id="show_gallery_description_0" value="0" <?php if (!$wd_bwg_options->show_gallery_description) echo 'checked="checked"'; ?> onchange="" /><label for="show_gallery_description_0"><?php echo __('No', 'bwg_back'); ?></label>
291
- </td>
292
- </tr>
293
- <!--Thumbnails, Masonry viewies-->
294
- <tr id="tr_masonry_hor_ver">
295
- <td class="spider_label"><label><?php _e("Masonry:", 'bwg_back'); ?> </label></td>
296
- <td>
297
- <input type="radio" name="masonry_hor_ver" id="masonry_ver" value="vertical" onclick="bwg_change_label('image_column_number_label', 'Number of image rows: ');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  bwg_change_label('thumb_width_height_label', 'Image thumbnail width: ');
299
  jQuery('#thumb_width').show();
300
  jQuery('#thumb_height').hide();
301
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->masonry == 'vertical') ? 'checked' : ''; ?> /><label for="masonry_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
302
- <input type="radio" name="masonry_hor_ver" id="masonry_hor" value="horizontal" onclick="bwg_change_label('image_column_number_label', '<?php _e("Max. number of image columns: ", 'bwg_back'); ?>');
303
  bwg_change_label('thumb_width_height_label', 'Image Thumbnail Height: ');
304
  jQuery('#thumb_width').hide();
305
  jQuery('#thumb_height').show();
306
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->masonry == 'horizontal') ? 'checked' : ''; ?> /><label for="masonry_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
307
- </td>
308
- </tr>
309
- <!--Thumbnails, Mosaic viewies-->
310
- <tr id="tr_mosaic_hor_ver">
311
- <td class="spider_label"><label><?php _e("Mosaic:", 'bwg_back'); ?> </label></td>
312
- <td>
313
- <input type="radio" name="mosaic_hor_ver" id="mosaic_ver" value="vertical" onclick="bwg_change_label('image_column_number_label', '<?php _e("Number of image rows: ", 'bwg_back'); ?>');
314
  bwg_change_label('thumb_width_height_label', '<?php _e("Image thumbnail width: ", 'bwg_back'); ?>');
315
  jQuery('#thumb_width').show();
316
  jQuery('#thumb_height').hide();
317
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->mosaic == 'vertical') ? 'checked' : ''; ?> /><label for="mosaic_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
318
- <input type="radio" name="mosaic_hor_ver" id="mosaic_hor" value="horizontal" onclick="bwg_change_label('image_column_number_label', '<?php _e("Max. number of image columns:", 'bwg_back'); ?> ');
319
  bwg_change_label('thumb_width_height_label', '<?php _e("Image Thumbnail Height:", 'bwg_back'); ?> ');
320
  jQuery('#thumb_width').hide();
321
  jQuery('#thumb_height').show();
322
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->mosaic == 'horizontal') ? 'checked' : ''; ?> /><label for="mosaic_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
323
-
324
-
325
- </td>
326
- </tr>
327
- <tr id="tr_resizable_mosaic">
328
- <td title="<?php _e('Mosaic thumbnails do not have fixed size, but are proportional to the width of the parent container. This option keeps thumbs to look nice when viewed with very large or very small screen. Prevents zooming of thumbs.', 'bwg_back'); ?>" class="spider_label"><label for="resizable_mosaic"><?php _e("Resizable mosaic", 'bwg_back'); ?></label></td>
329
- <td>
330
- <input type="radio" name="resizable_mosaic" id="resizable_mosaic_1" value="1" <?php echo ($wd_bwg_options->resizable_mosaic == 1) ? 'checked' : ''; ?> /><label for="resizable_mosaic_1"><?php _e('Yes', 'bwg_back'); ?></label>
331
- <input type="radio" name="resizable_mosaic" id="resizable_mosaic_0" value="0" <?php echo ($wd_bwg_options->resizable_mosaic == 0) ? 'checked' : ''; ?> /><label for="resizable_mosaic_0"><?php _e('No', 'bwg_back'); ?></label>
332
- <br />
333
- </td>
334
- </tr>
335
- <tr id="tr_mosaic_total_width">
336
- <td title="<?php _e("Percentage of container's width", 'bwg_back'); ?>" class="spider_label"><label for="mosaic_total_width"><?php _e("Total width of mosaic:", 'bwg_back'); ?> </label></td>
337
- <td><input type="text" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo $wd_bwg_options->mosaic_total_width; ?>" class="spider_int_input" /> %</td>
338
- </tr>
339
- <!--Thumbnails, Masonry and Mosaic viewies-->
340
- <tr id="tr_image_column_number">
341
- <td class="spider_label"><label id="image_column_number_label" for="image_column_number"><?php _e("Max. number of image columns:", 'bwg_back'); ?> </label></td>
342
- <td><input type="text" name="image_column_number" id="image_column_number" value="<?php echo $wd_bwg_options->image_column_number; ?>" class="spider_int_input" /></td>
343
- </tr>
344
- <tr id="tr_images_per_page">
345
- <td title="<?php _e('If you want to display all images you should leave it blank or insert 0.', 'bwg_back'); ?>" class="spider_label"><label for="images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
346
- <td><input type="text" name="images_per_page" id="images_per_page" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
347
- </tr>
348
- <tr id="tr_image_title_hover">
349
- <td class="spider_label"><label><?php _e("Image title:", 'bwg_back'); ?> </label></td>
350
- <td>
351
- <input type="radio" name="image_title" id="image_title_hover" value="hover" <?php echo ($wd_bwg_options->image_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="image_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
352
- <input type="radio" name="image_title" id="image_title_show" value="show" <?php echo ($wd_bwg_options->image_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="image_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
353
- <input type="radio" name="image_title" id="image_title_none" value="none" <?php echo ($wd_bwg_options->image_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="image_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
354
- </td>
355
- </tr>
356
- <tr id="tr_image_enable_page">
357
- <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
358
- <td>
359
- <input type="radio" name="image_enable_page" class="hide_load_count" id="image_page_yes" value="1" <?php echo ($wd_bwg_options->image_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
360
- <input type="radio" name="image_enable_page" class="hide_load_count" id="image_page_no" value="0" <?php echo ($wd_bwg_options->image_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_no"><?php _e('No', 'bwg_back'); ?></label>
361
- <input type="radio" name="image_enable_page" id="image_page_loadmore" value="2" <?php echo ($wd_bwg_options->image_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_loadmore"><?php _e("Load More", 'bwg_back'); ?></label>
362
- <input type="radio" name="image_enable_page" id="image_page_scrol_load" value="3" <?php echo ($wd_bwg_options->image_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?></label>
363
- </td>
364
- </tr>
365
- <tr id="tr_load_more_image_count">
366
- <td class="spider_label"><label for="load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
367
- <td><input type="text" name="load_more_image_count" id="load_more_image_count" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
368
- </tr>
369
- <tr id="tr_thumb_width_height">
370
- <td title="<?php _e('Maximum values for thumbnail dimension.', 'bwg_back'); ?>" class="spider_label"><label id="thumb_width_height_label" for="thumb_width"><?php _e("Image Thumbnail dimensions:", 'bwg_back'); ?> </label></td>
371
- <td>
372
- <input type="text" name="thumb_width" id="thumb_width" value="<?php echo $wd_bwg_options->thumb_width; ?>" class="spider_int_input" /><span id="thumb_width_height_separator"> x </span>
373
- <input type="text" name="thumb_height" id="thumb_height" value="<?php echo $wd_bwg_options->thumb_height; ?>" class="spider_int_input" /> px
374
- </td>
375
- </tr>
376
 
377
- <!--Compact Album view-->
378
- <tr id="tr_compuct_album_column_number">
379
- <td class="spider_label"><label for="compuct_album_column_number"><?php _e("Max. number of album columns:", 'bwg_back'); ?> </label></td>
380
- <td><input type="text" name="compuct_album_column_number" id="compuct_album_column_number" value="<?php echo $wd_bwg_options->album_column_number; ?>" class="spider_int_input" /></td>
381
- </tr>
382
- <tr id="tr_compuct_albums_per_page">
383
- <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_albums_per_page"><?php _e("Albums per page:", 'bwg_back'); ?> </label></td>
384
- <td><input type="text" name="compuct_albums_per_page" id="compuct_albums_per_page" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
385
- </tr>
386
- <tr id="tr_compuct_album_title_hover">
387
- <td class="spider_label"><label><?php _e("Album title:", 'bwg_back'); ?> </label></td>
388
- <td>
389
- <input type="radio" name="compuct_album_title" id="compuct_album_title_hover" value="hover" <?php echo ($wd_bwg_options->album_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="compuct_album_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
390
- <input type="radio" name="compuct_album_title" id="compuct_album_title_show" value="show" <?php echo ($wd_bwg_options->album_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="compuct_album_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
391
- <input type="radio" name="compuct_album_title" id="compuct_album_title_none" value="none" <?php echo ($wd_bwg_options->album_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="compuct_album_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
392
- </td>
393
- </tr>
394
- <tr id="tr_compuct_album_thumb_width_height">
395
- <td title="<?php _e("Maximum values for album thumb width and height.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_thumb_width"><?php _e("Album Thumbnail dimensions:", 'bwg_back'); ?> </label></td>
396
- <td>
397
- <input type="text" name="compuct_album_thumb_width" id="compuct_album_thumb_width" value="<?php echo $wd_bwg_options->album_thumb_width; ?>" class="spider_int_input" /> x
398
- <input type="text" name="compuct_album_thumb_height" id="compuct_album_thumb_height" value="<?php echo $wd_bwg_options->album_thumb_height; ?>" class="spider_int_input" /> px
399
- </td>
400
- </tr>
401
- <tr id="tr_compuct_album_view_type">
402
- <td title="<?php _e('The gallery images view type in the album.<br /><br />This option is disabled in free version.', 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Album view type:", 'bwg_back'); ?> </label></td>
403
- <td>
404
- <input disabled="disabled" type="radio" name="compuct_album_view_type" id="compuct_album_view_type_1" value="thumbnail" <?php if ($wd_bwg_options->album_view_type == "thumbnail") echo 'checked="checked"'; ?> onchange="bwg_change_compuct_album_view_type()" /><label for="compuct_album_view_type_1"><?php _e("Thumbnail", 'bwg_back'); ?></label>
405
- <input disabled="disabled" type="radio" name="compuct_album_view_type" id="compuct_album_view_type_0" value="masonry" <?php if ($wd_bwg_options->album_view_type == "masonry") echo 'checked="checked"'; ?> onchange="bwg_change_compuct_album_view_type()" /><label for="compuct_album_view_type_0"><?php _e("Masonry", 'bwg_back'); ?></label>
406
- <input disabled="disabled" type="radio" name="compuct_album_view_type" id="compuct_album_view_type_2" value="mosaic" <?php if ($wd_bwg_options->album_view_type == "mosaic") echo 'checked="checked"'; ?> onchange="bwg_change_compuct_album_view_type()" /><label for="compuct_album_view_type_2"><?php _e("Mosaic", 'bwg_back'); ?></label>
407
- </td>
408
- </tr>
409
- <tr id="tr_compuct_album_mosaic_hor_ver">
410
- <td title="<?php _e('This option is disabled in free version.', 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Mosaic:", 'bwg_back'); ?> </label></td>
411
- <td>
412
- <input disabled="disabled" type="radio" name="compuct_album_mosaic_hor_ver" id="compuct_album_mosaic_ver" value="vertical" onclick="bwg_change_label('compuct_album_image_column_number', '<?php _e("Number of image rows:", 'bwg_back'); ?> ');
413
  bwg_change_label('compuct_album_image_thumb_dimensions', '<?php _e("Image thumbnail width:", 'bwg_back'); ?> ');
414
  jQuery('#compuct_album_image_thumb_width').show();
415
  jQuery('#compuct_album_image_thumb_height').hide();
416
  jQuery('#compuct_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'vertical') ? 'checked' : ''; ?> /><label for="compuct_album_mosaic_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
417
- <input disabled="disabled" type="radio" name="compuct_album_mosaic_hor_ver" id="compuct_album_mosaic_hor" value="horizontal" onclick="bwg_change_label('compuct_album_image_column_number', '<?php _e("Max. number of image columns:", 'bwg_back'); ?> ');
418
  bwg_change_label('compuct_album_image_thumb_dimensions', '<?php _e("Image thumbnail height:", 'bwg_back'); ?> ');
419
  jQuery('#compuct_album_image_thumb_width').hide();
420
  jQuery('#compuct_album_image_thumb_height').show();
421
  jQuery('#compuct_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'horizontal') ? 'checked' : ''; ?> /><label for="compuct_album_mosaic_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
422
 
423
-
424
- </td>
425
- </tr>
426
- <tr id="tr_compuct_album_resizable_mosaic">
427
- <td title="<?php _e("Mosaic thumbnails do not have fixed size, but are proportional to the width of the parent container. This option keeps thumbs to look nice when viewed with very large or very small screen. Prevents zooming of thumbs.<br /><br />This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label for="compuct_album_resizable_mosaic"><?php _e("Resizable mosaic", 'bwg_back'); ?></label></td>
428
- <td>
429
- <input disabled="disabled" type="radio" name="compuct_album_resizable_mosaic" id="compuct_album_resizable_mosaic_1" value="1" <?php echo ($wd_bwg_options->resizable_mosaic == 1) ? 'checked' : ''; ?> /><label for="compuct_album_resizable_mosaic_1"><?php _e('Yes', 'bwg_back'); ?></label>
430
- <input disabled="disabled" type="radio" name="compuct_album_resizable_mosaic" id="compuct_album_resizable_mosaic_0" value="0" <?php echo ($wd_bwg_options->resizable_mosaic == 0) ? 'checked' : ''; ?> /><label for="compuct_album_resizable_mosaic_0"><?php _e('No', 'bwg_back'); ?></label>
431
- <br />
432
- </td>
433
- </tr>
434
- <tr id="tr_compuct_album_mosaic_total_width">
435
- <td title="<?php _e("Percentage of container's width", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_mosaic_total_width"><?php _e("Total width of mosaic:", 'bwg_back'); ?> </label></td>
436
- <td><input type="text" name="compuct_album_mosaic_total_width" id="compuct_album_mosaic_total_width" value="<?php echo $wd_bwg_options->mosaic_total_width; ?>" class="spider_int_input" /> <?php _e("percent", 'bwg_back'); ?></td>
437
- </tr>
438
- <tr id="tr_compuct_album_image_column_number">
439
- <td class="spider_label"><label for="compuct_album_image_column_number"><?php _e("Max. number of image columns: ", 'bwg_back'); ?></label></td>
440
- <td><input type="text" name="compuct_album_image_column_number" id="compuct_album_image_column_number" value="<?php echo $wd_bwg_options->image_column_number; ?>" class="spider_int_input" /></td>
441
- </tr>
442
- <tr id="tr_compuct_album_images_per_page">
443
- <td title="<?php _e("If you want to display all images you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
444
- <td><input type="text" name="compuct_album_images_per_page" id="compuct_album_images_per_page" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
445
- </tr>
446
- <tr id="tr_compuct_album_image_title">
447
- <td class="spider_label"><label><?php _e("Image title:", 'bwg_back'); ?> </label></td>
448
- <td>
449
- <input type="radio" name="compuct_album_image_title" id="compuct_album_image_title_hover" value="hover" <?php echo ($wd_bwg_options->image_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="compuct_album_image_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
450
- <input type="radio" name="compuct_album_image_title" id="compuct_album_image_title_show" value="show" <?php echo ($wd_bwg_options->image_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="compuct_album_image_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
451
- <input type="radio" name="compuct_album_image_title" id="compuct_album_image_title_none" value="none" <?php echo ($wd_bwg_options->image_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="compuct_album_image_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
452
- </td>
453
- </tr>
454
- <tr id="tr_compuct_album_image_thumb_width_height">
455
- <td title="<?php _e("Maximum values for thumbnail width and height.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_image_thumb_width" id="compuct_album_image_thumb_dimensions"><?php _e("Image thumbnail dimensions: ", 'bwg_back'); ?></label></td>
456
- <td>
457
- <input type="text" name="compuct_album_image_thumb_width" id="compuct_album_image_thumb_width" value="<?php echo $wd_bwg_options->thumb_width; ?>" class="spider_int_input" /><span id="compuct_album_image_thumb_dimensions_x" > x </span>
458
- <input type="text" name="compuct_album_image_thumb_height" id="compuct_album_image_thumb_height" value="<?php echo $wd_bwg_options->thumb_height; ?>" class="spider_int_input" /> px
459
- </td>
460
- </tr>
461
- <tr id="tr_compuct_album_enable_page">
462
- <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
463
- <td>
464
- <input type="radio" name="compuct_album_enable_page" class="hide_load_count" id="compuct_album_page_yes" value="1" <?php echo ($wd_bwg_options->album_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="compuct_album_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
465
- <input type="radio" name="compuct_album_enable_page" class="hide_load_count" id="compuct_album_page_no" value="0" <?php echo ($wd_bwg_options->album_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="compuct_album_page_no"><?php _e('No', 'bwg_back'); ?></label>
466
- <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_loadmore" value="2" <?php echo ($wd_bwg_options->album_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="compuct_album_page_loadmore"><?php _e("Load More", 'bwg_back'); ?></label>
467
- <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_scrol_load" value="3" <?php echo ($wd_bwg_options->album_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="compuct_album_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?></label>
468
- </td>
469
- </tr>
470
- <tr id="tr_compuct_albums_per_page_load_more">
471
- <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_albums_per_page_load_more"><?php _e("Albums per load:", 'bwg_back'); ?> </label></td>
472
- <td><input type="text" name="compuct_albums_per_page_load_more" id="compuct_albums_per_page_load_more" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
473
- </tr>
474
- <tr id="tr_compuct_album_load_more_image_count">
475
- <td class="spider_label"><label for="compuct_album_load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
476
- <td><input type="text" name="compuct_album_load_more_image_count" id="compuct_album_load_more_image_count" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
477
- </tr>
478
 
479
- <!--Extended Album view-->
480
- <tr id="tr_extended_albums_per_page">
481
- <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="extended_albums_per_page"><?php _e("Albums per page:", 'bwg_back'); ?> </label></td>
482
- <td><input type="text" name="extended_albums_per_page" id="extended_albums_per_page" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
483
- </tr>
484
- <tr id="tr_extended_album_height">
485
- <td class="spider_label"><label for="extended_album_height"><?php _e("Album row height:", 'bwg_back'); ?> </label></td>
486
- <td><input type="text" name="extended_album_height" id="extended_album_height" value="<?php echo $wd_bwg_options->extended_album_height; ?>" class="spider_int_input" /> px</td>
487
- </tr>
488
- <tr id="tr_extended_album_description_enable">
489
- <td title="<?php _e("If you disable description only the title of the album will be displayed.", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable album description:", 'bwg_back'); ?> </label></td>
490
- <td>
491
- <input type="radio" name="extended_album_description_enable" id="extended_album_description_yes" value="1" <?php echo ($wd_bwg_options->extended_album_description_enable) ? 'checked' : ''; ?> /><label for="extended_album_description_yes"><?php _e('Yes', 'bwg_back'); ?></label>
492
- <input type="radio" name="extended_album_description_enable" id="extended_album_description_no" value="0" <?php echo ($wd_bwg_options->extended_album_description_enable) ? '' : 'checked'; ?> /><label for="extended_album_description_no"><?php _e('No', 'bwg_back'); ?></label>
493
- </td>
494
- </tr>
495
- <tr id="tr_extended_album_thumb_width_height">
496
- <td title="<?php _e("Maximum values for album thumb width and height.", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_thumb_width"><?php _e("Album thumbnail dimensions:", 'bwg_back'); ?> </label></td>
497
- <td>
498
- <input type="text" name="extended_album_thumb_width" id="extended_album_thumb_width" value="<?php echo $wd_bwg_options->album_thumb_width; ?>" class="spider_int_input" /> x
499
- <input type="text" name="extended_album_thumb_height" id="extended_album_thumb_height" value="<?php echo $wd_bwg_options->album_thumb_height; ?>" class="spider_int_input" /> px
500
- </td>
501
- </tr>
502
- <tr id="tr_extended_album_view_type">
503
- <td title="<?php _e("The gallery images view type in the album.", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Album view type:", 'bwg_back'); ?> </label></td>
504
- <td>
505
- <input disabled="disabled" type="radio" name="extended_album_view_type" id="extended_album_view_type_1" value="thumbnail" <?php if ($wd_bwg_options->album_view_type == "thumbnail") echo 'checked="checked"'; ?> onchange="bwg_change_extended_album_view_type()" /><label for="extended_album_view_type_1"><?php _e("Thumbnail", 'bwg_back'); ?></label>
506
- <input disabled="disabled" type="radio" name="extended_album_view_type" id="extended_album_view_type_0" value="masonry" <?php if ($wd_bwg_options->album_view_type == "masonry") echo 'checked="checked"'; ?> onchange="bwg_change_extended_album_view_type()" /><label for="extended_album_view_type_0"><?php _e("Masonry", 'bwg_back'); ?></label>
507
- <input disabled="disabled" type="radio" name="extended_album_view_type" id="extended_album_view_type_2" value="mosaic" <?php if ($wd_bwg_options->album_view_type == "mosaic") echo 'checked="checked"'; ?> onchange="bwg_change_extended_album_view_type()" /><label for="extended_album_view_type_2"><?php _e("Mosaic", 'bwg_back'); ?></label>
508
- </td>
509
- </tr>
510
- <tr id="tr_extended_album_mosaic_hor_ver">
511
- <td title="<?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Mosaic:", 'bwg_back'); ?> </label></td>
512
- <td>
513
- <input disabled="disabled" type="radio" name="extended_album_mosaic_hor_ver" id="extended_album_mosaic_ver" value="vertical" onclick="bwg_change_label('extended_album_image_column_number', 'Number of image rows: ');
514
  bwg_change_label('extended_album_image_thumb_dimensions', '<?php _e("Image thumbnail width: ", 'bwg_back'); ?>');
515
  jQuery('#extended_album_image_thumb_width').show();
516
  jQuery('#extended_album_image_thumb_height').hide();
517
  jQuery('#extended_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'vertical') ? 'checked' : ''; ?> /><label for="extended_album_mosaic_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
518
- <input disabled="disabled" type="radio" name="extended_album_mosaic_hor_ver" id="extended_album_mosaic_hor" value="horizontal" onclick="bwg_change_label('extended_album_image_column_number', '<?php _e("Max. number of image columns:", 'bwg_back'); ?> ');
519
  bwg_change_label('extended_album_image_thumb_dimensions', '<?php _e("Image thumbnail height: ", 'bwg_back'); ?>');
520
  jQuery('#extended_album_image_thumb_width').hide();
521
  jQuery('#extended_album_image_thumb_height').show();
522
  jQuery('#extended_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'horizontal') ? 'checked' : ''; ?> /><label for="extended_album_mosaic_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
523
 
524
-
525
- </td>
526
- </tr>
527
- <tr id="tr_extended_album_resizable_mosaic">
528
- <td title="<?php _e("Mosaic thumbnails do not have fixed size, but are proportional to the width of the parent container. This option keeps thumbs to look nice when viewed with very large or very small screen. Prevents zooming of thumbs.<br /><br />This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label for="extended_album_resizable_mosaic"><?php _e("Resizable mosaic:", 'bwg_back'); ?> </label></td>
529
- <td>
530
- <input disabled="disabled" type="radio" name="extended_album_resizable_mosaic" id="extended_album_resizable_mosaic_1" value="1" <?php echo ($wd_bwg_options->resizable_mosaic == 1) ? 'checked' : ''; ?> /><label for="extended_album_resizable_mosaic_1"><?php _e('Yes', 'bwg_back'); ?></label>
531
- <input disabled="disabled" type="radio" name="extended_album_resizable_mosaic" id="extended_album_resizable_mosaic_0" value="0" <?php echo ($wd_bwg_options->resizable_mosaic == 0) ? 'checked' : ''; ?> /><label for="extended_album_resizable_mosaic_0"><?php _e('No', 'bwg_back'); ?></label>
532
- <br />
533
- </td>
534
- </tr>
535
-
536
- <tr id="tr_extended_album_mosaic_total_width">
537
- <td title="<?php _e("Percentage of container's width", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_mosaic_total_width"><?php _e("Total width of mosaic:", 'bwg_back'); ?> </label></td>
538
- <td><input type="text" name="extended_album_mosaic_total_width" id="extended_album_mosaic_total_width" value="<?php echo $wd_bwg_options->mosaic_total_width; ?>" class="spider_int_input" /> <?php _e("percent", 'bwg_back'); ?></td>
539
- </tr>
540
- <tr id="tr_extended_album_image_column_number">
541
- <td class="spider_label"><label for="extended_album_image_column_number"><?php _e("Max. number of image columns:", 'bwg_back'); ?> </label></td>
542
- <td><input type="text" name="extended_album_image_column_number" id="extended_album_image_column_number" value="<?php echo $wd_bwg_options->image_column_number; ?>" class="spider_int_input" /></td>
543
- </tr>
544
- <tr id="tr_extended_album_images_per_page">
545
- <td title="<?php _e("If you want to display all images you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
546
- <td><input type="text" name="extended_album_images_per_page" id="extended_album_images_per_page" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
547
- </tr>
548
- <tr id="tr_extended_album_image_title">
549
- <td class="spider_label"><label><?php _e("Image title:", 'bwg_back'); ?> </label></td>
550
- <td>
551
- <input type="radio" name="extended_album_image_title" id="extended_album_image_title_hover" value="hover" <?php echo ($wd_bwg_options->image_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="extended_album_image_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
552
- <input type="radio" name="extended_album_image_title" id="extended_album_image_title_show" value="show" <?php echo ($wd_bwg_options->image_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="extended_album_image_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
553
- <input type="radio" name="extended_album_image_title" id="extended_album_image_title_none" value="none" <?php echo ($wd_bwg_options->image_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="extended_album_image_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
554
- </td>
555
- </tr>
556
- <tr id="tr_extended_album_image_thumb_width_height">
557
- <td title="<?php _e("Maximum values for thumbnail width and height.", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_image_thumb_width" id="extended_album_image_thumb_dimensions"><?php _e("Image Thumbnail dimensions:", 'bwg_back'); ?> </label></td>
558
- <td>
559
- <input type="text" name="extended_album_image_thumb_width" id="extended_album_image_thumb_width" value="<?php echo $wd_bwg_options->thumb_width; ?>" class="spider_int_input" /><span id="extended_album_image_thumb_dimensions_x" > x </span>
560
- <input type="text" name="extended_album_image_thumb_height" id="extended_album_image_thumb_height" value="<?php echo $wd_bwg_options->thumb_height; ?>" class="spider_int_input" /> px
561
- </td>
562
- </tr>
563
- <tr id="tr_extended_album_enable_page">
564
- <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
565
- <td>
566
- <input type="radio" name="extended_album_enable_page" id="extended_album_page_yes" value="1" <?php echo ($wd_bwg_options->album_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
567
- <input type="radio" name="extended_album_enable_page" id="extended_album_page_no" value="0" <?php echo ($wd_bwg_options->album_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_no"><?php _e('No', 'bwg_back'); ?></label>
568
- <input type="radio" name="extended_album_enable_page" id="extended_album_page_loadmore" value="2" <?php echo ($wd_bwg_options->album_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_loadmore"><?php _e("Load More", 'bwg_back'); ?></label>
569
- <input type="radio" name="extended_album_enable_page" id="extended_album_page_scrol_load" value="3" <?php echo ($wd_bwg_options->album_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?> </label>
570
- </td>
571
- </tr>
572
- <tr id="tr_extended_albums_per_page_load_more">
573
- <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="extended_albums_per_page_load_more"><?php _e("Albums per load:", 'bwg_back'); ?> </label></td>
574
- <td><input type="text" name="extended_albums_per_page_load_more" id="extended_albums_per_page_load_more" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
575
- </tr>
576
- <tr id="tr_extended_album_load_more_image_count">
577
- <td class="spider_label"><label for="extended_album_load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
578
- <td><input type="text" name="extended_album_load_more_image_count" id="extended_album_load_more_image_count" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
579
- </tr>
580
 
581
- <!--Image Browser view-->
582
- <tr id="tr_image_browser_width_height">
583
- <td title="<?php _e("Maximum value for image width.", 'bwg_back'); ?>" class="spider_label"><label for="image_browser_width"><?php _e("Image width: ", 'bwg_back'); ?></label></td>
584
- <td>
585
- <input type="text" name="image_browser_width" id="image_browser_width" value="<?php echo $wd_bwg_options->image_browser_width; ?>" class="spider_int_input" /> px
586
- </td>
587
- </tr>
588
- <tr id="tr_image_browser_title_enable">
589
- <td class="spider_label"><label><?php _e("Enable image title:", 'bwg_back'); ?> </label></td>
590
- <td>
591
- <input type="radio" name="image_browser_title_enable" id="image_browser_title_yes" value="1" <?php echo ($wd_bwg_options->image_browser_title_enable) ? 'checked' : ''; ?> /><label for="image_browser_title_es"><?php _e('Yes', 'bwg_back'); ?></label>
592
- <input type="radio" name="image_browser_title_enable" id="image_browser_title_no" value="0" <?php echo ($wd_bwg_options->image_browser_title_enable) ? '' : 'checked'; ?> /><label for="image_browser_title_no"><?php _e('No', 'bwg_back'); ?></label>
593
- </td>
594
- </tr>
595
- <tr id="tr_image_browser_description_enable">
596
- <td class="spider_label"><label><?php _e("Enable image description:", 'bwg_back'); ?> </label></td>
597
- <td>
598
- <input type="radio" name="image_browser_description_enable" id="image_browser_description_yes" value="1" <?php echo ($wd_bwg_options->image_browser_description_enable) ? 'checked' : ''; ?> /><label for="image_browser_description_yes"><?php _e('Yes', 'bwg_back'); ?></label>
599
- <input type="radio" name="image_browser_description_enable" id="image_browser_description_no" value="0" <?php echo ($wd_bwg_options->image_browser_description_enable) ? '' : 'checked'; ?> /><label for="image_browser_description_no"><?php _e('No', 'bwg_back'); ?></label>
600
- </td>
601
- </tr>
602
 
603
- <!--Blog Style view-->
604
- <tr id="tr_blog_style_width_height">
605
- <td title="<?php _e("Maximum value for image width.", 'bwg_back'); ?>" class="spider_label"><label for="blog_style_width"><?php _e("Image width:", 'bwg_back'); ?> </label></td>
606
- <td>
607
- <input type="text" name="blog_style_width" id="blog_style_width" value="<?php echo $wd_bwg_options->blog_style_width; ?>" class="spider_int_input" /> px
608
- </td>
609
- </tr>
610
- <tr id="tr_blog_style_title_enable">
611
- <td class="spider_label"><label><?php _e("Enable image title:", 'bwg_back'); ?> </label></td>
612
- <td>
613
- <input type="radio" name="blog_style_title_enable" id="blog_style_title_yes" value="1" <?php echo ($wd_bwg_options->blog_style_title_enable) ? 'checked' : ''; ?> /><label for="blog_style_title_es"><?php _e('Yes', 'bwg_back'); ?></label>
614
- <input type="radio" name="blog_style_title_enable" id="blog_style_title_no" value="0" <?php echo ($wd_bwg_options->blog_style_title_enable) ? '' : 'checked'; ?> /><label for="blog_style_title_no"><?php _e('No', 'bwg_back'); ?></label>
615
- </td>
616
- </tr>
617
- <tr id="tr_blog_style_images_per_page">
618
- <td title="<?php _e("If you want to display all images you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="blog_style_images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
619
- <td><input type="text" name="blog_style_images_per_page" id="blog_style_images_per_page" value="<?php echo $wd_bwg_options->blog_style_images_per_page; ?>" class="spider_int_input" /></td>
620
- </tr>
621
- <tr id="tr_blog_style_enable_page">
622
- <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
623
- <td>
624
- <input type="radio" name="blog_style_enable_page" id="blog_style_page_yes" value="1" <?php echo ($wd_bwg_options->blog_style_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
625
- <input type="radio" name="blog_style_enable_page" id="blog_style_page_no" value="0" <?php echo ($wd_bwg_options->blog_style_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_no"><?php _e('No', 'bwg_back'); ?></label>
626
- <input type="radio" name="blog_style_enable_page" id="blog_style_page_loadmore" value="2" <?php echo ($wd_bwg_options->blog_style_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_loadmore">Load more</label>
627
- <input type="radio" name="blog_style_enable_page" id="blog_style_page_scrol_load" value="3" <?php echo ($wd_bwg_options->blog_style_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?> </label>
628
- </td>
629
- </tr>
630
- <tr id="tr_blog_style_load_more_image_count">
631
- <td class="spider_label"><label for="blog_style_load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
632
- <td><input type="text" name="blog_style_load_more_image_count" id="blog_style_load_more_image_count" value="<?php echo $wd_bwg_options->blog_style_images_per_page; ?>" class="spider_int_input" /></td>
633
- </tr>
634
-
635
- <!--Slideshow view-->
636
- <tr id="tr_slideshow_effect">
637
- <td class="spider_label"><label for="slideshow_effect"><?php _e("Slideshow Effect:", 'bwg_back'); ?> </label></td>
638
- <td>
639
- <select name="slideshow_effect" class="select_icon" id="slideshow_effect" style="width:150px;">
640
- <?php
641
- foreach ($effects as $key => $effect) {
642
- ?>
643
- <option value="<?php echo $key; ?>" <?php echo ($key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __("This effect is disabled in free version.","bwg_back") . '"' : ''; ?> <?php echo ($wd_bwg_options->slideshow_type == $key) ? 'selected' : ''; ?>><?php echo __($effect,"bwg_back"); ?></option>
644
- <?php
645
- }
646
- ?>
647
- </select>
648
- </td>
649
- </tr>
650
- <tr id="tr_slideshow_effect_duration">
651
- <td title="<?php echo __("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="slideshow_effect_duration"><?php echo __('Effect duration:', 'bwg_back'); ?> </label></td>
652
- <td><input type="text" name="slideshow_effect_duration" id="slideshow_effect_duration" value="<?php echo $wd_bwg_options->slideshow_effect_duration; ?>" class="spider_int_input" /> sec.</td>
653
- </tr>
654
- <tr id="tr_slideshow_interval">
655
- <td title="<?php _e("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="slideshow_interval"><?php _e("Time interval:", 'bwg_back'); ?> </label></td>
656
- <td><input type="text" name="slideshow_interval" id="slideshow_interval" value="<?php echo $wd_bwg_options->slideshow_interval; ?>" class="spider_int_input" /> sec.</td>
657
- </tr>
658
- <tr id="tr_slideshow_width_height">
659
- <td title="<?php _e("Maximum values for slideshow width and height.", 'bwg_back'); ?>" class="spider_label"><label for="slideshow_width"><?php _e("Slideshow dimensions:", 'bwg_back'); ?> </label></td>
660
- <td>
661
- <input type="text" name="slideshow_width" id="slideshow_width" value="<?php echo $wd_bwg_options->slideshow_width; ?>" class="spider_int_input" /> x
662
- <input type="text" name="slideshow_height" id="slideshow_height" value="<?php echo $wd_bwg_options->slideshow_height; ?>" class="spider_int_input" /> px
663
- </td>
664
- </tr>
665
- <tr id="tr_enable_slideshow_autoplay">
666
- <td class="spider_label"><label><?php _e("Enable Autoplay:", 'bwg_back'); ?> </label></td>
667
- <td>
668
- <input type="radio" name="enable_slideshow_autoplay" id="slideshow_autoplay_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_autoplay) ? 'checked' : ''; ?> /><label for="slideshow_autoplay_yes"><?php _e('Yes', 'bwg_back'); ?></label>
669
- <input type="radio" name="enable_slideshow_autoplay" id="slideshow_autoplay_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_autoplay) ? '' : 'checked'; ?> /><label for="slideshow_autoplay_no"><?php _e('No', 'bwg_back'); ?></label>
670
- </td>
671
- </tr>
672
- <tr id="tr_enable_slideshow_shuffle">
673
- <td class="spider_label"><label><?php _e("Enable Shuffle:", 'bwg_back'); ?> </label></td>
674
- <td>
675
- <input type="radio" name="enable_slideshow_shuffle" id="slideshow_shuffle_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_shuffle) ? 'checked' : ''; ?> /><label for="slideshow_shuffle_yes"><?php _e('Yes', 'bwg_back'); ?></label>
676
- <input type="radio" name="enable_slideshow_shuffle" id="slideshow_shuffle_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_shuffle) ? '' : 'checked'; ?> /><label for="slideshow_shuffle_no"><?php _e('No', 'bwg_back'); ?></label>
677
- </td>
678
- </tr>
679
- <tr id="tr_enable_slideshow_ctrl">
680
- <td class="spider_label"><label><?php _e("Enable control buttons:", 'bwg_back'); ?> </label></td>
681
- <td>
682
- <input type="radio" name="enable_slideshow_ctrl" id="slideshow_ctrl_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_ctrl) ? 'checked' : ''; ?> /><label for="slideshow_ctrl_yes"><?php _e('Yes', 'bwg_back'); ?></label>
683
- <input type="radio" name="enable_slideshow_ctrl" id="slideshow_ctrl_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_ctrl) ? '' : 'checked'; ?> /><label for="slideshow_ctrl_no"><?php _e('No', 'bwg_back'); ?></label>
684
- </td>
685
- </tr>
686
- <tr id="tr_enable_slideshow_filmstrip">
687
- <td title="<?php _e("Enable slideshow filmstrip view", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable slideshow filmstrip:", 'bwg_back'); ?> </label></td>
688
- <td>
689
- <input disabled="disabled" type="radio" name="enable_slideshow_filmstrip" id="slideshow_filmstrip_yes" value="1" onClick="bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_filmstrip_yes')" <?php echo ($wd_bwg_options->slideshow_enable_filmstrip) ? 'checked' : ''; ?> /><label for="slideshow_filmstrip_yes"><?php _e('Yes', 'bwg_back'); ?></label>
690
- <input disabled="disabled" type="radio" name="enable_slideshow_filmstrip" id="slideshow_filmstrip_no" value="0" onClick="bwg_enable_disable('none', 'tr_slideshow_filmstrip_height', 'slideshow_filmstrip_no')" <?php echo ($wd_bwg_options->slideshow_enable_filmstrip) ? '' : 'checked'; ?> /><label for="slideshow_filmstrip_no"><?php _e('No', 'bwg_back'); ?></label>
691
- </td>
692
- </tr>
693
- <tr id="tr_slideshow_filmstrip_height">
694
- <td class="spider_label spider_free_version_label"><label for="slideshow_filmstrip_height"><?php _e("Slideshow Filmstrip size:", 'bwg_back'); ?> </label></td>
695
- <td class="spider_free_version_label"><input disabled="disabled" type="text" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo $wd_bwg_options->slideshow_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px</td>
696
- </tr>
697
- <tr id="tr_slideshow_enable_title">
698
- <td class="spider_label"><label><?php _e("Enable Image Title:", 'bwg_back'); ?> </label></td>
699
- <td>
700
- <input type="radio" name="slideshow_enable_title" id="slideshow_title_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_title) ? 'checked' : ''; ?> onClick="bwg_enable_disable('', 'tr_slideshow_title_position', 'slideshow_title_yes')" /><label for="slideshow_title_yes"><?php _e('Yes', 'bwg_back'); ?></label>
701
- <input type="radio" name="slideshow_enable_title" id="slideshow_title_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_title) ? '' : 'checked'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_title_position', 'slideshow_title_no')" /><label for="slideshow_title_no"><?php _e('No', 'bwg_back'); ?></label>
702
- </td>
703
- </tr>
704
- <tr id="tr_slideshow_title_position">
705
- <td title="<?php _e("Image title position on slideshow", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Title Position:", 'bwg_back'); ?> </label></td>
706
- <td>
707
- <table class="bws_position_table">
708
- <tbody>
709
- <tr>
710
- <td><input type="radio" value="top-left" id="slideshow_title_top-left" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'top-left') ? 'checked' : ''; ?>></td>
711
- <td><input type="radio" value="top-center" id="slideshow_title_top-center" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'top-center') ? 'checked' : ''; ?>></td>
712
- <td><input type="radio" value="top-right" id="slideshow_title_top-right" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'top-right') ? 'checked' : ''; ?>></td>
713
- </tr>
714
- <tr>
715
- <td><input type="radio" value="middle-left" id="slideshow_title_middle-left" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'middle-left') ? 'checked' : ''; ?>></td>
716
- <td><input type="radio" value="middle-center" id="slideshow_title_middle-center" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'middle-center') ? 'checked' : ''; ?>></td>
717
- <td><input type="radio" value="middle-right" id="slideshow_title_middle-right" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'middle-right') ? 'checked' : ''; ?>></td>
718
- </tr>
719
- <tr>
720
- <td><input type="radio" value="bottom-left" id="slideshow_title_bottom-left" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'bottom-left') ? 'checked' : ''; ?>></td>
721
- <td><input type="radio" value="bottom-center" id="slideshow_title_bottom-center" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'bottom-center') ? 'checked' : ''; ?>></td>
722
- <td><input type="radio" value="bottom-right" id="slideshow_title_bottom-right" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'bottom-right') ? 'checked' : ''; ?>></td>
723
- </tr>
724
- </tbody>
725
- </table>
726
- </td>
727
- </tr>
728
- <tr id="tr_slideshow_full_width_title">
729
- <td title="<?php _e("Display image title based on the slideshow dimensions.", 'bwg_back'); ?>" class="spider_label">
730
- <label><?php _e("Full width title:", 'bwg_back'); ?></label>
731
- </td>
732
- <td>
733
- <input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_1" value="1" <?php if ($wd_bwg_options->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_1"><?php _e('Yes', 'bwg_back'); ?></label>
734
- <input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_0" value="0" <?php if (!$wd_bwg_options->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_0"><?php _e('No', 'bwg_back'); ?></label>
735
- </td>
736
- </tr>
737
- <tr id="tr_slideshow_enable_description">
738
- <td class="spider_label"><label><?php _e("Enable Image Description:", 'bwg_back'); ?> </label></td>
739
- <td>
740
- <input type="radio" name="slideshow_enable_description" id="slideshow_description_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_description) ? 'checked' : ''; ?> onClick="bwg_enable_disable('', 'tr_slideshow_description_position', 'slideshow_description_yes')" /><label for="slideshow_description_yes"><?php _e('Yes', 'bwg_back'); ?></label>
741
- <input type="radio" name="slideshow_enable_description" id="slideshow_description_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_description) ? '' : 'checked'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_description_position', 'slideshow_description_no')" /><label for="slideshow_description_no"><?php _e('No', 'bwg_back'); ?></label>
742
- </td>
743
- </tr>
744
- <tr id="tr_slideshow_description_position">
745
- <td title="<?php _e("Image description position on slideshow", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Description Position: ", 'bwg_back'); ?></label></td>
746
- <td>
747
- <table class="bws_position_table">
748
- <tbody>
749
- <tr>
750
- <td><input type="radio" value="top-left" id="slideshow_description_top-left" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'top-left') ? 'checked' : ''; ?>></td>
751
- <td><input type="radio" value="top-center" id="slideshow_description_top-center" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'top-center') ? 'checked' : ''; ?>></td>
752
- <td><input type="radio" value="top-right" id="slideshow_description_top-right" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'top-right') ? 'checked' : ''; ?>></td>
753
- </tr>
754
- <tr>
755
- <td><input type="radio" value="middle-left" id="slideshow_description_middle-left" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'middle-left') ? 'checked' : ''; ?>></td>
756
- <td><input type="radio" value="middle-center" id="slideshow_description_middle-center" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'middle-center') ? 'checked' : ''; ?>></td>
757
- <td><input type="radio" value="middle-right" id="slideshow_description_middle-right" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'middle-right') ? 'checked' : ''; ?>></td>
758
- </tr>
759
- <tr>
760
- <td><input type="radio" value="bottom-left" id="slideshow_description_bottm-Left" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'bottom-left') ? 'checked' : ''; ?>></td>
761
- <td><input type="radio" value="bottom-center" id="slideshow_description_bottom-center" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'bottom-center') ? 'checked' : ''; ?>></td>
762
- <td><input type="radio" value="bottom-right" id="slideshow_description_bottm-right" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'bottom-right') ? 'checked' : ''; ?>></td>
763
- </tr>
764
- </tbody>
765
- </table>
766
- </td>
767
- </tr>
768
- <tr id="tr_enable_slideshow_music">
769
- <td class="spider_label"><label><?php _e("Enable Slideshow Music:", 'bwg_back'); ?> </label></td>
770
- <td>
771
- <input type="radio" name="enable_slideshow_music" id="slideshow_music_yes" value="1" onClick="bwg_enable_disable('', 'tr_slideshow_music_url', 'slideshow_music_yes')" <?php echo ($wd_bwg_options->slideshow_enable_music) ? 'checked' : ''; ?> /><label for="slideshow_music_yes"><?php _e('Yes', 'bwg_back'); ?></label>
772
- <input type="radio" name="enable_slideshow_music" id="slideshow_music_no" value="0" onClick="bwg_enable_disable('none', 'tr_slideshow_music_url', 'slideshow_music_no')" <?php echo ($wd_bwg_options->slideshow_enable_music) ? '' : 'checked'; ?> /><label for="slideshow_music_no"><?php _e('No', 'bwg_back'); ?></label>
773
- </td>
774
- </tr>
775
- <tr id="tr_slideshow_music_url">
776
- <td title="<?php _e("Enter absolute audio file url or add file from Options page.", 'bwg_back'); ?>" class="spider_label">
777
- <label for="slideshow_music_url"><?php _e("Music url:", 'bwg_back'); ?> </label>
778
- </td>
779
- <td>
780
- <input type="text" id="slideshow_music_url" name="slideshow_music_url" value="<?php echo $wd_bwg_options->slideshow_audio_url; ?>" style="display:inline-block;" />
781
- </td>
782
- </tr>
783
- </tbody>
784
- </table>
785
  </div>
786
- <div class="bwg_short_div" style="border-right: 1px solid #000000;">
787
- <table>
788
-
789
  <!--Lightbox view-->
790
- <tbody id="tbody_popup_other">
791
- <tr id="tr_thumb_click_action">
792
- <td class="spider_label"><label><?php _e("Image click action:", 'bwg_back'); ?> </label></td>
793
- <td>
794
- <input type="radio" name="thumb_click_action" id="thumb_click_action_1" value="open_lightbox" <?php if ($wd_bwg_options->thumb_click_action == 'open_lightbox') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_1"><?php _e("Open lightbox", 'bwg_back'); ?></label><br />
795
- <input type="radio" name="thumb_click_action" id="thumb_click_action_2" value="redirect_to_url" <?php if ($wd_bwg_options->thumb_click_action == 'redirect_to_url') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_2"><?php _e("Redirect to url", 'bwg_back'); ?></label><br />
796
- <input type="radio" name="thumb_click_action" id="thumb_click_action_3" value="do_nothing" <?php if ($wd_bwg_options->thumb_click_action == 'do_nothing') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_3"><?php _e("Do Nothing", 'bwg_back'); ?></label>
797
- </td>
798
- </tr>
799
- <tr id="tr_thumb_link_target">
800
- <td title="<?php _e("Open new window when redirecting.", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Open in new window:", 'bwg_back'); ?> </label></td>
801
- <td>
802
- <input type="radio" name="thumb_link_target" id="thumb_link_target_yes" value="1" <?php if ($wd_bwg_options->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_yes"><?php _e('Yes', 'bwg_back'); ?></label>
803
- <input type="radio" name="thumb_link_target" id="thumb_link_target_no" value="0" <?php if (!$wd_bwg_options->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_no"><?php _e('No', 'bwg_back'); ?></label>
804
- </td>
805
- </tr>
806
- </tbody>
807
- <tbody id="tbody_popup">
808
- <tr id="tr_popup_fullscreen">
809
- <td title="<?php _e("Enable full width feature for the lightbox.", 'bwg_back'); ?>" class="spider_label">
810
- <label><?php _e("Full width lightbox:", 'bwg_back'); ?></label>
811
- </td>
812
- <td>
813
- <input type="radio" name="popup_fullscreen" id="popup_fullscreen_1" value="1" <?php if ($wd_bwg_options->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_popup_fullscreen()" /><label for="popup_fullscreen_1"><?php _e('Yes', 'bwg_back'); ?></label>
814
- <input type="radio" name="popup_fullscreen" id="popup_fullscreen_0" value="0" <?php if (!$wd_bwg_options->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_popup_fullscreen()" /><label for="popup_fullscreen_0"><?php _e('No', 'bwg_back'); ?></label>
815
- </td>
816
- </tr>
817
- <tr id="tr_popup_width_height">
818
- <td title="<?php _e("Maximum values for lightbox width and height.", 'bwg_back'); ?>" class="spider_label"><label for="popup_width"><?php _e("Lightbox dimensions:", 'bwg_back'); ?> </label></td>
819
- <td>
820
- <input type="text" name="popup_width" id="popup_width" value="<?php echo $wd_bwg_options->popup_width; ?>" class="spider_int_input" /> x
821
- <input type="text" name="popup_height" id="popup_height" value="<?php echo $wd_bwg_options->popup_height; ?>" class="spider_int_input" /> px
822
- </td>
823
- </tr>
824
- <tr id="tr_popup_effect">
825
- <td title="<?php _e("Lightbox slideshow effect.", 'bwg_back'); ?>" class="spider_label"><label for="popup_effect"><?php _e("Lightbox effect:", 'bwg_back'); ?> </label></td>
826
- <td>
827
- <select name="popup_effect" class="select_icon" id="popup_effect" style="width:150px;">
828
- <?php
829
- foreach ($effects as $key => $effect) {
830
- ?>
831
- <option value="<?php echo $key; ?>" <?php echo ($key != 'none' && $key != 'fade') ? 'disabled="disabled" title="This effect is disabled in free version."' : ''; ?> <?php echo ($wd_bwg_options->popup_type == $key) ? 'selected' : ''; ?>><?php echo __($effect,"bwg_back"); ?></option>
832
- <?php
833
- }
834
- ?>
835
- </select>
836
- </td>
837
- </tr>
838
- <tr id="tr_popup_effect_duration">
839
- <td title="<?php echo __("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="popup_effect_duration"><?php echo __('Effect duration:', 'bwg_back'); ?> </label></td>
840
- <td><input type="text" name="popup_effect_duration" id="popup_effect_duration" value="<?php echo $wd_bwg_options->popup_effect_duration; ?>" class="spider_int_input" /> sec.</td>
841
- </tr>
842
- <tr id="tr_popup_autoplay">
843
- <td class="spider_label">
844
- <label><?php _e("Lightbox autoplay:", 'bwg_back'); ?> </label>
845
- </td>
846
- <td>
847
- <input type="radio" name="popup_autoplay" id="popup_autoplay_1" value="1" <?php if ($wd_bwg_options->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_1"><?php _e('Yes', 'bwg_back'); ?></label>
848
- <input type="radio" name="popup_autoplay" id="popup_autoplay_0" value="0" <?php if (!$wd_bwg_options->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_0"><?php _e('No', 'bwg_back'); ?></label>
849
- </td>
850
- </tr>
851
- <tr id="tr_popup_interval">
852
- <td title="<?php _e("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="popup_interval"><?php _e("Time interval:", 'bwg_back'); ?> </label></td>
853
- <td><input type="text" name="popup_interval" id="popup_interval" value="<?php echo $wd_bwg_options->popup_interval; ?>" class="spider_int_input" /> sec.</td>
854
- </tr>
855
- <tr id="tr_popup_enable_filmstrip">
856
- <td title="<?php _e("Enable filmstrip view for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable filmstrip in lightbox:", 'bwg_back'); ?> </label></td>
857
- <td>
858
- <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_yes" value="1" onClick="bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_filmstrip_yes')" <?php echo ($wd_bwg_options->popup_enable_filmstrip) ? 'checked' : ''; ?> /><label for="popup_filmstrip_yes"><?php _e('Yes', 'bwg_back'); ?></label>
859
- <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_no" value="0" onClick="bwg_enable_disable('none', 'tr_popup_filmstrip_height', 'popup_filmstrip_no')" <?php echo ($wd_bwg_options->popup_enable_filmstrip) ? '' : 'checked'; ?> /><label for="popup_filmstrip_no"><?php _e('No', 'bwg_back'); ?></label>
860
- </td>
861
- </tr>
862
- <tr id="tr_popup_filmstrip_height">
863
- <td title="<?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label for="popup_filmstrip_height"><?php _e("Filmstrip size:", 'bwg_back'); ?> </label></td>
864
- <td class="spider_free_version_label"><input disabled="disabled" type="text" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo $wd_bwg_options->popup_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px</td>
865
- </tr>
866
- <tr id="tr_popup_hit_counter">
867
- <td title="<?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Display hit counter:", 'bwg_back'); ?> </label></td>
868
- <td>
869
- <input disabled="disabled" type="radio" name="popup_hit_counter" id="popup_hit_counter_yes" value="1" <?php echo ($wd_bwg_options->popup_hit_counter) ? 'checked' : ''; ?> /><label for="popup_hit_counter_yes"><?php _e('Yes', 'bwg_back'); ?></label>
870
- <input disabled="disabled" type="radio" name="popup_hit_counter" id="popup_hit_counter_no" value="0" <?php echo ($wd_bwg_options->popup_hit_counter) ? '' : 'checked'; ?> /><label for="popup_hit_counter_no"><?php _e('No', 'bwg_back'); ?></label>
871
- </td>
872
- </tr>
873
- <tr id="tr_popup_enable_ctrl_btn">
874
- <td title="<?php _e("Enable control buttons in lightbox", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable control buttons:", 'bwg_back'); ?> </label></td>
875
- <td>
876
- <input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_yes" value="1" onClick="bwg_enable_disable('', 'tbody_popup_ctrl_btn', 'popup_ctrl_btn_yes');" <?php echo ($wd_bwg_options->popup_enable_ctrl_btn) ? 'checked' : ''; ?> /><label for="popup_ctrl_btn_yes"><?php _e('Yes', 'bwg_back'); ?></label>
877
- <input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_no" value="0" onClick="bwg_enable_disable('none', 'tbody_popup_ctrl_btn', 'popup_ctrl_btn_no');" <?php echo ($wd_bwg_options->popup_enable_ctrl_btn) ? '' : 'checked'; ?> /><label for="popup_ctrl_btn_no"><?php _e('No', 'bwg_back'); ?></label>
878
- </td>
879
- </tr>
880
- </tbody>
881
- <tbody id="tbody_popup_ctrl_btn">
882
- <tr id="tr_popup_enable_fullscreen">
883
- <td title="<?php _e("Enable fullscreen view for images", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable fullscreen:", 'bwg_back'); ?> </label></td>
884
- <td>
885
- <input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_fullscreen) ? 'checked' : ''; ?> /><label for="popup_fullscreen_yes"><?php _e('Yes', 'bwg_back'); ?></label>
886
- <input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_no" value="0" <?php echo ($wd_bwg_options->popup_enable_fullscreen) ? '' : 'checked'; ?> /><label for="popup_fullscreen_no"><?php _e('No', 'bwg_back'); ?></label>
887
- </td>
888
- </tr>
889
- <tr id="tr_popup_enable_info">
890
- <td title="<?php _e("Enable title, description for images", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable info:", 'bwg_back'); ?> </label></td>
891
- <td>
892
- <input type="radio" name="popup_enable_info" id="popup_info_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_info) ? 'checked="checked"' : ''; ?> /><label for="popup_info_yes"><?php _e('Yes', 'bwg_back'); ?></label>
893
- <input type="radio" name="popup_enable_info" id="popup_info_no" value="0" <?php echo ($wd_bwg_options->popup_enable_info) ? '' : 'checked="checked"'; ?> /><label for="popup_info_no"><?php _e('No', 'bwg_back'); ?></label>
894
- </td>
895
- </tr>
896
- <tr id="tr_popup_info_always_show">
897
- <td class="spider_label"><label><?php _e("Display info by default:", 'bwg_back'); ?> </label></td>
898
- <td>
899
- <input type="radio" name="popup_info_always_show" id="popup_info_always_show_yes" value="1" <?php echo ($wd_bwg_options->popup_info_always_show) ? 'checked="checked"' : ''; ?> /><label for="popup_info_always_show_yes"><?php _e('Yes', 'bwg_back'); ?></label>
900
- <input type="radio" name="popup_info_always_show" id="popup_info_always_show_no" value="0" <?php echo ($wd_bwg_options->popup_info_always_show) ? '' : 'checked="checked"'; ?> /><label for="popup_info_always_show_no"><?php _e('No', 'bwg_back'); ?></label>
901
- </td>
902
- </tr>
903
- <tr id="tr_popup_info_full_width">
904
- <td title="<?php _e("Display image information based on the lightbox dimensions.", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Full width info:", 'bwg_back'); ?></label></td>
905
- <td>
906
- <input type="radio" name="popup_info_full_width" id="popup_info_full_width_1" value="1" <?php if ($wd_bwg_options->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_1"><?php _e('Yes', 'bwg_back'); ?></label>
907
- <input type="radio" name="popup_info_full_width" id="popup_info_full_width_0" value="0" <?php if (!$wd_bwg_options->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_0"><?php _e('No', 'bwg_back'); ?></label>
908
- </td>
909
- </tr>
910
- <tr id="tr_popup_enable_rate">
911
- <td title="<?php _e("Enable rating for images", 'bwg_back'); ?><br /><br />This option is disabled in free version." class="spider_label spider_free_version_label"><label><?php _e("Enable rating:", 'bwg_back'); ?> </label></td>
912
- <td>
913
- <input disabled="disabled" type="radio" name="popup_enable_rate" id="popup_rate_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_rate) ? 'checked="checked"' : ''; ?> /><label for="popup_rate_yes"><?php _e('Yes', 'bwg_back'); ?></label>
914
- <input disabled="disabled" type="radio" name="popup_enable_rate" id="popup_rate_no" value="0" <?php echo ($wd_bwg_options->popup_enable_rate) ? '' : 'checked="checked"'; ?> /><label for="popup_rate_no"><?php _e('No', 'bwg_back'); ?></label>
915
- </td>
916
- </tr>
917
- <tr id="tr_popup_enable_comment">
918
- <td title="<?php _e("Enable comments for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable comments:", 'bwg_back'); ?> </label></td>
919
- <td>
920
- <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_comment_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_comment) ? 'checked' : ''; ?> /><label for="popup_comment_yes"><?php _e('Yes', 'bwg_back'); ?></label>
921
- <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_comment_no" value="0" <?php echo ($wd_bwg_options->popup_enable_comment) ? '' : 'checked'; ?> /><label for="popup_comment_no"><?php _e('No', 'bwg_back'); ?></label>
922
- </td>
923
- </tr>
924
- <tr id="tr_popup_enable_facebook">
925
- <td title="<?php _e("Enable Facebook share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Facebook button:", 'bwg_back'); ?> </label></td>
926
- <td>
927
- <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_facebook_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_facebook) ? 'checked' : ''; ?> /><label for="popup_facebook_yes"><?php _e('Yes', 'bwg_back'); ?></label>
928
- <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_facebook_no" value="0" <?php echo ($wd_bwg_options->popup_enable_facebook) ? '' : 'checked'; ?> /><label for="popup_facebook_no"><?php _e('No', 'bwg_back'); ?></label>
929
- </td>
930
- </tr>
931
- <tr id="tr_popup_enable_twitter">
932
- <td title="<?php _e("Enable Twitter share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Twitter button:", 'bwg_back'); ?> </label></td>
933
- <td>
934
- <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_twitter_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_twitter) ? 'checked' : ''; ?> /><label for="popup_twitter_yes"><?php _e('Yes', 'bwg_back'); ?></label>
935
- <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_twitter_no" value="0" <?php echo ($wd_bwg_options->popup_enable_twitter) ? '' : 'checked'; ?> /><label for="popup_twitter_no"><?php _e('No', 'bwg_back'); ?></label>
936
- </td>
937
- </tr>
938
- <tr id="tr_popup_enable_google">
939
- <td title="<?php _e("Enable Google+ share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Google+ button:", 'bwg_back'); ?> </label></td>
940
- <td>
941
- <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_google_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_google) ? 'checked' : ''; ?> /><label for="popup_google_yes"><?php _e('Yes', 'bwg_back'); ?></label>
942
- <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_google_no" value="0" <?php echo ($wd_bwg_options->popup_enable_google) ? '' : 'checked'; ?> /><label for="popup_google_no"><?php _e('No', 'bwg_back'); ?></label>
943
- </td>
944
- </tr>
945
- <tr id="tr_popup_enable_pinterest">
946
- <td title="<?php _e("Enable Pinterest share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Pinterest button:", 'bwg_back'); ?> </label></td>
947
- <td>
948
- <input disabled="disabled" type="radio" name="popup_enable_pinterest" id="popup_pinterest_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_pinterest) ? 'checked' : ''; ?> /><label for="popup_pinterest_yes"><?php _e('Yes', 'bwg_back'); ?></label>
949
- <input disabled="disabled" type="radio" name="popup_enable_pinterest" id="popup_pinterest_no" value="0" <?php echo ($wd_bwg_options->popup_enable_pinterest) ? '' : 'checked'; ?> /><label for="popup_pinterest_no"><?php _e('No', 'bwg_back'); ?></label>
950
- </td>
951
- </tr>
952
- <tr id="tr_popup_enable_tumblr">
953
- <td title="<?php _e("Enable Tumblr share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Tumblr button:", 'bwg_back'); ?> </label></td>
954
- <td>
955
- <input disabled="disabled" type="radio" name="popup_enable_tumblr" id="popup_tumblr_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_tumblr) ? 'checked' : ''; ?> /><label for="popup_tumblr_yes"><?php _e('Yes', 'bwg_back'); ?></label>
956
- <input disabled="disabled" type="radio" name="popup_enable_tumblr" id="popup_tumblr_no" value="0" <?php echo ($wd_bwg_options->popup_enable_tumblr) ? '' : 'checked'; ?> /><label for="popup_tumblr_no"><?php _e('No', 'bwg_back'); ?></label>
957
- </td>
958
- </tr>
959
- </tbody>
960
- </table>
 
 
 
 
 
 
 
 
 
 
961
  </div>
962
- <div class="bwg_short_div">
963
  <table>
964
  <tbody>
965
  <tr id="tr_watermark_type">
@@ -1071,13 +1125,13 @@ class BWGViewBWGShortcode {
1071
  </div>
1072
  </div>
1073
  <div class="mceActionPanel">
1074
- <div style="float:left;">
1075
- <a id="bwg_pro_version_link" class="wd-btn wd-btn-primary-blue wd-not-image" target="_blank" style="line-height: 25px; padding: 0 5px; text-decoration: none; vertical-align: middle; width: inherit; float: left;" href="http://wpdemo.web-dorado.com/thumbnails-view-2/"><?php _e("Please see Pro ", 'bwg_back'); ?><span id="bwg_pro_version"><?php _e("Thumbnail", 'bwg_back'); ?></span> <?php _e("View", 'bwg_back'); ?></a>
1076
- </div>
1077
  <div style="float:right;">
1078
  <input type="button" id="insert" name="insert" value="<?php _e("Insert", 'bwg_back'); ?>" onClick="bwg_insert_shortcode('');" />
1079
  <input type="button" id="cancel" name="cancel" value="<?php _e("Cancel", 'bwg_back'); ?>" onClick="tinyMCEPopup.close();" />
1080
  </div>
 
 
 
1081
  </div>
1082
  <?php
1083
  }
@@ -1091,7 +1145,7 @@ class BWGViewBWGShortcode {
1091
  $tagfunction = "<?php echo photo_gallery(" . $currrent_id . "); ?>";
1092
  }
1093
  ?>
1094
- <hr style="float: left; width: 100%;" />
1095
  <span style="float: left; width: 100%;">
1096
  <a id="bwg_pro_version_link" class="wd-btn wd-btn-primary-blue wd-not-image" target="_blank" style="display: table; margin-bottom: 5px;" href="https://web-dorado.com/files/fromPhotoGallery.php"><?php _e("Please see Pro", 'bwg_back'); ?> <span id="bwg_pro_version"><?php _e("Thumbnail", 'bwg_back'); ?></span> <?php _e("View", 'bwg_back'); ?></a>
1097
  <input type="button" class="wd-btn wd-btn-primary-blue wd-not-image" id="insert" name="insert" value="<?php echo __("Generate", 'bwg_back'); ?>" onclick="bwg_insert_shortcode(''); jQuery('#loading_div').show(); jQuery('#opacity_div').show();" />
@@ -1168,6 +1222,7 @@ class BWGViewBWGShortcode {
1168
  <?php } ?>
1169
  jQuery('#insert').attr('onclick', "bwg_insert_shortcode(content)");
1170
  jQuery("select[id=theme] option[value='" + short_code['theme_id'] + "']").attr('selected', 'selected');
 
1171
  switch (short_code['gallery_type']) {
1172
  case 'thumbnails': {
1173
  jQuery("select[id=gallery] option[value='" + short_code['gallery_id'] + "']").attr('selected', 'selected');
@@ -2014,8 +2069,12 @@ class BWGViewBWGShortcode {
2014
  });
2015
  <?php } ?>
2016
  }
2017
- jQuery(document).ready(function () {
2018
  bwg_loadmore();
 
 
 
 
2019
  });
2020
  var bwg_image_thumb = '<?php echo addslashes(__('Image thumbnail dimensions:', 'bwg_back')); ?>';
2021
  var bwg_image_thumb_width = '<?php echo addslashes(__('Image thumbnail width: ', 'bwg_back')); ?>';
@@ -2028,7 +2087,9 @@ class BWGViewBWGShortcode {
2028
  <?php
2029
  include_once (WD_BWG_DIR .'/includes/bwg_pointers.php');
2030
  new BWG_pointers();
2031
- die();
 
 
2032
  }
2033
 
2034
  ////////////////////////////////////////////////////////////////////////////////////////
61
  'monospace' => 'Monospace',
62
  'serif' => 'Serif',
63
  );
64
+ $gallery_types_name = array(
65
+ 'thumbnails' => __('Thumbnails', 'bwg_back'),
66
+ 'thumbnails_masonry' => __('Masonry', 'bwg_back'),
67
+ 'thumbnails_mosaic' => __('Mosaic', 'bwg_back'),
68
+ 'slideshow' => __('Slideshow', 'bwg_back'),
69
+ 'image_browser' => __('Image Browser', 'bwg_back'),
70
+ 'album_compact_preview' => __('Compact Album', 'bwg_back'),
71
+ 'album_masonry_preview' => __('Masonry Album', 'bwg_back'),
72
+ 'album_extended_preview' => __('Extended Album', 'bwg_back'),
73
+ 'blog_style' => __('Blog Style', 'bwg_back'),
74
+ 'carousel' => __('Carousel', 'bwg_back'),
75
+ );
76
  if (!$from_menu) {
77
  ?>
78
  <html xmlns="http://www.w3.org/1999/xhtml">
100
  <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/jscolor/jscolor.js?ver='.wd_bwg_version(); ?>"></script>
101
  <?php
102
  if (!$from_menu) {
103
+ wp_print_styles('forms');
104
  ?>
105
  <base target="_self">
106
  </head>
107
+ <body id="link" onLoad="tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';" dir="ltr" class="forceColors" >
108
  <?php if (isset($_POST['tagtext'])) { echo '<script>tinyMCEPopup.close();</script></body></html>'; die(); } ?>
109
  <form method="post" action="#" id="bwg_shortcode_form">
110
  <?php wp_nonce_field( 'BWGShortcode', 'bwg_nonce' ); ?>
 
 
 
 
 
 
 
 
 
111
  <div class="panel_wrapper">
112
  <div id="display_panel" class="panel current">
113
  <?php
120
  <?php
121
  }
122
  ?>
123
+ <div id="bwg_change_gallery_type">
124
  <span class="gallery_type" onClick="bwg_gallery_type('thumbnails')">
125
+ <div class="gallery_type_div"><input type="radio" class="gallery_type_radio" id="thumbnails" name="gallery_type" value="thumbnails"/><label class="gallery_type_label" for="thumbnails"><?php _e("Thumbnails", 'bwg_back'); ?></label></div>
126
+ <div><label for="thumbnails"><img id="display_thumb" src="<?php echo WD_BWG_URL . '/images/thumbnails.jpg'; ?>" /></label></div>
127
  </span>
128
+ <span title="<?php _e("This view is available only in Paid version.", 'bwg_back'); ?><a class='wd-btn wd-btn-primary-blue wd-not-image' href='http://wpdemo.web-dorado.com/masonry-view/' target='_blank'>Demo View</a>" class="gallery_type">
129
+ <div class="gallery_type_div"><input disabled="disabled" class="gallery_type_radio" type="radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" /><label class="spider_free_version_label gallery_type_label" for="thumbnails_masonry"><?php _e("Masonry", 'bwg_back'); ?></label></div>
130
+ <div><label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/thumbnails_masonry.jpg'; ?>" /></label></div>
131
  </span>
132
+ <span title="<?php _e("This view is available only in Paid version.", 'bwg_back'); ?><a class='wd-btn wd-btn-primary-blue wd-not-image' href='http://wpdemo.web-dorado.com/mosaic-view/' target='_blank'>Demo View</a>" class="gallery_type">
133
+ <div class="gallery_type_div"><input disabled="disabled" type="radio" class="gallery_type_radio" id="thumbnails_mosaic" name="gallery_type" value="thumbnails_mosaic" /><label class="spider_free_version_label gallery_type_label" for="thumbnails_mosaic"><?php _e("Mosaic", 'bwg_back'); ?></label></div>
134
+ <div><label for="thumbnails_mosaic"><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/thumbnails_mosaic.jpg'; ?>" /></label></div>
135
  </span>
136
  <span class="gallery_type" onClick="bwg_gallery_type('slideshow')">
137
+ <div class="gallery_type_div"><input type="radio" id="slideshow" class="gallery_type_radio" name="gallery_type" value="slideshow" /><label class="gallery_type_label" for="slideshow"><?php _e("Slideshow", 'bwg_back'); ?></label></div>
138
  <label for="slideshow"><img src="<?php echo WD_BWG_URL . '/images/slideshow.jpg'; ?>" /></label>
139
  </span>
140
  <span class="gallery_type" onClick="bwg_gallery_type('image_browser')">
141
+ <div class="gallery_type_div"><input type="radio" class="gallery_type_radio" id="image_browser" name="gallery_type" value="image_browser" /><label class="gallery_type_label" for="image_browser"><?php _e("Image Browser", 'bwg_back'); ?></label></div>
142
+ <div><label for="image_browser"><img src="<?php echo WD_BWG_URL . '/images/image_browser.jpg'; ?>" /></label></div>
143
  </span>
144
  <span class="gallery_type" onClick="bwg_gallery_type('album_compact_preview')">
145
+ <div class="album_type_div"><input type="radio" class="album_type_radio" id="album_compact_preview" name="gallery_type" value="album_compact_preview" /><label class="album_type_label" for="album_compact_preview"><?php _e("Compact Album", 'bwg_back'); ?></label></div>
146
+ <div><label for="album_compact_preview"><img src="<?php echo WD_BWG_URL . '/images/album_compact_preview.jpg'; ?>" /></label></div>
147
  </span>
148
+ <span title="<?php _e("This view is available only in Paid version.", 'bwg_back'); ?><a class='wd-btn wd-btn-primary-blue wd-not-image' href='http://wpdemo.web-dorado.com/masonry-album-view/' target='_blank'>Demo View</a>" class="gallery_type">
149
+ <div class="album_type_div"><input disabled="disabled" type="radio" class="album_type_radio" id="album_masonry_preview" name="gallery_type" value="album_masonry_preview" /><label class="spider_free_version_label album_type_label" for="album_masonry_preview"><?php _e("Masonry Album", 'bwg_back'); ?></label></div>
150
+ <div><label for="album_masonry_preview"><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/thumbnails_masonry.jpg'; ?>" /></label></div>
151
  </span>
152
  <span class="gallery_type" onClick="bwg_gallery_type('album_extended_preview')">
153
+ <div class="album_type_div"><input type="radio" class="album_type_radio" id="album_extended_preview" name="gallery_type" value="album_extended_preview" /><label class="album_type_label" for="album_extended_preview"><?php _e("Extended Album", 'bwg_back'); ?></label></div>
154
+ <div><label for="album_extended_preview"><img src="<?php echo WD_BWG_URL . '/images/album_extended_preview.jpg'; ?>" /></label></div>
155
  </span>
156
+ <span title="<?php _e("This view is available only in Paid version.", 'bwg_back'); ?><a class='wd-btn wd-btn-primary-blue wd-not-image' href='http://wpdemo.web-dorado.com/blog-style-view/' target='_blank'>Demo View</a>" class="gallery_type">
157
+ <div class="gallery_type_div"><input disabled="disabled" type="radio" class="gallery_type_radio" id="blog_style" name="gallery_type" value="blog_style" /><label class="spider_free_version_label gallery_type_label" for="blog_style"><?php _e("Blog Style", 'bwg_back'); ?></label></div>
158
  <label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/blog_style.jpg'; ?>" /></label>
159
  </span>
160
+ <span title="<?php _e("This view is available only in Paid version.", 'bwg_back'); ?><a class='wd-btn wd-btn-primary-blue wd-not-image' href='http://wpdemo.web-dorado.com/gallery-carousel/' target='_blank'>Demo View</a>" class="gallery_type">
161
+ <div class="gallery_type_div"><input disabled="disabled" type="radio" class="gallery_type_radio" id="carousel" name="gallery_type" value="carousel" /><label class="spider_free_version_label gallery_type_label" for="carousel"><?php _e("Carousel", 'bwg_back'); ?></label></div>
162
+ <div><label for="carousel"><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/Carousel.png'; ?>" /></label></div>
163
  </span>
164
  </div>
165
+ <div id="bwg_select_gallery_type" style="display:none; text-align:center; height:33px;">
166
+ <select name="gallery_types_name" id="gallery_types_name" class="aaa select_icon select_icon_pos" style="width:100%;" onchange="bwg_gallery_type(jQuery(this).val());">
167
+ <?php
168
+ foreach ($gallery_types_name as $key=>$gallery_type_name) {
169
+ ?>
170
+ <option <?php echo selected($gallery_type_name,true); ?> <?php echo ($gallery_type_name == 'Carousel' || $gallery_type_name == 'Masonry' || $gallery_type_name == 'Mosaic' || $gallery_type_name == 'Masonry Album' || $gallery_type_name == 'Blog Style') ? 'title="'. __("This view is disabled in free version.", 'bwg_back').'" disabled="disabled"' : '';?> value="<?php echo $key; ?>"><?php echo $gallery_type_name; ?></option>
171
+ <?php
172
+ }
173
+ ?>
174
+ </select>
175
+ </div>
176
+ <div class="tabs_views" style="display:none;">
177
+ <div class="tabs_chang_view" id="" onclick="bwg_change_views('type_them');">
178
+ <a id="bwg_them" class="wd-btn wd-btn-primary wd-not-image">
179
+ <div class=""><?php _e('Global', 'bwg_back'); ?></div>
180
+ </a>
181
+ </div>
182
+ <div class="tabs_chang_view" id="" onclick="bwg_change_views('type_slideshow');">
183
+ <a id="bwg_slideshow" class="wd-btn wd-btn-primary wd-not-image">
184
+ <div class="bwg_tab_label"><?php _e('Lightbox', 'bwg_back'); ?></div>
185
+ </a>
186
+ </div>
187
+ <div class="tabs_chang_view" id="" onclick="bwg_change_views('type_advertisement');">
188
+ <a id="bwg_advertisement" class="wd-btn wd-btn-primary wd-not-image">
189
+ <div class="bwg_tab_label">
190
+ <?php _e('Advertisement', 'bwg_back'); ?>
191
+
192
+ </div>
193
+ </a>
194
+ </div>
195
+ </div>
196
+ <hr class="bwg_hr_shortcode" />
197
+ <div class="bwg_short_div type_them" style="border-right: 1px solid #000000;">
198
+ <div style="display:table;width:100%;">
199
+ <div style="display:table-cell;">
200
+ <div class="gallery_album_option_left">
201
+ <table style="display:inline-block;">
202
+ <tbody>
203
+ <tr id="tr_theme">
204
+ <td <?php echo (get_option("wd_bwg_theme_version") ? 'title="This option is disabled in free version." class="spider_label spider_free_version_label"' : 'class="spider_label"'); ?>><label for="theme"><?php _e("Theme:", 'bwg_back'); ?> </label></td>
205
+ <td>
206
+ <select name="theme" class="select_icon" id="theme" style="width:150px;" <?php echo (get_option("wd_bwg_theme_version") ? 'disabled="disabled"' : ''); ?>>
207
+ <option value="0" selected="selected"><?php _e("Select Theme", 'bwg_back'); ?></option>
208
+ <?php
209
+ foreach ($theme_rows as $theme_row) {
210
+ ?>
211
+ <option <?php echo ($theme_row->default_theme) ? 'selected="selected"' : ''; ?> value="<?php echo $theme_row->id; ?>"><?php echo $theme_row->name; ?></option>
212
+ <?php
213
+ }
214
+ ?>
215
+ </select>
216
+ </td>
217
+ </tr>
218
+ <tr id="tr_gallery">
219
+ <td class="spider_label"><label for="gallery"><?php _e("Gallery:", 'bwg_back'); ?> </label></td>
220
+ <td>
221
+ <select name="gallery" class="select_icon" id="gallery" style="width:150px;">
222
+ <option value="0" selected="selected"><?php _e("All Galleries", 'bwg_back'); ?></option>
223
+ <?php
224
+ foreach ($gallery_rows as $gallery_row) {
225
+ ?>
226
+ <option value="<?php echo $gallery_row->id; ?>"><?php echo $gallery_row->name; ?></option>
227
+ <?php
228
+ }
229
+ ?>
230
+ </select>
231
+ </td>
232
+ </tr>
233
+ <tr id="tr_album">
234
+ <td title="<?php _e('The selected album expanded content will be displayed.', 'bwg_back'); ?>" class="spider_label"><label for="album"><?php _e("Album:", 'bwg_back'); ?> </label></td>
235
+ <td>
236
+ <select name="album" class="select_icon" id="album" style="width:150px;">
237
+ <option value="0" selected="selected"><?php _e("Select Album", 'bwg_back'); ?></option>
238
+ <?php
239
+ foreach ($album_rows as $album_row) {
240
+ ?>
241
+ <option value="<?php echo $album_row->id; ?>"><?php echo $album_row->name; ?></option>
242
+ <?php
243
+ }
244
+ ?>
245
+ </select>
246
+ </td>
247
+ </tr>
248
+ <tr id="tr_sort_by">
249
+ <td class="spider_label"><label for="sort_by"><?php _e("Sort images by:", 'bwg_back'); ?> </label></td>
250
+ <td>
251
+ <select name="sort_by" class="select_icon" id="sort_by" style="width:150px;">
252
+ <option value="order" selected="selected"><?php _e("Order", 'bwg_back'); ?></option>
253
+ <option value="alt"><?php _e("Title", 'bwg_back'); ?></option>
254
+ <option value="date"><?php _e("Date", 'bwg_back'); ?></option>
255
+ <option value="filename"><?php _e("Filename", 'bwg_back'); ?></option>
256
+ <option value="size"><?php _e("Size", 'bwg_back'); ?></option>
257
+ <option value="filetype"><?php _e("Type", 'bwg_back'); ?></option>
258
+ <option value="resolution"><?php _e("Resolution", 'bwg_back'); ?></option>
259
+ <option value="random"><?php _e("Random", 'bwg_back'); ?></option>
260
+ </select>
261
+ </td>
262
+ </tr>
263
+ <tr id="tr_tag">
264
+ <td class="spider_label"><label for="gallery"><?php echo __('Tag:', 'bwg_back'); ?> </label></td>
265
+ <td>
266
+ <select name="tag" id="tag" class="select_icon" style="width:150px;">
267
+ <option value="0" selected="selected"><?php echo __('All Tags', 'bwg_back'); ?></option>
268
+ <?php
269
+ foreach ($tag_rows as $tag_row) {
270
+ ?>
271
+ <option value="<?php echo $tag_row->term_id; ?>"><?php echo $tag_row->name; ?></option>
272
+ <?php
273
+ }
274
+ ?>
275
+ </select>
276
+ </td>
277
+ </tr>
278
+ <tr id="tr_order_by">
279
+ <td class="spider_label"><label><?php _e("Order images:", 'bwg_back'); ?>: </label></td>
280
+ <td>
281
+ <input type="radio" name="order_by" id="order_by_1" value="asc" checked="checked" /><label for="order_by_1"><?php _e("Ascending", 'bwg_back'); ?></label>
282
+ <span class="order_by_desc"><input type="radio" name="order_by" id="order_by_0" value="desc" /><label for="order_by_0"><?php _e("Descending", 'bwg_back'); ?></label></span>
283
+ </td>
284
+ </tr>
285
+ <tr id="tr_show_search_box">
286
+ <td class="spider_label"><label><?php _e("Show search box:", 'bwg_back'); ?> </label></td>
287
+ <td>
288
+ <input type="radio" name="show_search_box" id="show_search_box_1" value="1" <?php if ($wd_bwg_options->show_search_box) echo 'checked="checked"'; ?> onchange="bwg_show_search_box()" /><label for="show_search_box_1"><?php _e("Yes", 'bwg_back'); ?></label>
289
+ <input type="radio" name="show_search_box" id="show_search_box_0" value="0" <?php if (!$wd_bwg_options->show_search_box) echo 'checked="checked"'; ?> onchange="bwg_show_search_box()" /><label for="show_search_box_0"><?php _e('No', 'bwg_back'); ?></label>
290
+ </td>
291
+ </tr>
292
+ <tr id="tr_search_box_width">
293
+ <td class="spider_label"><label for="search_box_width"><?php _e("Search box width:", 'bwg_back'); ?> </label></td>
294
+ <td><input type="text" name="search_box_width" id="search_box_width" value="<?php echo $wd_bwg_options->search_box_width; ?>" class="spider_int_input" /> px</td>
295
+ </tr>
296
+ <tr id="tr_show_tag_box">
297
+ <td class="spider_label"><label><?php _e("Show tag box:", 'bwg_back'); ?> </label></td>
298
+ <td>
299
+ <input type="radio" name="show_tag_box" id="show_tag_box_1" value="1" <?php if ($wd_bwg_options->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_1"><?php _e('Yes', 'bwg_back'); ?></label>
300
+ <input type="radio" name="show_tag_box" id="show_tag_box_0" value="0" <?php if (!$wd_bwg_options->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_search_box_0"><?php _e('No', 'bwg_back'); ?></label>
301
+ </td>
302
+ </tr>
303
+ <tr id="tr_show_sort_images">
304
+ <td class="spider_label"><label><?php _e("Show 'Order by' dropdown list:", 'bwg_back'); ?> </label></td>
305
+ <td>
306
+ <input type="radio" name="show_sort_images" id="show_sort_images_1" value="1" <?php if ($wd_bwg_options->show_sort_images) echo 'checked="checked"'; ?> onchange="" /><label for="show_sort_images_1"><?php _e('Yes', 'bwg_back'); ?></label>
307
+ <input type="radio" name="show_sort_images" id="show_sort_images_0" value="0" <?php if (!$wd_bwg_options->show_sort_images) echo 'checked="checked"'; ?> onchange="" /><label for="show_sort_images_0"><?php _e('No', 'bwg_back'); ?>;</label>
308
+ </td>
309
+ </tr>
310
+ <tr id="tr_showthumbs_name">
311
+ <td class="spider_label"><label><?php echo _e('Show gallery title:', 'bwg_back'); ?> </label></td>
312
+ <td>
313
+ <input type="radio" name="showthumbs_name" id="showthumbs_name_1" value="1" <?php if ($wd_bwg_options->showthumbs_name) echo 'checked="checked"'; ?> onchange="" /><label for="showthumbs_name_1"><?php echo _e('Yes', 'bwg_back'); ?></label>
314
+ <input type="radio" name="showthumbs_name" id="showthumbs_name_0" value="0" <?php if (!$wd_bwg_options->showthumbs_name) echo 'checked="checked"'; ?> onchange="" /><label for="showthumbs_name_0"><?php echo _e('No', 'bwg_back'); ?></label>
315
+ </td>
316
+ </tr>
317
+ <tr id="tr_show_album_name">
318
+ <td class="spider_label"><label><?php echo _e('Show gallery title:', 'bwg_back'); ?> </label></td>
319
+ <td>
320
+ <input type="radio" name="show_album_name" id="show_album_name_1" value="1" <?php if ($wd_bwg_options->show_album_name) echo 'checked="checked"'; ?> onchange="" /><label for="show_album_name_1"><?php echo _e('Yes', 'bwg_back'); ?></label>
321
+ <input type="radio" name="show_album_name" id="show_album_name_0" value="0" <?php if (!$wd_bwg_options->show_album_name) echo 'checked="checked"'; ?> onchange="" /><label for="show_album_name_0"><?php echo _e('No', 'bwg_back'); ?></label>
322
+ </td>
323
+ </tr>
324
+ <tr id="tr_show_gallery_description">
325
+ <td class="spider_label"><label><?php echo __('Show gallery description:', 'bwg_back'); ?> </label></td>
326
+ <td>
327
+ <input type="radio" name="show_gallery_description" id="show_gallery_description_1" value="1" <?php if ($wd_bwg_options->show_gallery_description) echo 'checked="checked"'; ?> onchange="" /><label for="show_gallery_description_1"><?php echo __('Yes', 'bwg_back'); ?></label>
328
+ <input type="radio" name="show_gallery_description" id="show_gallery_description_0" value="0" <?php if (!$wd_bwg_options->show_gallery_description) echo 'checked="checked"'; ?> onchange="" /><label for="show_gallery_description_0"><?php echo __('No', 'bwg_back'); ?></label>
329
+ </td>
330
+ </tr>
331
+ <!--Slideshow view-->
332
+ <tr id="tr_slideshow_effect">
333
+ <td class="spider_label"><label for="slideshow_effect"><?php _e("Slideshow Effect:", 'bwg_back'); ?> </label></td>
334
+ <td>
335
+ <select name="slideshow_effect" class="select_icon" id="slideshow_effect" style="width:150px;">
336
+ <?php
337
+ foreach ($effects as $key => $effect) {
338
+ ?>
339
+ <option value="<?php echo $key; ?>" <?php echo ($key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __("This effect is disabled in free version.","bwg_back") . '"' : ''; ?> <?php echo ($wd_bwg_options->slideshow_type == $key) ? 'selected' : ''; ?>><?php echo __($effect,"bwg_back"); ?></option>
340
+ <?php
341
+ }
342
+ ?>
343
+ </select>
344
+ </td>
345
+ </tr>
346
+ <tr id="tr_slideshow_effect_duration">
347
+ <td title="<?php echo __("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="slideshow_effect_duration"><?php echo __('Effect duration:', 'bwg_back'); ?> </label></td>
348
+ <td><input type="text" name="slideshow_effect_duration" id="slideshow_effect_duration" value="<?php echo $wd_bwg_options->slideshow_effect_duration; ?>" class="spider_int_input" /> sec.</td>
349
+ </tr>
350
+ <tr id="tr_slideshow_interval">
351
+ <td title="<?php _e("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="slideshow_interval"><?php _e("Time interval:", 'bwg_back'); ?> </label></td>
352
+ <td><input type="text" name="slideshow_interval" id="slideshow_interval" value="<?php echo $wd_bwg_options->slideshow_interval; ?>" class="spider_int_input" /> sec.</td>
353
+ </tr>
354
+ <tr id="tr_slideshow_width_height">
355
+ <td title="<?php _e("Maximum values for slideshow width and height.", 'bwg_back'); ?>" class="spider_label"><label for="slideshow_width"><?php _e("Slideshow dimensions:", 'bwg_back'); ?> </label></td>
356
+ <td>
357
+ <input type="text" name="slideshow_width" id="slideshow_width" value="<?php echo $wd_bwg_options->slideshow_width; ?>" class="spider_int_input" /> x
358
+ <input type="text" name="slideshow_height" id="slideshow_height" value="<?php echo $wd_bwg_options->slideshow_height; ?>" class="spider_int_input" /> px
359
+ </td>
360
+ </tr>
361
+ </tbody>
362
+ </table>
363
+ </div>
364
+ <div class="gallery_album_option_right">
365
+ <table style="display:inline-block;">
366
+ <tbody>
367
+ <!--Thumbnails, Masonry viewies-->
368
+ <tr id="tr_masonry_hor_ver">
369
+ <td class="spider_label"><label><?php _e("Masonry:", 'bwg_back'); ?> </label></td>
370
+ <td>
371
+ <input type="radio" name="masonry_hor_ver" id="masonry_ver" value="vertical" onclick="bwg_change_label('image_column_number_label', 'Number of image rows: ');
372
  bwg_change_label('thumb_width_height_label', 'Image thumbnail width: ');
373
  jQuery('#thumb_width').show();
374
  jQuery('#thumb_height').hide();
375
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->masonry == 'vertical') ? 'checked' : ''; ?> /><label for="masonry_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
376
+ <input type="radio" name="masonry_hor_ver" id="masonry_hor" value="horizontal" onclick="bwg_change_label('image_column_number_label', '<?php _e("Max. number of image columns: ", 'bwg_back'); ?>');
377
  bwg_change_label('thumb_width_height_label', 'Image Thumbnail Height: ');
378
  jQuery('#thumb_width').hide();
379
  jQuery('#thumb_height').show();
380
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->masonry == 'horizontal') ? 'checked' : ''; ?> /><label for="masonry_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
381
+ </td>
382
+ </tr>
383
+ <!--Thumbnails, Mosaic viewies-->
384
+ <tr id="tr_mosaic_hor_ver">
385
+ <td class="spider_label"><label><?php _e("Mosaic:", 'bwg_back'); ?> </label></td>
386
+ <td>
387
+ <input type="radio" name="mosaic_hor_ver" id="mosaic_ver" value="vertical" onclick="bwg_change_label('image_column_number_label', '<?php _e("Number of image rows: ", 'bwg_back'); ?>');
388
  bwg_change_label('thumb_width_height_label', '<?php _e("Image thumbnail width: ", 'bwg_back'); ?>');
389
  jQuery('#thumb_width').show();
390
  jQuery('#thumb_height').hide();
391
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->mosaic == 'vertical') ? 'checked' : ''; ?> /><label for="mosaic_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
392
+ <input type="radio" name="mosaic_hor_ver" id="mosaic_hor" value="horizontal" onclick="bwg_change_label('image_column_number_label', '<?php _e("Max. number of image columns:", 'bwg_back'); ?> ');
393
  bwg_change_label('thumb_width_height_label', '<?php _e("Image Thumbnail Height:", 'bwg_back'); ?> ');
394
  jQuery('#thumb_width').hide();
395
  jQuery('#thumb_height').show();
396
  jQuery('#thumb_width_height_separator').hide();" <?php echo ($wd_bwg_options->mosaic == 'horizontal') ? 'checked' : ''; ?> /><label for="mosaic_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
397
+
398
+
399
+ </td>
400
+ </tr>
401
+ <tr id="tr_resizable_mosaic">
402
+ <td title="<?php _e('Mosaic thumbnails do not have fixed size, but are proportional to the width of the parent container. This option keeps thumbs to look nice when viewed with very large or very small screen. Prevents zooming of thumbs.', 'bwg_back'); ?>" class="spider_label"><label for="resizable_mosaic"><?php _e("Resizable mosaic", 'bwg_back'); ?></label></td>
403
+ <td>
404
+ <input type="radio" name="resizable_mosaic" id="resizable_mosaic_1" value="1" <?php echo ($wd_bwg_options->resizable_mosaic == 1) ? 'checked' : ''; ?> /><label for="resizable_mosaic_1"><?php _e('Yes', 'bwg_back'); ?></label>
405
+ <input type="radio" name="resizable_mosaic" id="resizable_mosaic_0" value="0" <?php echo ($wd_bwg_options->resizable_mosaic == 0) ? 'checked' : ''; ?> /><label for="resizable_mosaic_0"><?php _e('No', 'bwg_back'); ?></label>
406
+ <br />
407
+ </td>
408
+ </tr>
409
+ <tr id="tr_mosaic_total_width">
410
+ <td title="<?php _e("Percentage of container's width", 'bwg_back'); ?>" class="spider_label"><label for="mosaic_total_width"><?php _e("Total width of mosaic:", 'bwg_back'); ?> </label></td>
411
+ <td><input type="text" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo $wd_bwg_options->mosaic_total_width; ?>" class="spider_int_input" /> %</td>
412
+ </tr>
413
+ <!--Thumbnails, Masonry and Mosaic viewies-->
414
+ <tr id="tr_image_column_number">
415
+ <td class="spider_label"><label id="image_column_number_label" for="image_column_number"><?php _e("Max. number of image columns:", 'bwg_back'); ?> </label></td>
416
+ <td><input type="text" name="image_column_number" id="image_column_number" value="<?php echo $wd_bwg_options->image_column_number; ?>" class="spider_int_input" /></td>
417
+ </tr>
418
+ <tr id="tr_images_per_page">
419
+ <td title="<?php _e('If you want to display all images you should leave it blank or insert 0.', 'bwg_back'); ?>" class="spider_label"><label for="images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
420
+ <td><input type="text" name="images_per_page" id="images_per_page" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
421
+ </tr>
422
+ <tr id="tr_image_title_hover">
423
+ <td class="spider_label"><label><?php _e("Image title:", 'bwg_back'); ?> </label></td>
424
+ <td>
425
+ <input type="radio" name="image_title" id="image_title_hover" value="hover" <?php echo ($wd_bwg_options->image_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="image_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
426
+ <input type="radio" name="image_title" id="image_title_show" value="show" <?php echo ($wd_bwg_options->image_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="image_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
427
+ <input type="radio" name="image_title" id="image_title_none" value="none" <?php echo ($wd_bwg_options->image_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="image_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
428
+ </td>
429
+ </tr>
430
+ <tr id="tr_image_enable_page">
431
+ <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
432
+ <td>
433
+ <input type="radio" name="image_enable_page" class="hide_load_count" id="image_page_yes" value="1" <?php echo ($wd_bwg_options->image_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
434
+ <input type="radio" name="image_enable_page" class="hide_load_count" id="image_page_no" value="0" <?php echo ($wd_bwg_options->image_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_no"><?php _e('No', 'bwg_back'); ?></label>
435
+ <span class="bwg_enable_page"><input type="radio" name="image_enable_page" id="image_page_loadmore" value="2" <?php echo ($wd_bwg_options->image_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_loadmore"><?php _e("Load More", 'bwg_back'); ?></label>
436
+ <input type="radio" name="image_enable_page" id="image_page_scrol_load" value="3" <?php echo ($wd_bwg_options->image_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="image_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?></label></span>
437
+ </td>
438
+ </tr>
439
+ <tr id="tr_load_more_image_count">
440
+ <td class="spider_label"><label for="load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
441
+ <td><input type="text" name="load_more_image_count" id="load_more_image_count" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
442
+ </tr>
443
+ <tr id="tr_thumb_width_height">
444
+ <td title="<?php _e('Maximum values for thumbnail dimension.', 'bwg_back'); ?>" class="spider_label"><label id="thumb_width_height_label" for="thumb_width"><?php _e("Image Thumbnail dimensions:", 'bwg_back'); ?> </label></td>
445
+ <td>
446
+ <input type="text" name="thumb_width" id="thumb_width" value="<?php echo $wd_bwg_options->thumb_width; ?>" class="spider_int_input" /><span id="thumb_width_height_separator"> x </span>
447
+ <input type="text" name="thumb_height" id="thumb_height" value="<?php echo $wd_bwg_options->thumb_height; ?>" class="spider_int_input" /> px
448
+ </td>
449
+ </tr>
450
 
451
+ <!--Compact Album view-->
452
+ <tr id="tr_compuct_album_column_number">
453
+ <td class="spider_label"><label for="compuct_album_column_number"><?php _e("Max. number of album columns:", 'bwg_back'); ?> </label></td>
454
+ <td><input type="text" name="compuct_album_column_number" id="compuct_album_column_number" value="<?php echo $wd_bwg_options->album_column_number; ?>" class="spider_int_input" /></td>
455
+ </tr>
456
+ <tr id="tr_compuct_albums_per_page">
457
+ <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_albums_per_page"><?php _e("Albums per page:", 'bwg_back'); ?> </label></td>
458
+ <td><input type="text" name="compuct_albums_per_page" id="compuct_albums_per_page" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
459
+ </tr>
460
+ <tr id="tr_compuct_album_title_hover">
461
+ <td class="spider_label"><label><?php _e("Album title:", 'bwg_back'); ?> </label></td>
462
+ <td>
463
+ <input type="radio" name="compuct_album_title" id="compuct_album_title_hover" value="hover" <?php echo ($wd_bwg_options->album_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="compuct_album_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
464
+ <input type="radio" name="compuct_album_title" id="compuct_album_title_show" value="show" <?php echo ($wd_bwg_options->album_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="compuct_album_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
465
+ <input type="radio" name="compuct_album_title" id="compuct_album_title_none" value="none" <?php echo ($wd_bwg_options->album_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="compuct_album_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
466
+ </td>
467
+ </tr>
468
+ <tr id="tr_compuct_album_thumb_width_height">
469
+ <td title="<?php _e("Maximum values for album thumb width and height.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_thumb_width"><?php _e("Album Thumbnail dimensions:", 'bwg_back'); ?> </label></td>
470
+ <td>
471
+ <input type="text" name="compuct_album_thumb_width" id="compuct_album_thumb_width" value="<?php echo $wd_bwg_options->album_thumb_width; ?>" class="spider_int_input" /> x
472
+ <input type="text" name="compuct_album_thumb_height" id="compuct_album_thumb_height" value="<?php echo $wd_bwg_options->album_thumb_height; ?>" class="spider_int_input" /> px
473
+ </td>
474
+ </tr>
475
+ <tr id="tr_compuct_album_view_type">
476
+ <td title="<?php _e('The gallery images view type in the album.<br /><br />This option is disabled in free version.', 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Album view type:", 'bwg_back'); ?> </label></td>
477
+ <td>
478
+ <input disabled="disabled" type="radio" name="compuct_album_view_type" id="compuct_album_view_type_1" value="thumbnail" <?php if ($wd_bwg_options->album_view_type == "thumbnail") echo 'checked="checked"'; ?> onchange="bwg_change_compuct_album_view_type()" /><label for="compuct_album_view_type_1"><?php _e("Thumbnail", 'bwg_back'); ?></label>
479
+ <input disabled="disabled" type="radio" name="compuct_album_view_type" id="compuct_album_view_type_0" value="masonry" <?php if ($wd_bwg_options->album_view_type == "masonry") echo 'checked="checked"'; ?> onchange="bwg_change_compuct_album_view_type()" /><label for="compuct_album_view_type_0"><?php _e("Masonry", 'bwg_back'); ?></label>
480
+ <input disabled="disabled" type="radio" name="compuct_album_view_type" id="compuct_album_view_type_2" value="mosaic" <?php if ($wd_bwg_options->album_view_type == "mosaic") echo 'checked="checked"'; ?> onchange="bwg_change_compuct_album_view_type()" /><label for="compuct_album_view_type_2"><?php _e("Mosaic", 'bwg_back'); ?></label>
481
+ </td>
482
+ </tr>
483
+ <tr id="tr_compuct_album_mosaic_hor_ver">
484
+ <td title="<?php _e('This option is disabled in free version.', 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Mosaic:", 'bwg_back'); ?> </label></td>
485
+ <td>
486
+ <input disabled="disabled" type="radio" name="compuct_album_mosaic_hor_ver" id="compuct_album_mosaic_ver" value="vertical" onclick="bwg_change_label('compuct_album_image_column_number', '<?php _e("Number of image rows:", 'bwg_back'); ?> ');
487
  bwg_change_label('compuct_album_image_thumb_dimensions', '<?php _e("Image thumbnail width:", 'bwg_back'); ?> ');
488
  jQuery('#compuct_album_image_thumb_width').show();
489
  jQuery('#compuct_album_image_thumb_height').hide();
490
  jQuery('#compuct_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'vertical') ? 'checked' : ''; ?> /><label for="compuct_album_mosaic_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
491
+ <input disabled="disabled" type="radio" name="compuct_album_mosaic_hor_ver" id="compuct_album_mosaic_hor" value="horizontal" onclick="bwg_change_label('compuct_album_image_column_number', '<?php _e("Max. number of image columns:", 'bwg_back'); ?> ');
492
  bwg_change_label('compuct_album_image_thumb_dimensions', '<?php _e("Image thumbnail height:", 'bwg_back'); ?> ');
493
  jQuery('#compuct_album_image_thumb_width').hide();
494
  jQuery('#compuct_album_image_thumb_height').show();
495
  jQuery('#compuct_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'horizontal') ? 'checked' : ''; ?> /><label for="compuct_album_mosaic_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
496
 
497
+
498
+ </td>
499
+ </tr>
500
+ <tr id="tr_compuct_album_resizable_mosaic">
501
+ <td title="<?php _e("Mosaic thumbnails do not have fixed size, but are proportional to the width of the parent container. This option keeps thumbs to look nice when viewed with very large or very small screen. Prevents zooming of thumbs.<br /><br />This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label for="compuct_album_resizable_mosaic"><?php _e("Resizable mosaic", 'bwg_back'); ?></label></td>
502
+ <td>
503
+ <input disabled="disabled" type="radio" name="compuct_album_resizable_mosaic" id="compuct_album_resizable_mosaic_1" value="1" <?php echo ($wd_bwg_options->resizable_mosaic == 1) ? 'checked' : ''; ?> /><label for="compuct_album_resizable_mosaic_1"><?php _e('Yes', 'bwg_back'); ?></label>
504
+ <input disabled="disabled" type="radio" name="compuct_album_resizable_mosaic" id="compuct_album_resizable_mosaic_0" value="0" <?php echo ($wd_bwg_options->resizable_mosaic == 0) ? 'checked' : ''; ?> /><label for="compuct_album_resizable_mosaic_0"><?php _e('No', 'bwg_back'); ?></label>
505
+ <br />
506
+ </td>
507
+ </tr>
508
+ <tr id="tr_compuct_album_mosaic_total_width">
509
+ <td title="<?php _e("Percentage of container's width", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_mosaic_total_width"><?php _e("Total width of mosaic:", 'bwg_back'); ?> </label></td>
510
+ <td><input type="text" name="compuct_album_mosaic_total_width" id="compuct_album_mosaic_total_width" value="<?php echo $wd_bwg_options->mosaic_total_width; ?>" class="spider_int_input" /> <?php _e("percent", 'bwg_back'); ?></td>
511
+ </tr>
512
+ <tr id="tr_compuct_album_image_column_number">
513
+ <td class="spider_label"><label for="compuct_album_image_column_number"><?php _e("Max. number of image columns: ", 'bwg_back'); ?></label></td>
514
+ <td><input type="text" name="compuct_album_image_column_number" id="compuct_album_image_column_number" value="<?php echo $wd_bwg_options->image_column_number; ?>" class="spider_int_input" /></td>
515
+ </tr>
516
+ <tr id="tr_compuct_album_images_per_page">
517
+ <td title="<?php _e("If you want to display all images you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
518
+ <td><input type="text" name="compuct_album_images_per_page" id="compuct_album_images_per_page" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
519
+ </tr>
520
+ <tr id="tr_compuct_album_image_title">
521
+ <td class="spider_label"><label><?php _e("Image title:", 'bwg_back'); ?> </label></td>
522
+ <td>
523
+ <input type="radio" name="compuct_album_image_title" id="compuct_album_image_title_hover" value="hover" <?php echo ($wd_bwg_options->image_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="compuct_album_image_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
524
+ <input type="radio" name="compuct_album_image_title" id="compuct_album_image_title_show" value="show" <?php echo ($wd_bwg_options->image_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="compuct_album_image_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
525
+ <input type="radio" name="compuct_album_image_title" id="compuct_album_image_title_none" value="none" <?php echo ($wd_bwg_options->image_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="compuct_album_image_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
526
+ </td>
527
+ </tr>
528
+ <tr id="tr_compuct_album_image_thumb_width_height">
529
+ <td title="<?php _e("Maximum values for thumbnail width and height.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_album_image_thumb_width" id="compuct_album_image_thumb_dimensions"><?php _e("Image thumbnail dimensions: ", 'bwg_back'); ?></label></td>
530
+ <td>
531
+ <input type="text" name="compuct_album_image_thumb_width" id="compuct_album_image_thumb_width" value="<?php echo $wd_bwg_options->thumb_width; ?>" class="spider_int_input" /><span id="compuct_album_image_thumb_dimensions_x" > x </span>
532
+ <input type="text" name="compuct_album_image_thumb_height" id="compuct_album_image_thumb_height" value="<?php echo $wd_bwg_options->thumb_height; ?>" class="spider_int_input" /> px
533
+ </td>
534
+ </tr>
535
+ <tr id="tr_compuct_album_enable_page">
536
+ <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
537
+ <td>
538
+ <input type="radio" name="compuct_album_enable_page" class="hide_load_count" id="compuct_album_page_yes" value="1" <?php echo ($wd_bwg_options->album_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="compuct_album_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
539
+ <input type="radio" name="compuct_album_enable_page" class="hide_load_count" id="compuct_album_page_no" value="0" <?php echo ($wd_bwg_options->album_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="compuct_album_page_no"><?php _e('No', 'bwg_back'); ?></label>
540
+ <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_loadmore" value="2" <?php echo ($wd_bwg_options->album_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="compuct_album_page_loadmore"><?php _e("Load More", 'bwg_back'); ?></label>
541
+ <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_scrol_load" value="3" <?php echo ($wd_bwg_options->album_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="compuct_album_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?></label>
542
+ </td>
543
+ </tr>
544
+ <tr id="tr_compuct_albums_per_page_load_more">
545
+ <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="compuct_albums_per_page_load_more"><?php _e("Albums per load:", 'bwg_back'); ?> </label></td>
546
+ <td><input type="text" name="compuct_albums_per_page_load_more" id="compuct_albums_per_page_load_more" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
547
+ </tr>
548
+ <tr id="tr_compuct_album_load_more_image_count">
549
+ <td class="spider_label"><label for="compuct_album_load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
550
+ <td><input type="text" name="compuct_album_load_more_image_count" id="compuct_album_load_more_image_count" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
551
+ </tr>
552
 
553
+ <!--Extended Album view-->
554
+ <tr id="tr_extended_albums_per_page">
555
+ <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="extended_albums_per_page"><?php _e("Albums per page:", 'bwg_back'); ?> </label></td>
556
+ <td><input type="text" name="extended_albums_per_page" id="extended_albums_per_page" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
557
+ </tr>
558
+ <tr id="tr_extended_album_height">
559
+ <td class="spider_label"><label for="extended_album_height"><?php _e("Album row height:", 'bwg_back'); ?> </label></td>
560
+ <td><input type="text" name="extended_album_height" id="extended_album_height" value="<?php echo $wd_bwg_options->extended_album_height; ?>" class="spider_int_input" /> px</td>
561
+ </tr>
562
+ <tr id="tr_extended_album_description_enable">
563
+ <td title="<?php _e("If you disable description only the title of the album will be displayed.", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable album description:", 'bwg_back'); ?> </label></td>
564
+ <td>
565
+ <input type="radio" name="extended_album_description_enable" id="extended_album_description_yes" value="1" <?php echo ($wd_bwg_options->extended_album_description_enable) ? 'checked' : ''; ?> /><label for="extended_album_description_yes"><?php _e('Yes', 'bwg_back'); ?></label>
566
+ <input type="radio" name="extended_album_description_enable" id="extended_album_description_no" value="0" <?php echo ($wd_bwg_options->extended_album_description_enable) ? '' : 'checked'; ?> /><label for="extended_album_description_no"><?php _e('No', 'bwg_back'); ?></label>
567
+ </td>
568
+ </tr>
569
+ <tr id="tr_extended_album_thumb_width_height">
570
+ <td title="<?php _e("Maximum values for album thumb width and height.", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_thumb_width"><?php _e("Album thumbnail dimensions:", 'bwg_back'); ?> </label></td>
571
+ <td>
572
+ <input type="text" name="extended_album_thumb_width" id="extended_album_thumb_width" value="<?php echo $wd_bwg_options->album_thumb_width; ?>" class="spider_int_input" /> x
573
+ <input type="text" name="extended_album_thumb_height" id="extended_album_thumb_height" value="<?php echo $wd_bwg_options->album_thumb_height; ?>" class="spider_int_input" /> px
574
+ </td>
575
+ </tr>
576
+ <tr id="tr_extended_album_view_type">
577
+ <td title="<?php _e("The gallery images view type in the album.", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Album view type:", 'bwg_back'); ?> </label></td>
578
+ <td>
579
+ <input disabled="disabled" type="radio" name="extended_album_view_type" id="extended_album_view_type_1" value="thumbnail" <?php if ($wd_bwg_options->album_view_type == "thumbnail") echo 'checked="checked"'; ?> onchange="bwg_change_extended_album_view_type()" /><label for="extended_album_view_type_1"><?php _e("Thumbnail", 'bwg_back'); ?></label>
580
+ <input disabled="disabled" type="radio" name="extended_album_view_type" id="extended_album_view_type_0" value="masonry" <?php if ($wd_bwg_options->album_view_type == "masonry") echo 'checked="checked"'; ?> onchange="bwg_change_extended_album_view_type()" /><label for="extended_album_view_type_0"><?php _e("Masonry", 'bwg_back'); ?></label>
581
+ <input disabled="disabled" type="radio" name="extended_album_view_type" id="extended_album_view_type_2" value="mosaic" <?php if ($wd_bwg_options->album_view_type == "mosaic") echo 'checked="checked"'; ?> onchange="bwg_change_extended_album_view_type()" /><label for="extended_album_view_type_2"><?php _e("Mosaic", 'bwg_back'); ?></label>
582
+ </td>
583
+ </tr>
584
+ <tr id="tr_extended_album_mosaic_hor_ver">
585
+ <td title="<?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Mosaic:", 'bwg_back'); ?> </label></td>
586
+ <td>
587
+ <input disabled="disabled" type="radio" name="extended_album_mosaic_hor_ver" id="extended_album_mosaic_ver" value="vertical" onclick="bwg_change_label('extended_album_image_column_number', 'Number of image rows: ');
588
  bwg_change_label('extended_album_image_thumb_dimensions', '<?php _e("Image thumbnail width: ", 'bwg_back'); ?>');
589
  jQuery('#extended_album_image_thumb_width').show();
590
  jQuery('#extended_album_image_thumb_height').hide();
591
  jQuery('#extended_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'vertical') ? 'checked' : ''; ?> /><label for="extended_album_mosaic_ver"><?php _e("Vertical", 'bwg_back'); ?></label>
592
+ <input disabled="disabled" type="radio" name="extended_album_mosaic_hor_ver" id="extended_album_mosaic_hor" value="horizontal" onclick="bwg_change_label('extended_album_image_column_number', '<?php _e("Max. number of image columns:", 'bwg_back'); ?> ');
593
  bwg_change_label('extended_album_image_thumb_dimensions', '<?php _e("Image thumbnail height: ", 'bwg_back'); ?>');
594
  jQuery('#extended_album_image_thumb_width').hide();
595
  jQuery('#extended_album_image_thumb_height').show();
596
  jQuery('#extended_album_image_thumb_dimensions_x').hide();" <?php echo ($wd_bwg_options->mosaic == 'horizontal') ? 'checked' : ''; ?> /><label for="extended_album_mosaic_hor"><?php _e("Horizontal", 'bwg_back'); ?></label>
597
 
598
+
599
+ </td>
600
+ </tr>
601
+ <tr id="tr_extended_album_resizable_mosaic">
602
+ <td title="<?php _e("Mosaic thumbnails do not have fixed size, but are proportional to the width of the parent container. This option keeps thumbs to look nice when viewed with very large or very small screen. Prevents zooming of thumbs.<br /><br />This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label for="extended_album_resizable_mosaic"><?php _e("Resizable mosaic:", 'bwg_back'); ?> </label></td>
603
+ <td>
604
+ <input disabled="disabled" type="radio" name="extended_album_resizable_mosaic" id="extended_album_resizable_mosaic_1" value="1" <?php echo ($wd_bwg_options->resizable_mosaic == 1) ? 'checked' : ''; ?> /><label for="extended_album_resizable_mosaic_1"><?php _e('Yes', 'bwg_back'); ?></label>
605
+ <input disabled="disabled" type="radio" name="extended_album_resizable_mosaic" id="extended_album_resizable_mosaic_0" value="0" <?php echo ($wd_bwg_options->resizable_mosaic == 0) ? 'checked' : ''; ?> /><label for="extended_album_resizable_mosaic_0"><?php _e('No', 'bwg_back'); ?></label>
606
+ <br />
607
+ </td>
608
+ </tr>
609
+ <tr id="tr_extended_album_mosaic_total_width">
610
+ <td title="<?php _e("Percentage of container's width", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_mosaic_total_width"><?php _e("Total width of mosaic:", 'bwg_back'); ?> </label></td>
611
+ <td><input type="text" name="extended_album_mosaic_total_width" id="extended_album_mosaic_total_width" value="<?php echo $wd_bwg_options->mosaic_total_width; ?>" class="spider_int_input" /> <?php _e("percent", 'bwg_back'); ?></td>
612
+ </tr>
613
+ <tr id="tr_extended_album_image_column_number">
614
+ <td class="spider_label"><label for="extended_album_image_column_number"><?php _e("Max. number of image columns:", 'bwg_back'); ?> </label></td>
615
+ <td><input type="text" name="extended_album_image_column_number" id="extended_album_image_column_number" value="<?php echo $wd_bwg_options->image_column_number; ?>" class="spider_int_input" /></td>
616
+ </tr>
617
+ <tr id="tr_extended_album_images_per_page">
618
+ <td title="<?php _e("If you want to display all images you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
619
+ <td><input type="text" name="extended_album_images_per_page" id="extended_album_images_per_page" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
620
+ </tr>
621
+ <tr id="tr_extended_album_image_title">
622
+ <td class="spider_label"><label><?php _e("Image title:", 'bwg_back'); ?> </label></td>
623
+ <td>
624
+ <input type="radio" name="extended_album_image_title" id="extended_album_image_title_hover" value="hover" <?php echo ($wd_bwg_options->image_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="extended_album_image_title_hover"><?php _e("Show on hover", 'bwg_back'); ?></label><br />
625
+ <input type="radio" name="extended_album_image_title" id="extended_album_image_title_show" value="show" <?php echo ($wd_bwg_options->image_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="extended_album_image_title_show"><?php _e("Always show", 'bwg_back'); ?></label><br />
626
+ <input type="radio" name="extended_album_image_title" id="extended_album_image_title_none" value="none" <?php echo ($wd_bwg_options->image_title_show_hover == 'none') ? 'checked' : ''; ?> /><label for="extended_album_image_title_none"><?php _e("Don't show", 'bwg_back'); ?></label>
627
+ </td>
628
+ </tr>
629
+ <tr id="tr_extended_album_image_thumb_width_height">
630
+ <td title="<?php _e("Maximum values for thumbnail width and height.", 'bwg_back'); ?>" class="spider_label"><label for="extended_album_image_thumb_width" id="extended_album_image_thumb_dimensions"><?php _e("Image Thumbnail dimensions:", 'bwg_back'); ?> </label></td>
631
+ <td>
632
+ <input type="text" name="extended_album_image_thumb_width" id="extended_album_image_thumb_width" value="<?php echo $wd_bwg_options->thumb_width; ?>" class="spider_int_input" /><span id="extended_album_image_thumb_dimensions_x" > x </span>
633
+ <input type="text" name="extended_album_image_thumb_height" id="extended_album_image_thumb_height" value="<?php echo $wd_bwg_options->thumb_height; ?>" class="spider_int_input" /> px
634
+ </td>
635
+ </tr>
636
+ <tr id="tr_extended_album_enable_page">
637
+ <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
638
+ <td>
639
+ <input type="radio" name="extended_album_enable_page" id="extended_album_page_yes" value="1" <?php echo ($wd_bwg_options->album_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
640
+ <input type="radio" name="extended_album_enable_page" id="extended_album_page_no" value="0" <?php echo ($wd_bwg_options->album_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_no"><?php _e('No', 'bwg_back'); ?></label>
641
+ <input type="radio" name="extended_album_enable_page" id="extended_album_page_loadmore" value="2" <?php echo ($wd_bwg_options->album_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_loadmore"><?php _e("Load More", 'bwg_back'); ?></label>
642
+ <input type="radio" name="extended_album_enable_page" id="extended_album_page_scrol_load" value="3" <?php echo ($wd_bwg_options->album_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()"/><label for="extended_album_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?> </label>
643
+ </td>
644
+ </tr>
645
+ <tr id="tr_extended_albums_per_page_load_more">
646
+ <td title="<?php _e("If you want to display all albums you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="extended_albums_per_page_load_more"><?php _e("Albums per load:", 'bwg_back'); ?> </label></td>
647
+ <td><input type="text" name="extended_albums_per_page_load_more" id="extended_albums_per_page_load_more" value="<?php echo $wd_bwg_options->albums_per_page; ?>" class="spider_int_input" /></td>
648
+ </tr>
649
+ <tr id="tr_extended_album_load_more_image_count">
650
+ <td class="spider_label"><label for="extended_album_load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
651
+ <td><input type="text" name="extended_album_load_more_image_count" id="extended_album_load_more_image_count" value="<?php echo $wd_bwg_options->images_per_page; ?>" class="spider_int_input" /></td>
652
+ </tr>
 
653
 
654
+ <!--Image Browser view-->
655
+ <tr id="tr_image_browser_width_height">
656
+ <td title="<?php _e("Maximum value for image width.", 'bwg_back'); ?>" class="spider_label"><label for="image_browser_width"><?php _e("Image width: ", 'bwg_back'); ?></label></td>
657
+ <td>
658
+ <input type="text" name="image_browser_width" id="image_browser_width" value="<?php echo $wd_bwg_options->image_browser_width; ?>" class="spider_int_input" /> px
659
+ </td>
660
+ </tr>
661
+ <tr id="tr_image_browser_title_enable">
662
+ <td class="spider_label"><label><?php _e("Enable image title:", 'bwg_back'); ?> </label></td>
663
+ <td>
664
+ <input type="radio" name="image_browser_title_enable" id="image_browser_title_yes" value="1" <?php echo ($wd_bwg_options->image_browser_title_enable) ? 'checked' : ''; ?> /><label for="image_browser_title_es"><?php _e('Yes', 'bwg_back'); ?></label>
665
+ <input type="radio" name="image_browser_title_enable" id="image_browser_title_no" value="0" <?php echo ($wd_bwg_options->image_browser_title_enable) ? '' : 'checked'; ?> /><label for="image_browser_title_no"><?php _e('No', 'bwg_back'); ?></label>
666
+ </td>
667
+ </tr>
668
+ <tr id="tr_image_browser_description_enable">
669
+ <td class="spider_label"><label><?php _e("Enable image description:", 'bwg_back'); ?> </label></td>
670
+ <td>
671
+ <input type="radio" name="image_browser_description_enable" id="image_browser_description_yes" value="1" <?php echo ($wd_bwg_options->image_browser_description_enable) ? 'checked' : ''; ?> /><label for="image_browser_description_yes"><?php _e('Yes', 'bwg_back'); ?></label>
672
+ <input type="radio" name="image_browser_description_enable" id="image_browser_description_no" value="0" <?php echo ($wd_bwg_options->image_browser_description_enable) ? '' : 'checked'; ?> /><label for="image_browser_description_no"><?php _e('No', 'bwg_back'); ?></label>
673
+ </td>
674
+ </tr>
675
 
676
+ <!--Blog Style view-->
677
+ <tr id="tr_blog_style_width_height">
678
+ <td title="<?php _e("Maximum value for image width.", 'bwg_back'); ?>" class="spider_label"><label for="blog_style_width"><?php _e("Image width:", 'bwg_back'); ?> </label></td>
679
+ <td>
680
+ <input type="text" name="blog_style_width" id="blog_style_width" value="<?php echo $wd_bwg_options->blog_style_width; ?>" class="spider_int_input" /> px
681
+ </td>
682
+ </tr>
683
+ <tr id="tr_blog_style_title_enable">
684
+ <td class="spider_label"><label><?php _e("Enable image title:", 'bwg_back'); ?> </label></td>
685
+ <td>
686
+ <input type="radio" name="blog_style_title_enable" id="blog_style_title_yes" value="1" <?php echo ($wd_bwg_options->blog_style_title_enable) ? 'checked' : ''; ?> /><label for="blog_style_title_es"><?php _e('Yes', 'bwg_back'); ?></label>
687
+ <input type="radio" name="blog_style_title_enable" id="blog_style_title_no" value="0" <?php echo ($wd_bwg_options->blog_style_title_enable) ? '' : 'checked'; ?> /><label for="blog_style_title_no"><?php _e('No', 'bwg_back'); ?></label>
688
+ </td>
689
+ </tr>
690
+ <tr id="tr_blog_style_images_per_page">
691
+ <td title="<?php _e("If you want to display all images you should leave it blank or insert 0.", 'bwg_back'); ?>" class="spider_label"><label for="blog_style_images_per_page"><?php _e("Images per page:", 'bwg_back'); ?> </label></td>
692
+ <td><input type="text" name="blog_style_images_per_page" id="blog_style_images_per_page" value="<?php echo $wd_bwg_options->blog_style_images_per_page; ?>" class="spider_int_input" /></td>
693
+ </tr>
694
+ <tr id="tr_blog_style_enable_page">
695
+ <td class="spider_label"><label><?php _e("Enable pagination:", 'bwg_back'); ?> </label></td>
696
+ <td>
697
+ <input type="radio" name="blog_style_enable_page" id="blog_style_page_yes" value="1" <?php echo ($wd_bwg_options->blog_style_enable_page == '1') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_yes"><?php _e('Yes', 'bwg_back'); ?></label>
698
+ <input type="radio" name="blog_style_enable_page" id="blog_style_page_no" value="0" <?php echo ($wd_bwg_options->blog_style_enable_page == '0') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_no"><?php _e('No', 'bwg_back'); ?></label>
699
+ <input type="radio" name="blog_style_enable_page" id="blog_style_page_loadmore" value="2" <?php echo ($wd_bwg_options->blog_style_enable_page == '2') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_loadmore">Load more</label>
700
+ <input type="radio" name="blog_style_enable_page" id="blog_style_page_scrol_load" value="3" <?php echo ($wd_bwg_options->blog_style_enable_page == '3') ? 'checked' : ''; ?> onchange="bwg_loadmore()" /><label for="blog_style_page_scrol_load"><?php _e("Scroll Load", 'bwg_back'); ?> </label>
701
+ </td>
702
+ </tr>
703
+ <tr id="tr_blog_style_load_more_image_count">
704
+ <td class="spider_label"><label for="blog_style_load_more_image_count"><?php _e("Images per load:", 'bwg_back'); ?> </label></td>
705
+ <td><input type="text" name="blog_style_load_more_image_count" id="blog_style_load_more_image_count" value="<?php echo $wd_bwg_options->blog_style_images_per_page; ?>" class="spider_int_input" /></td>
706
+ </tr>
707
+ <tr id="tr_enable_slideshow_autoplay">
708
+ <td class="spider_label"><label><?php _e("Enable Autoplay:", 'bwg_back'); ?> </label></td>
709
+ <td>
710
+ <input type="radio" name="enable_slideshow_autoplay" id="slideshow_autoplay_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_autoplay) ? 'checked' : ''; ?> /><label for="slideshow_autoplay_yes"><?php _e('Yes', 'bwg_back'); ?></label>
711
+ <input type="radio" name="enable_slideshow_autoplay" id="slideshow_autoplay_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_autoplay) ? '' : 'checked'; ?> /><label for="slideshow_autoplay_no"><?php _e('No', 'bwg_back'); ?></label>
712
+ </td>
713
+ </tr>
714
+ <tr id="tr_enable_slideshow_shuffle">
715
+ <td class="spider_label"><label><?php _e("Enable Shuffle:", 'bwg_back'); ?> </label></td>
716
+ <td>
717
+ <input type="radio" name="enable_slideshow_shuffle" id="slideshow_shuffle_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_shuffle) ? 'checked' : ''; ?> /><label for="slideshow_shuffle_yes"><?php _e('Yes', 'bwg_back'); ?></label>
718
+ <input type="radio" name="enable_slideshow_shuffle" id="slideshow_shuffle_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_shuffle) ? '' : 'checked'; ?> /><label for="slideshow_shuffle_no"><?php _e('No', 'bwg_back'); ?></label>
719
+ </td>
720
+ </tr>
721
+ <tr id="tr_enable_slideshow_ctrl">
722
+ <td class="spider_label"><label><?php _e("Enable control buttons:", 'bwg_back'); ?> </label></td>
723
+ <td>
724
+ <input type="radio" name="enable_slideshow_ctrl" id="slideshow_ctrl_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_ctrl) ? 'checked' : ''; ?> /><label for="slideshow_ctrl_yes"><?php _e('Yes', 'bwg_back'); ?></label>
725
+ <input type="radio" name="enable_slideshow_ctrl" id="slideshow_ctrl_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_ctrl) ? '' : 'checked'; ?> /><label for="slideshow_ctrl_no"><?php _e('No', 'bwg_back'); ?></label>
726
+ </td>
727
+ </tr>
728
+ <tr id="tr_enable_slideshow_filmstrip">
729
+ <td title="<?php _e("Enable slideshow filmstrip view", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable slideshow filmstrip:", 'bwg_back'); ?> </label></td>
730
+ <td>
731
+ <input disabled="disabled" type="radio" name="enable_slideshow_filmstrip" id="slideshow_filmstrip_yes" value="1" onClick="bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_filmstrip_yes')" <?php echo ($wd_bwg_options->slideshow_enable_filmstrip) ? 'checked' : ''; ?> /><label for="slideshow_filmstrip_yes"><?php _e('Yes', 'bwg_back'); ?></label>
732
+ <input disabled="disabled" type="radio" name="enable_slideshow_filmstrip" id="slideshow_filmstrip_no" value="0" onClick="bwg_enable_disable('none', 'tr_slideshow_filmstrip_height', 'slideshow_filmstrip_no')" <?php echo ($wd_bwg_options->slideshow_enable_filmstrip) ? '' : 'checked'; ?> /><label for="slideshow_filmstrip_no"><?php _e('No', 'bwg_back'); ?></label>
733
+ </td>
734
+ </tr>
735
+ <tr id="tr_slideshow_filmstrip_height">
736
+ <td class="spider_label spider_free_version_label"><label for="slideshow_filmstrip_height"><?php _e("Slideshow Filmstrip size:", 'bwg_back'); ?> </label></td>
737
+ <td class="spider_free_version_label"><input disabled="disabled" type="text" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo $wd_bwg_options->slideshow_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px</td>
738
+ </tr>
739
+ <tr id="tr_slideshow_enable_title">
740
+ <td class="spider_label"><label><?php _e("Enable Image Title:", 'bwg_back'); ?> </label></td>
741
+ <td>
742
+ <input type="radio" name="slideshow_enable_title" id="slideshow_title_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_title) ? 'checked' : ''; ?> onClick="bwg_enable_disable('', 'tr_slideshow_title_position', 'slideshow_title_yes')" /><label for="slideshow_title_yes"><?php _e('Yes', 'bwg_back'); ?></label>
743
+ <input type="radio" name="slideshow_enable_title" id="slideshow_title_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_title) ? '' : 'checked'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_title_position', 'slideshow_title_no')" /><label for="slideshow_title_no"><?php _e('No', 'bwg_back'); ?></label>
744
+ </td>
745
+ </tr>
746
+ <tr id="tr_slideshow_title_position">
747
+ <td title="<?php _e("Image title position on slideshow", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Title Position:", 'bwg_back'); ?> </label></td>
748
+ <td>
749
+ <table class="bws_position_table">
750
+ <tbody>
751
+ <tr>
752
+ <td><input type="radio" value="top-left" id="slideshow_title_top-left" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'top-left') ? 'checked' : ''; ?>></td>
753
+ <td><input type="radio" value="top-center" id="slideshow_title_top-center" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'top-center') ? 'checked' : ''; ?>></td>
754
+ <td><input type="radio" value="top-right" id="slideshow_title_top-right" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'top-right') ? 'checked' : ''; ?>></td>
755
+ </tr>
756
+ <tr>
757
+ <td><input type="radio" value="middle-left" id="slideshow_title_middle-left" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'middle-left') ? 'checked' : ''; ?>></td>
758
+ <td><input type="radio" value="middle-center" id="slideshow_title_middle-center" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'middle-center') ? 'checked' : ''; ?>></td>
759
+ <td><input type="radio" value="middle-right" id="slideshow_title_middle-right" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'middle-right') ? 'checked' : ''; ?>></td>
760
+ </tr>
761
+ <tr>
762
+ <td><input type="radio" value="bottom-left" id="slideshow_title_bottom-left" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'bottom-left') ? 'checked' : ''; ?>></td>
763
+ <td><input type="radio" value="bottom-center" id="slideshow_title_bottom-center" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'bottom-center') ? 'checked' : ''; ?>></td>
764
+ <td><input type="radio" value="bottom-right" id="slideshow_title_bottom-right" name="slideshow_title_position" <?php echo ($wd_bwg_options->slideshow_title_position == 'bottom-right') ? 'checked' : ''; ?>></td>
765
+ </tr>
766
+ </tbody>
767
+ </table>
768
+ </td>
769
+ </tr>
770
+ <tr id="tr_slideshow_full_width_title">
771
+ <td title="<?php _e("Display image title based on the slideshow dimensions.", 'bwg_back'); ?>" class="spider_label">
772
+ <label><?php _e("Full width title:", 'bwg_back'); ?></label>
773
+ </td>
774
+ <td>
775
+ <input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_1" value="1" <?php if ($wd_bwg_options->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_1"><?php _e('Yes', 'bwg_back'); ?></label>
776
+ <input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_0" value="0" <?php if (!$wd_bwg_options->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_0"><?php _e('No', 'bwg_back'); ?></label>
777
+ </td>
778
+ </tr>
779
+ <tr id="tr_slideshow_enable_description">
780
+ <td class="spider_label"><label><?php _e("Enable Image Description:", 'bwg_back'); ?> </label></td>
781
+ <td>
782
+ <input type="radio" name="slideshow_enable_description" id="slideshow_description_yes" value="1" <?php echo ($wd_bwg_options->slideshow_enable_description) ? 'checked' : ''; ?> onClick="bwg_enable_disable('', 'tr_slideshow_description_position', 'slideshow_description_yes')" /><label for="slideshow_description_yes"><?php _e('Yes', 'bwg_back'); ?></label>
783
+ <input type="radio" name="slideshow_enable_description" id="slideshow_description_no" value="0" <?php echo ($wd_bwg_options->slideshow_enable_description) ? '' : 'checked'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_description_position', 'slideshow_description_no')" /><label for="slideshow_description_no"><?php _e('No', 'bwg_back'); ?></label>
784
+ </td>
785
+ </tr>
786
+ <tr id="tr_slideshow_description_position">
787
+ <td title="<?php _e("Image description position on slideshow", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Description Position: ", 'bwg_back'); ?></label></td>
788
+ <td>
789
+ <table class="bws_position_table">
790
+ <tbody>
791
+ <tr>
792
+ <td><input type="radio" value="top-left" id="slideshow_description_top-left" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'top-left') ? 'checked' : ''; ?>></td>
793
+ <td><input type="radio" value="top-center" id="slideshow_description_top-center" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'top-center') ? 'checked' : ''; ?>></td>
794
+ <td><input type="radio" value="top-right" id="slideshow_description_top-right" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'top-right') ? 'checked' : ''; ?>></td>
795
+ </tr>
796
+ <tr>
797
+ <td><input type="radio" value="middle-left" id="slideshow_description_middle-left" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'middle-left') ? 'checked' : ''; ?>></td>
798
+ <td><input type="radio" value="middle-center" id="slideshow_description_middle-center" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'middle-center') ? 'checked' : ''; ?>></td>
799
+ <td><input type="radio" value="middle-right" id="slideshow_description_middle-right" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'middle-right') ? 'checked' : ''; ?>></td>
800
+ </tr>
801
+ <tr>
802
+ <td><input type="radio" value="bottom-left" id="slideshow_description_bottm-Left" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'bottom-left') ? 'checked' : ''; ?>></td>
803
+ <td><input type="radio" value="bottom-center" id="slideshow_description_bottom-center" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'bottom-center') ? 'checked' : ''; ?>></td>
804
+ <td><input type="radio" value="bottom-right" id="slideshow_description_bottm-right" name="slideshow_description_position" <?php echo ($wd_bwg_options->slideshow_description_position == 'bottom-right') ? 'checked' : ''; ?>></td>
805
+ </tr>
806
+ </tbody>
807
+ </table>
808
+ </td>
809
+ </tr>
810
+ <tr id="tr_enable_slideshow_music">
811
+ <td class="spider_label"><label><?php _e("Enable Slideshow Music:", 'bwg_back'); ?> </label></td>
812
+ <td>
813
+ <input type="radio" name="enable_slideshow_music" id="slideshow_music_yes" value="1" onClick="bwg_enable_disable('', 'tr_slideshow_music_url', 'slideshow_music_yes')" <?php echo ($wd_bwg_options->slideshow_enable_music) ? 'checked' : ''; ?> /><label for="slideshow_music_yes"><?php _e('Yes', 'bwg_back'); ?></label>
814
+ <input type="radio" name="enable_slideshow_music" id="slideshow_music_no" value="0" onClick="bwg_enable_disable('none', 'tr_slideshow_music_url', 'slideshow_music_no')" <?php echo ($wd_bwg_options->slideshow_enable_music) ? '' : 'checked'; ?> /><label for="slideshow_music_no"><?php _e('No', 'bwg_back'); ?></label>
815
+ </td>
816
+ </tr>
817
+ <tr id="tr_slideshow_music_url">
818
+ <td title="<?php _e("Enter absolute audio file url or add file from Options page.", 'bwg_back'); ?>" class="spider_label">
819
+ <label for="slideshow_music_url"><?php _e("Music url:", 'bwg_back'); ?> </label>
820
+ </td>
821
+ <td>
822
+ <input type="text" id="slideshow_music_url" name="slideshow_music_url" value="<?php echo $wd_bwg_options->slideshow_audio_url; ?>" style="display:inline-block;" />
823
+ </td>
824
+ </tr>
825
+ </tbody>
826
+ </table>
827
+ </div>
828
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
829
  </div>
830
+ </div>
831
+ <div class="bwg_short_div type_slideshow" style="border-right: 1px solid #000000;">
832
+ <div style="display:table;width:100%;">
833
  <!--Lightbox view-->
834
+ <div style="display:table-cell;">
835
+ <div class="lightbox_option_left">
836
+ <table style="display:inline-block;">
837
+ <tbody id="tbody_popup_other">
838
+ <tr id="tr_thumb_click_action">
839
+ <td class="spider_label"><label><?php _e("Image click action:", 'bwg_back'); ?> </label></td>
840
+ <td>
841
+ <input type="radio" name="thumb_click_action" id="thumb_click_action_1" value="open_lightbox" <?php if ($wd_bwg_options->thumb_click_action == 'open_lightbox') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_1"><?php _e("Open lightbox", 'bwg_back'); ?></label><br />
842
+ <input type="radio" name="thumb_click_action" id="thumb_click_action_2" value="redirect_to_url" <?php if ($wd_bwg_options->thumb_click_action == 'redirect_to_url') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_2"><?php _e("Redirect to url", 'bwg_back'); ?></label><br />
843
+ <input type="radio" name="thumb_click_action" id="thumb_click_action_3" value="do_nothing" <?php if ($wd_bwg_options->thumb_click_action == 'do_nothing') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_3"><?php _e("Do Nothing", 'bwg_back'); ?></label>
844
+ </td>
845
+ </tr>
846
+ <tr id="tr_thumb_link_target">
847
+ <td title="<?php _e("Open new window when redirecting.", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Open in new window:", 'bwg_back'); ?> </label></td>
848
+ <td>
849
+ <input type="radio" name="thumb_link_target" id="thumb_link_target_yes" value="1" <?php if ($wd_bwg_options->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_yes"><?php _e('Yes', 'bwg_back'); ?></label>
850
+ <input type="radio" name="thumb_link_target" id="thumb_link_target_no" value="0" <?php if (!$wd_bwg_options->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_no"><?php _e('No', 'bwg_back'); ?></label>
851
+ </td>
852
+ </tr>
853
+ </tbody>
854
+ <tbody id="tbody_popup">
855
+ <tr id="tr_popup_fullscreen">
856
+ <td title="<?php _e("Enable full width feature for the lightbox.", 'bwg_back'); ?>" class="spider_label">
857
+ <label><?php _e("Full width lightbox:", 'bwg_back'); ?></label>
858
+ </td>
859
+ <td>
860
+ <input type="radio" name="popup_fullscreen" id="popup_fullscreen_1" value="1" <?php if ($wd_bwg_options->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_popup_fullscreen()" /><label for="popup_fullscreen_1"><?php _e('Yes', 'bwg_back'); ?></label>
861
+ <input type="radio" name="popup_fullscreen" id="popup_fullscreen_0" value="0" <?php if (!$wd_bwg_options->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_popup_fullscreen()" /><label for="popup_fullscreen_0"><?php _e('No', 'bwg_back'); ?></label>
862
+ </td>
863
+ </tr>
864
+ <tr id="tr_popup_width_height">
865
+ <td title="<?php _e("Maximum values for lightbox width and height.", 'bwg_back'); ?>" class="spider_label"><label for="popup_width"><?php _e("Lightbox dimensions:", 'bwg_back'); ?> </label></td>
866
+ <td>
867
+ <input type="text" name="popup_width" id="popup_width" value="<?php echo $wd_bwg_options->popup_width; ?>" class="spider_int_input" /> x
868
+ <input type="text" name="popup_height" id="popup_height" value="<?php echo $wd_bwg_options->popup_height; ?>" class="spider_int_input" /> px
869
+ </td>
870
+ </tr>
871
+ <tr id="tr_popup_effect">
872
+ <td title="<?php _e("Lightbox slideshow effect.", 'bwg_back'); ?>" class="spider_label"><label for="popup_effect"><?php _e("Lightbox effect:", 'bwg_back'); ?> </label></td>
873
+ <td>
874
+ <select name="popup_effect" class="select_icon" id="popup_effect" style="width:150px;">
875
+ <?php
876
+ foreach ($effects as $key => $effect) {
877
+ ?>
878
+ <option value="<?php echo $key; ?>" <?php echo ($key != 'none' && $key != 'fade') ? 'disabled="disabled" title="This effect is disabled in free version."' : ''; ?> <?php echo ($wd_bwg_options->popup_type == $key) ? 'selected' : ''; ?>><?php echo __($effect,"bwg_back"); ?></option>
879
+ <?php
880
+ }
881
+ ?>
882
+ </select>
883
+ </td>
884
+ </tr>
885
+ <tr id="tr_popup_effect_duration">
886
+ <td title="<?php echo __("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="popup_effect_duration"><?php echo __('Effect duration:', 'bwg_back'); ?> </label></td>
887
+ <td><input type="text" name="popup_effect_duration" id="popup_effect_duration" value="<?php echo $wd_bwg_options->popup_effect_duration; ?>" class="spider_int_input" /> sec.</td>
888
+ </tr>
889
+ <tr id="tr_popup_autoplay">
890
+ <td class="spider_label">
891
+ <label><?php _e("Lightbox autoplay:", 'bwg_back'); ?> </label>
892
+ </td>
893
+ <td>
894
+ <input type="radio" name="popup_autoplay" id="popup_autoplay_1" value="1" <?php if ($wd_bwg_options->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_1"><?php _e('Yes', 'bwg_back'); ?></label>
895
+ <input type="radio" name="popup_autoplay" id="popup_autoplay_0" value="0" <?php if (!$wd_bwg_options->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_0"><?php _e('No', 'bwg_back'); ?></label>
896
+ </td>
897
+ </tr>
898
+ <tr id="tr_popup_interval">
899
+ <td title="<?php _e("Interval between two images.", 'bwg_back'); ?>" class="spider_label"><label for="popup_interval"><?php _e("Time interval:", 'bwg_back'); ?> </label></td>
900
+ <td><input type="text" name="popup_interval" id="popup_interval" value="<?php echo $wd_bwg_options->popup_interval; ?>" class="spider_int_input" /> sec.</td>
901
+ </tr>
902
+ <tr id="tr_popup_enable_filmstrip">
903
+ <td title="<?php _e("Enable filmstrip view for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable filmstrip in lightbox:", 'bwg_back'); ?> </label></td>
904
+ <td>
905
+ <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_yes" value="1" onClick="bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_filmstrip_yes')" <?php echo ($wd_bwg_options->popup_enable_filmstrip) ? 'checked' : ''; ?> /><label for="popup_filmstrip_yes"><?php _e('Yes', 'bwg_back'); ?></label>
906
+ <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_no" value="0" onClick="bwg_enable_disable('none', 'tr_popup_filmstrip_height', 'popup_filmstrip_no')" <?php echo ($wd_bwg_options->popup_enable_filmstrip) ? '' : 'checked'; ?> /><label for="popup_filmstrip_no"><?php _e('No', 'bwg_back'); ?></label>
907
+ </td>
908
+ </tr>
909
+ <tr id="tr_popup_filmstrip_height">
910
+ <td title="<?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label for="popup_filmstrip_height"><?php _e("Filmstrip size:", 'bwg_back'); ?> </label></td>
911
+ <td class="spider_free_version_label"><input disabled="disabled" type="text" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo $wd_bwg_options->popup_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px</td>
912
+ </tr>
913
+ <tr id="tr_popup_hit_counter">
914
+ <td title="<?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Display hit counter:", 'bwg_back'); ?> </label></td>
915
+ <td>
916
+ <input disabled="disabled" type="radio" name="popup_hit_counter" id="popup_hit_counter_yes" value="1" <?php echo ($wd_bwg_options->popup_hit_counter) ? 'checked' : ''; ?> /><label for="popup_hit_counter_yes"><?php _e('Yes', 'bwg_back'); ?></label>
917
+ <input disabled="disabled" type="radio" name="popup_hit_counter" id="popup_hit_counter_no" value="0" <?php echo ($wd_bwg_options->popup_hit_counter) ? '' : 'checked'; ?> /><label for="popup_hit_counter_no"><?php _e('No', 'bwg_back'); ?></label>
918
+ </td>
919
+ </tr>
920
+ </tbody>
921
+ </table>
922
+ </div>
923
+ <div class="lightbox_option_right">
924
+ <table style="display:inline-block;">
925
+ <tr id="tr_popup_enable_ctrl_btn">
926
+ <td title="<?php _e("Enable control buttons in lightbox", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable control buttons:", 'bwg_back'); ?> </label></td>
927
+ <td>
928
+ <input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_yes" value="1" onClick="bwg_enable_disable('', 'tbody_popup_ctrl_btn', 'popup_ctrl_btn_yes');" <?php echo ($wd_bwg_options->popup_enable_ctrl_btn) ? 'checked' : ''; ?> /><label for="popup_ctrl_btn_yes"><?php _e('Yes', 'bwg_back'); ?></label>
929
+ <input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_no" value="0" onClick="bwg_enable_disable('none', 'tbody_popup_ctrl_btn', 'popup_ctrl_btn_no');" <?php echo ($wd_bwg_options->popup_enable_ctrl_btn) ? '' : 'checked'; ?> /><label for="popup_ctrl_btn_no"><?php _e('No', 'bwg_back'); ?></label>
930
+ </td>
931
+ </tr>
932
+ <tbody id="tbody_popup_ctrl_btn">
933
+ <tr id="tr_popup_enable_fullscreen">
934
+ <td title="<?php _e("Enable fullscreen view for images", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable fullscreen:", 'bwg_back'); ?> </label></td>
935
+ <td>
936
+ <input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_fullscreen) ? 'checked' : ''; ?> /><label for="popup_fullscreen_yes"><?php _e('Yes', 'bwg_back'); ?></label>
937
+ <input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_no" value="0" <?php echo ($wd_bwg_options->popup_enable_fullscreen) ? '' : 'checked'; ?> /><label for="popup_fullscreen_no"><?php _e('No', 'bwg_back'); ?></label>
938
+ </td>
939
+ </tr>
940
+ <tr id="tr_popup_enable_info">
941
+ <td title="<?php _e("Enable title, description for images", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Enable info:", 'bwg_back'); ?> </label></td>
942
+ <td>
943
+ <input type="radio" name="popup_enable_info" id="popup_info_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_info) ? 'checked="checked"' : ''; ?> /><label for="popup_info_yes"><?php _e('Yes', 'bwg_back'); ?></label>
944
+ <input type="radio" name="popup_enable_info" id="popup_info_no" value="0" <?php echo ($wd_bwg_options->popup_enable_info) ? '' : 'checked="checked"'; ?> /><label for="popup_info_no"><?php _e('No', 'bwg_back'); ?></label>
945
+ </td>
946
+ </tr>
947
+ <tr id="tr_popup_info_always_show">
948
+ <td class="spider_label"><label><?php _e("Display info by default:", 'bwg_back'); ?> </label></td>
949
+ <td>
950
+ <input type="radio" name="popup_info_always_show" id="popup_info_always_show_yes" value="1" <?php echo ($wd_bwg_options->popup_info_always_show) ? 'checked="checked"' : ''; ?> /><label for="popup_info_always_show_yes"><?php _e('Yes', 'bwg_back'); ?></label>
951
+ <input type="radio" name="popup_info_always_show" id="popup_info_always_show_no" value="0" <?php echo ($wd_bwg_options->popup_info_always_show) ? '' : 'checked="checked"'; ?> /><label for="popup_info_always_show_no"><?php _e('No', 'bwg_back'); ?></label>
952
+ </td>
953
+ </tr>
954
+ <tr id="tr_popup_info_full_width">
955
+ <td title="<?php _e("Display image information based on the lightbox dimensions.", 'bwg_back'); ?>" class="spider_label"><label><?php _e("Full width info:", 'bwg_back'); ?></label></td>
956
+ <td>
957
+ <input type="radio" name="popup_info_full_width" id="popup_info_full_width_1" value="1" <?php if ($wd_bwg_options->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_1"><?php _e('Yes', 'bwg_back'); ?></label>
958
+ <input type="radio" name="popup_info_full_width" id="popup_info_full_width_0" value="0" <?php if (!$wd_bwg_options->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_0"><?php _e('No', 'bwg_back'); ?></label>
959
+ </td>
960
+ </tr>
961
+ <tr id="tr_popup_enable_rate">
962
+ <td title="<?php _e("Enable rating for images", 'bwg_back'); ?><br /><br />This option is disabled in free version." class="spider_label spider_free_version_label"><label><?php _e("Enable rating:", 'bwg_back'); ?> </label></td>
963
+ <td>
964
+ <input disabled="disabled" type="radio" name="popup_enable_rate" id="popup_rate_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_rate) ? 'checked="checked"' : ''; ?> /><label for="popup_rate_yes"><?php _e('Yes', 'bwg_back'); ?></label>
965
+ <input disabled="disabled" type="radio" name="popup_enable_rate" id="popup_rate_no" value="0" <?php echo ($wd_bwg_options->popup_enable_rate) ? '' : 'checked="checked"'; ?> /><label for="popup_rate_no"><?php _e('No', 'bwg_back'); ?></label>
966
+ </td>
967
+ </tr>
968
+ <tr id="tr_popup_enable_comment">
969
+ <td title="<?php _e("Enable comments for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable comments:", 'bwg_back'); ?> </label></td>
970
+ <td>
971
+ <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_comment_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_comment) ? 'checked' : ''; ?> /><label for="popup_comment_yes"><?php _e('Yes', 'bwg_back'); ?></label>
972
+ <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_comment_no" value="0" <?php echo ($wd_bwg_options->popup_enable_comment) ? '' : 'checked'; ?> /><label for="popup_comment_no"><?php _e('No', 'bwg_back'); ?></label>
973
+ </td>
974
+ </tr>
975
+ <tr id="tr_popup_enable_facebook">
976
+ <td title="<?php _e("Enable Facebook share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Facebook button:", 'bwg_back'); ?> </label></td>
977
+ <td>
978
+ <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_facebook_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_facebook) ? 'checked' : ''; ?> /><label for="popup_facebook_yes"><?php _e('Yes', 'bwg_back'); ?></label>
979
+ <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_facebook_no" value="0" <?php echo ($wd_bwg_options->popup_enable_facebook) ? '' : 'checked'; ?> /><label for="popup_facebook_no"><?php _e('No', 'bwg_back'); ?></label>
980
+ </td>
981
+ </tr>
982
+ <tr id="tr_popup_enable_twitter">
983
+ <td title="<?php _e("Enable Twitter share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Twitter button:", 'bwg_back'); ?> </label></td>
984
+ <td>
985
+ <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_twitter_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_twitter) ? 'checked' : ''; ?> /><label for="popup_twitter_yes"><?php _e('Yes', 'bwg_back'); ?></label>
986
+ <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_twitter_no" value="0" <?php echo ($wd_bwg_options->popup_enable_twitter) ? '' : 'checked'; ?> /><label for="popup_twitter_no"><?php _e('No', 'bwg_back'); ?></label>
987
+ </td>
988
+ </tr>
989
+ <tr id="tr_popup_enable_google">
990
+ <td title="<?php _e("Enable Google+ share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Google+ button:", 'bwg_back'); ?> </label></td>
991
+ <td>
992
+ <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_google_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_google) ? 'checked' : ''; ?> /><label for="popup_google_yes"><?php _e('Yes', 'bwg_back'); ?></label>
993
+ <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_google_no" value="0" <?php echo ($wd_bwg_options->popup_enable_google) ? '' : 'checked'; ?> /><label for="popup_google_no"><?php _e('No', 'bwg_back'); ?></label>
994
+ </td>
995
+ </tr>
996
+ <tr id="tr_popup_enable_pinterest">
997
+ <td title="<?php _e("Enable Pinterest share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Pinterest button:", 'bwg_back'); ?> </label></td>
998
+ <td>
999
+ <input disabled="disabled" type="radio" name="popup_enable_pinterest" id="popup_pinterest_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_pinterest) ? 'checked' : ''; ?> /><label for="popup_pinterest_yes"><?php _e('Yes', 'bwg_back'); ?></label>
1000
+ <input disabled="disabled" type="radio" name="popup_enable_pinterest" id="popup_pinterest_no" value="0" <?php echo ($wd_bwg_options->popup_enable_pinterest) ? '' : 'checked'; ?> /><label for="popup_pinterest_no"><?php _e('No', 'bwg_back'); ?></label>
1001
+ </td>
1002
+ </tr>
1003
+ <tr id="tr_popup_enable_tumblr">
1004
+ <td title="<?php _e("Enable Tumblr share button for images", 'bwg_back'); ?><br /><br /><?php _e("This option is disabled in free version.", 'bwg_back'); ?>" class="spider_label spider_free_version_label"><label><?php _e("Enable Tumblr button:", 'bwg_back'); ?> </label></td>
1005
+ <td>
1006
+ <input disabled="disabled" type="radio" name="popup_enable_tumblr" id="popup_tumblr_yes" value="1" <?php echo ($wd_bwg_options->popup_enable_tumblr) ? 'checked' : ''; ?> /><label for="popup_tumblr_yes"><?php _e('Yes', 'bwg_back'); ?></label>
1007
+ <input disabled="disabled" type="radio" name="popup_enable_tumblr" id="popup_tumblr_no" value="0" <?php echo ($wd_bwg_options->popup_enable_tumblr) ? '' : 'checked'; ?> /><label for="popup_tumblr_no"><?php _e('No', 'bwg_back'); ?></label>
1008
+ </td>
1009
+ </tr>
1010
+ </tbody>
1011
+ </table>
1012
+ </div>
1013
+ </div>
1014
+ </div>
1015
  </div>
1016
+ <div class="bwg_short_div type_advertisement">
1017
  <table>
1018
  <tbody>
1019
  <tr id="tr_watermark_type">
1125
  </div>
1126
  </div>
1127
  <div class="mceActionPanel">
 
 
 
1128
  <div style="float:right;">
1129
  <input type="button" id="insert" name="insert" value="<?php _e("Insert", 'bwg_back'); ?>" onClick="bwg_insert_shortcode('');" />
1130
  <input type="button" id="cancel" name="cancel" value="<?php _e("Cancel", 'bwg_back'); ?>" onClick="tinyMCEPopup.close();" />
1131
  </div>
1132
+ <div style="float:left;">
1133
+ <a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="http://wpdemo.web-dorado.com/thumbnails-view-2/"><?php _e("Please see Pro ", 'bwg_back'); ?><span id="bwg_pro_version"><?php _e("Thumbnail", 'bwg_back'); ?></span> <?php _e("View", 'bwg_back'); ?></a>
1134
+ </div>
1135
  </div>
1136
  <?php
1137
  }
1145
  $tagfunction = "<?php echo photo_gallery(" . $currrent_id . "); ?>";
1146
  }
1147
  ?>
1148
+ <hr class="bwg_hr_shortcode" style="float: left; width: 100%;" />
1149
  <span style="float: left; width: 100%;">
1150
  <a id="bwg_pro_version_link" class="wd-btn wd-btn-primary-blue wd-not-image" target="_blank" style="display: table; margin-bottom: 5px;" href="https://web-dorado.com/files/fromPhotoGallery.php"><?php _e("Please see Pro", 'bwg_back'); ?> <span id="bwg_pro_version"><?php _e("Thumbnail", 'bwg_back'); ?></span> <?php _e("View", 'bwg_back'); ?></a>
1151
  <input type="button" class="wd-btn wd-btn-primary-blue wd-not-image" id="insert" name="insert" value="<?php echo __("Generate", 'bwg_back'); ?>" onclick="bwg_insert_shortcode(''); jQuery('#loading_div').show(); jQuery('#opacity_div').show();" />
1222
  <?php } ?>
1223
  jQuery('#insert').attr('onclick', "bwg_insert_shortcode(content)");
1224
  jQuery("select[id=theme] option[value='" + short_code['theme_id'] + "']").attr('selected', 'selected');
1225
+ jQuery("select[id=gallery_types_name] option[value='" + short_code['gallery_type'] + "']").attr('selected', 'selected');
1226
  switch (short_code['gallery_type']) {
1227
  case 'thumbnails': {
1228
  jQuery("select[id=gallery] option[value='" + short_code['gallery_id'] + "']").attr('selected', 'selected');
2069
  });
2070
  <?php } ?>
2071
  }
2072
+ jQuery(document).ready(function () {
2073
  bwg_loadmore();
2074
+ bwg_change_tab();
2075
+ });
2076
+ jQuery(window).resize(function (){
2077
+ bwg_change_tab();
2078
  });
2079
  var bwg_image_thumb = '<?php echo addslashes(__('Image thumbnail dimensions:', 'bwg_back')); ?>';
2080
  var bwg_image_thumb_width = '<?php echo addslashes(__('Image thumbnail width: ', 'bwg_back')); ?>';
2087
  <?php
2088
  include_once (WD_BWG_DIR .'/includes/bwg_pointers.php');
2089
  new BWG_pointers();
2090
+ if (!$from_menu) {
2091
+ die();
2092
+ }
2093
  }
2094
 
2095
  ////////////////////////////////////////////////////////////////////////////////////////
css/bwg_shortcode.css CHANGED
@@ -1,8 +1,10 @@
1
  .gallery_type {
2
  border: 1px solid #CCCCCC;
3
- display: inline-block;
 
4
  width: 9%;
5
  font-size: 8px;
 
6
  }
7
 
8
  .gallery_type img {
@@ -13,17 +15,21 @@
13
  .panel_wrapper,
14
  .panel_wrapper #display_panel {
15
  height: 450px !important;
16
- overflow: auto;
 
17
  font-size: 9px;
18
  }
19
 
20
  .bwg_short_div * {
21
  font-size: 10px;
 
22
  }
23
 
24
  .bwg_short_div input[type=radio],
25
  .bwg_short_div label {
26
  vertical-align: middle;
 
 
27
  }
28
 
29
  .spider_label {
@@ -50,15 +56,14 @@
50
 
51
  .panel_wrapper .bwg_short_div {
52
  float: left;
53
- height: 300px;
54
  padding: 15px;
55
  width: 30%;
56
  }
57
 
58
  .bwg_short_div {
59
  float: left;
60
- height: 630px;
61
  padding: 15px;
 
62
  width: 30%;
63
  }
64
 
@@ -168,4 +173,214 @@ th.sorted a span {
168
  }
169
  #bwg_pro_version_link {
170
  color:#fff !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  }
1
  .gallery_type {
2
  border: 1px solid #CCCCCC;
3
+ display: flex;
4
+ flex-direction: column;
5
  width: 9%;
6
  font-size: 8px;
7
+ margin: 0 2px;
8
  }
9
 
10
  .gallery_type img {
15
  .panel_wrapper,
16
  .panel_wrapper #display_panel {
17
  height: 450px !important;
18
+ overflow-x: hidden;
19
+ overflow-y: auto;
20
  font-size: 9px;
21
  }
22
 
23
  .bwg_short_div * {
24
  font-size: 10px;
25
+ margin-top:3px;
26
  }
27
 
28
  .bwg_short_div input[type=radio],
29
  .bwg_short_div label {
30
  vertical-align: middle;
31
+ cursor:pointer;
32
+ margin-top:1px;
33
  }
34
 
35
  .spider_label {
56
 
57
  .panel_wrapper .bwg_short_div {
58
  float: left;
 
59
  padding: 15px;
60
  width: 30%;
61
  }
62
 
63
  .bwg_short_div {
64
  float: left;
 
65
  padding: 15px;
66
+ margin-top:10px;
67
  width: 30%;
68
  }
69
 
173
  }
174
  #bwg_pro_version_link {
175
  color:#fff !important;
176
+ }
177
+ .bwg_tab_label {
178
+ display: block;
179
+ width: inherit;
180
+ text-align:center;
181
+ font-size:inherit;
182
+ }
183
+ .tabs_views {
184
+ width:100%;
185
+ display:block;
186
+ margin-top:15px;
187
+
188
+ }
189
+ .tabs_chang_view {
190
+ float:left;
191
+ margin-right:3px;
192
+ }
193
+ .bwg_shortcodetab_active {
194
+ top: 12px !important;
195
+ height: 33px !important;
196
+ color: #00A0D2 !important;
197
+ border-bottom:none !important;
198
+ background: none repeat scroll 0 0 #FFFFFF !important;
199
+ }
200
+ .bwg_short_div_active {
201
+ background: none repeat scroll 0 0 #FFFFFF !important;
202
+ }
203
+ #bwg_advertisement,#bwg_slideshow,#bwg_them {
204
+ background: none repeat scroll 0 0 #F4F4F4;
205
+ font-size: 22px;
206
+ height: 33px;
207
+ position: relative;
208
+ border-left: 1px solid #E1E1E1 !important;
209
+ border-right: 1px solid #E1E1E1 !important;
210
+ border-top: 1px solid #E1E1E1 !important;
211
+ border-bottom:none !important;
212
+ top: 10px;
213
+ }
214
+ .lightbox_option_left,
215
+ .lightbox_option_right,
216
+ .gallery_album_option_left,
217
+ .gallery_album_option_right {
218
+ display: table-row;
219
+ width: 100%;
220
+ }
221
+ .gallery_type_div,
222
+ .album_type_div {
223
+ display: flex;
224
+ flex-grow: 1;
225
+ align-items:center;
226
+ text-align:left;
227
+ }
228
+ .gallery_type_radio,
229
+ .gallery_type_label,
230
+ .album_type_radio,
231
+ .album_type_label {
232
+ vertical-align: middle !important;
233
+ display: inline-block !important;
234
+ margin: 0 auto !important;
235
+
236
+ }
237
+ .gallery_type_label,
238
+ .album_type_label {
239
+ width: 70%;
240
+ word-wrap: break-word;
241
+ }
242
+ #bwg_change_gallery_type {
243
+ display: flex;
244
+ justify-content:center;
245
+ }
246
+ @media screen and (min-width: 750px) and (max-width: 1140px){
247
+ .gallery_type img{
248
+ max-width: 80%;
249
+ font-size: 10px;
250
+ }
251
+ .gallery_type {
252
+ width: 9%;
253
+ font-size: 9px;
254
+ }
255
+ .bwg_short_div {
256
+ font-size:9px;
257
+ }
258
+ input[type="radio"], input[type="checkbox"] {
259
+ height: 15px !important;
260
+ width: 15px !important;
261
+ cursor:pointer;
262
+ }
263
+ input[type="radio"]:checked:before {
264
+ height: 6px !important;
265
+ width: 6px !important;
266
+ margin: 4px !important;
267
+ }
268
+ #bwg_advertisement,#bwg_slideshow,#bwg_them {
269
+ font-size: 18px;
270
+ word-wrap: break-word;
271
+ }
272
+ #bwg_change_gallery_type {
273
+ top: 10px;
274
+ text-align: center;
275
+ }
276
+ #generate_button {
277
+ margin-top: 3px;
278
+ }
279
+ .lightbox_option_left,
280
+ .gallery_album_option_left {
281
+ display: table-cell;
282
+ vertical-align: top;
283
+ width:55%
284
+ }
285
+
286
+ .lightbox_option_right,
287
+ .gallery_album_option_right {
288
+ display: table-cell;
289
+ vertical-align: top;
290
+ width:45%
291
+ }
292
+ .tabs_chang_view {
293
+ margin-top: -20px;
294
+ }
295
+ }
296
+ @media screen and (min-width: 441px) and (max-width: 749px){
297
+ #generate_button {
298
+ margin-top: 3px;
299
+ }
300
+ #bwg_advertisement,#bwg_slideshow,#bwg_them {
301
+ font-size: 20px;
302
+ margin-top: -18px;
303
+ word-wrap: break-word;
304
+ }
305
+ #gallery_types_name,#bwg_option_gallery_type {
306
+ font-size: 12px;
307
+ }
308
+ .tabs_chang_view {
309
+ margin-top: -5px;
310
+ }
311
+ .bwg_short_div * {
312
+ margin-top: 7px;
313
+ }
314
+ }
315
+ @media screen and (max-width: 440px){
316
+ .tabs_chang_view {
317
+ float:none !important;
318
+ width:100% !important;
319
+ }
320
+ #bwg_advertisement,#bwg_slideshow,#bwg_them {
321
+ width:inherit !important;
322
+ text-align:center;
323
+ word-wrap: break-word;
324
+ }
325
+ .tabs_views {
326
+ margin-top:-7px;
327
+ }
328
+ .generate_button {
329
+ margin-top:15px;
330
+ }
331
+ #gallery_types_name,#bwg_option_gallery_type {
332
+ font-size: 12px;
333
+ }
334
+ .order_by_desc {
335
+ display: block;
336
+ }
337
+ .spider_int_input,
338
+ .color{
339
+ width: 50px;
340
+ }
341
+ .spider_label {
342
+ width: 95px !important;
343
+ }
344
+ }
345
+ hr {
346
+ margin-top:13px;
347
+ }
348
+
349
+
350
+ .panel_wrapper {
351
+ border-top:1px solid #919B9C !important;
352
+ }
353
+ .bwg_link_shortcode{
354
+ background: #2ea2cc;
355
+ background: -webkit-gradient(linear, left top, left bottom, from(#2ea2cc), to(#1e8cbe));
356
+ background: -webkit-linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
357
+ background: linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%);
358
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=0 );
359
+ border-color: #0074a2;
360
+ -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
361
+ box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
362
+ color: #fff;
363
+ text-decoration: none;
364
+ text-shadow: 0 1px 0 rgba(0,86,132,0.7);
365
+ border-radius:3px;
366
+ border: 1px solid #adadad;
367
+ height: 22px;
368
+ line-height: 22px;
369
+ padding: 0 10px 1px;
370
+ text-decoration: none;
371
+ vertical-align: middle;
372
+ width: inherit;
373
+ float: left;
374
+ }
375
+ .select_icon_pos {
376
+ background-position: 98% 49% !important;
377
+ }
378
+ #bwg_advertisement,#bwg_slideshow,#bwg_them:hover {
379
+ color:#000;
380
+ }
381
+ .ui-widget-content a {
382
+ color:#fff !important;
383
+ }
384
+ .ui-tooltip{
385
+ max-width:400px !important;
386
  }
js/bwg_editor_button.js CHANGED
@@ -4,22 +4,53 @@ jQuery(window).load(function(){
4
  jQuery(document).trigger("onUploadImg");
5
  }
6
  jQuery('.add_short_gall').css({'marginLeft': -50});
 
 
7
  });
 
8
  (function () {
9
  tinymce.create('tinymce.plugins.bwg_mce', {
10
  init:function (ed, url) {
11
  var c = this;
12
  c.url = url;
13
  c.editor = ed;
 
 
 
 
 
 
 
 
 
 
 
 
14
  ed.addCommand('mcebwg_mce', function () {
15
- ed.windowManager.open({
16
- file:bwg_admin_ajax,
17
- width:1100 + ed.getLang('bwg_mce.delta_width', 0),
18
- height:550 + ed.getLang('bwg_mce.delta_height', 0),
19
- inline:1
20
- }, {
21
- plugin_url:url
22
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  var e = ed.selection.getNode(), d = wp.media.gallery, f;
24
  if (typeof wp === "undefined" || !wp.media || !wp.media.gallery) {
25
  return
4
  jQuery(document).trigger("onUploadImg");
5
  }
6
  jQuery('.add_short_gall').css({'marginLeft': -50});
7
+
8
+ jQuery('.mce-container').css({'maxWidth':'100%'});
9
  });
10
+
11
  (function () {
12
  tinymce.create('tinymce.plugins.bwg_mce', {
13
  init:function (ed, url) {
14
  var c = this;
15
  c.url = url;
16
  c.editor = ed;
17
+ var width_window;
18
+ var height_window;
19
+ var width = 1144;
20
+ var height = 520;
21
+ if(jQuery(window).width() < width) {
22
+ width_window = jQuery(window).width();
23
+ height_window = jQuery(window).height();
24
+ }
25
+ else {
26
+ width_window = width;
27
+ height_window = height;
28
+ }
29
  ed.addCommand('mcebwg_mce', function () {
30
+ ed.windowManager.open({
31
+ file:bwg_admin_ajax,
32
+ width:width_window + ed.getLang('bwg_mce.delta_width', 0),
33
+ height:height_window + ed.getLang('bwg_mce.delta_height', 0),
34
+ inline:1
35
+ }, {
36
+ plugin_url:url
37
+ });
38
+
39
+ var window = ed.windowManager.windows[ed.windowManager.windows.length - 1],
40
+ $window = window.$el;
41
+
42
+ $window.css({
43
+ maxWidth: "100%",
44
+ maxHeight: "100%"
45
+ });
46
+ $window.find(".mce-window-body").css({
47
+ maxWidth: "100%",
48
+ maxHeight: "100%"
49
+ });
50
+ $window.find(".mce-container-body").find("iframe").css({
51
+ width:'1px',
52
+ minWidth:'100%',
53
+ });
54
  var e = ed.selection.getNode(), d = wp.media.gallery, f;
55
  if (typeof wp === "undefined" || !wp.media || !wp.media.gallery) {
56
  return
js/bwg_shortcode.js CHANGED
@@ -13,6 +13,17 @@ function bwg_shortcode_load() {
13
  return jQuery(this).prop('title');
14
  }
15
  });
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
  function bwg_loadmore() {
@@ -133,6 +144,7 @@ function bwg_thumb_click_action() {
133
  jQuery("#tr_thumb_link_target").css('display', jQuery("#thumb_click_action_2").is(':checked') ? '' : 'none');
134
  jQuery("#tbody_popup").css('display', 'none');
135
  jQuery("#tbody_popup_ctrl_btn").css('display', 'none');
 
136
  }
137
  }
138
 
@@ -755,4 +767,97 @@ function bwg_change_fonts(cont, google_fonts) {
755
  fonts_option += '<option value="' + i + '">' + fonts[i] + '</option>';
756
  }
757
  jQuery("#" + cont).html(fonts_option);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
758
  }
13
  return jQuery(this).prop('title');
14
  }
15
  });
16
+ jQuery(".gallery_type").tooltip({
17
+ track: false,
18
+ hide:{
19
+ effect:'explode',
20
+ duration:1,
21
+ delay:1000
22
+ },
23
+ content: function () {
24
+ return jQuery(this).prop('title');
25
+ }
26
+ });
27
  }
28
 
29
  function bwg_loadmore() {
144
  jQuery("#tr_thumb_link_target").css('display', jQuery("#thumb_click_action_2").is(':checked') ? '' : 'none');
145
  jQuery("#tbody_popup").css('display', 'none');
146
  jQuery("#tbody_popup_ctrl_btn").css('display', 'none');
147
+ jQuery("#tr_popup_enable_ctrl_btn").css('display', 'none');
148
  }
149
  }
150
 
767
  fonts_option += '<option value="' + i + '">' + fonts[i] + '</option>';
768
  }
769
  jQuery("#" + cont).html(fonts_option);
770
+ }
771
+ function bwg_change_tab() {
772
+ var width = jQuery(window).width();
773
+ if (width < 750) {
774
+ jQuery("#bwg_change_gallery_type").hide();
775
+ jQuery("#bwg_select_gallery_type").show();
776
+ jQuery(".tabs_views").show();
777
+ jQuery(".type_them").show();
778
+ jQuery(".type_slideshow").hide();
779
+ jQuery(".type_advertisement").hide();
780
+ jQuery(".type_them").css({'borderRight':'none'});
781
+ jQuery('#bwg_them').addClass('bwg_shortcodetab_active');
782
+ jQuery("#bwg_slideshow").removeClass('bwg_shortcodetab_active');
783
+ jQuery("#bwg_advertisement").removeClass('bwg_shortcodetab_active');
784
+ jQuery('.type_them').addClass('bwg_short_div_active');
785
+ jQuery(".bwg_hr_shortcode").css({'display':'none'});
786
+ jQuery(".bwg_short_div").css({'width':'100%', 'height':'auto','border':'1px solid #E1E1E1', 'boxSizing':'border-box', 'background':'none repeat scroll 0 0 #FFFFFF !important;'});
787
+ jQuery("#bwg_shortcode").css({'width':'330px','fontSize':'12px','fontWeight':'bold'});
788
+ jQuery("#bwg_function").css({'width':'330px'});
789
+
790
+ }
791
+ else if(width >= 750 && width < 1140){
792
+ jQuery("#bwg_change_gallery_type").show();
793
+ jQuery("#bwg_select_gallery_type").hide();
794
+ jQuery(".tabs_views").show();
795
+ jQuery(".type_them").show();
796
+ jQuery(".type_slideshow").hide();
797
+ jQuery(".type_advertisement").hide();
798
+ jQuery(".type_them").css({'borderRight':'none'});
799
+ jQuery('#bwg_them').addClass('bwg_shortcodetab_active');
800
+ jQuery("#bwg_slideshow").removeClass('bwg_shortcodetab_active');
801
+ jQuery("#bwg_advertisement").removeClass('bwg_shortcodetab_active');
802
+ jQuery('.type_them').addClass('bwg_short_div_active');
803
+ jQuery(".bwg_hr_shortcode").css({'display':'none'});
804
+ jQuery(".bwg_short_div").css({'width':'100%', 'height':'auto', 'border':'1px solid #E1E1E1', 'boxSizing':'border-box', 'background':'none repeat scroll 0 0 #FFFFFF !important;'});
805
+ jQuery("#bwg_shortcode").css({'width':'330px','fontSize':'12px','fontWeight':'bold'});
806
+ jQuery("#bwg_function").css({'width':'330px'});
807
+ }
808
+ else {
809
+ jQuery("#bwg_change_gallery_type").show();
810
+ jQuery("#bwg_select_gallery_type").hide();
811
+ jQuery(".tabs_views").hide();
812
+ jQuery(".type_slideshow").show();
813
+ jQuery(".type_advertisement").show();
814
+ jQuery(".type_them").show();
815
+ jQuery(".type_them").css({'borderRight':'1px solid #000000'});
816
+ jQuery(".type_slideshow").css({'borderRight':'1px solid #000000'});
817
+ jQuery(".type_advertisement").css({'borderRight':'none'});
818
+ jQuery(".bwg_short_div").css({'width':'30%', 'height':'650px', 'boxSizing':'', 'borderLeft':'none','borderBottom':'none','borderTop':'none'});
819
+ jQuery(".bwg_hr_shortcode").css({'display':''});
820
+ jQuery(".type_them").removeClass('bwg_short_div_active');
821
+ jQuery(".type_slideshow").removeClass('bwg_short_div_active');
822
+ jQuery(".type_advertisement").removeClass('bwg_short_div_active');
823
+ jQuery('.panel_wrapper').find('.bwg_short_div').css({'height':'525px'});
824
+ }
825
+ }
826
+ function bwg_change_views(type) {
827
+ if (type == 'type_them') {
828
+ jQuery(".type_slideshow").hide();
829
+ jQuery(".type_advertisement").hide();
830
+ jQuery(".type_them").show();
831
+ jQuery(".type_them").css({'borderRight':'none'});
832
+ jQuery('#bwg_them').addClass('bwg_shortcodetab_active');
833
+ jQuery("#bwg_slideshow").removeClass('bwg_shortcodetab_active');
834
+ jQuery("#bwg_advertisement").removeClass('bwg_shortcodetab_active');
835
+ jQuery('.type_them').addClass('bwg_short_div_active');
836
+ jQuery(".type_slideshow").removeClass('bwg_short_div_active');
837
+ jQuery(".type_advertisement").removeClass('bwg_short_div_active');
838
+ }
839
+ else if (type == 'type_slideshow'){
840
+ jQuery(".type_them").hide();
841
+ jQuery(".type_advertisement").hide();
842
+ jQuery(".type_slideshow").show();
843
+ jQuery(".type_slideshow").css({'borderRight':'none'});
844
+ jQuery('#bwg_slideshow').addClass('bwg_shortcodetab_active');
845
+ jQuery("#bwg_them").removeClass('bwg_shortcodetab_active');
846
+ jQuery("#bwg_advertisement").removeClass('bwg_shortcodetab_active');
847
+ jQuery('.type_slideshow').addClass('bwg_short_div_active');
848
+ jQuery(".type_them").removeClass('bwg_short_div_active');
849
+ jQuery(".type_advertisement").removeClass('bwg_short_div_active');
850
+ }
851
+ else {
852
+ jQuery(".type_them").hide();
853
+ jQuery(".type_slideshow").hide();
854
+ jQuery(".type_advertisement").show();
855
+ jQuery(".type_advertisement").css({'borderRight':'none'});
856
+ jQuery('#bwg_advertisement').addClass('bwg_shortcodetab_active');
857
+ jQuery("#bwg_them").removeClass('bwg_shortcodetab_active');
858
+ jQuery("#bwg_slideshow").removeClass('bwg_shortcodetab_active');
859
+ jQuery('.type_advertisement').addClass('bwg_short_div_active');
860
+ jQuery(".type_them").removeClass('bwg_short_div_active');
861
+ jQuery(".type_slideshow").removeClass('bwg_short_div_active');
862
+ }
863
  }
photo-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://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.3.43
8
  * Author: Photo Gallery Team
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -1701,7 +1701,7 @@ function bwg_activate() {
1701
  ));
1702
  }
1703
  $version = get_option('wd_bwg_version');
1704
- $new_version = '1.3.43';
1705
  if ($version && version_compare($version, $new_version, '<')) {
1706
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1707
  bwg_update($version);
@@ -1753,7 +1753,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
1753
 
1754
  function bwg_update_hook() {
1755
  $version = get_option('wd_bwg_version');
1756
- $new_version = '1.3.43';
1757
  if ($version && version_compare($version, $new_version, '<')) {
1758
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1759
  bwg_update($version);
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://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.3.44
8
  * Author: Photo Gallery Team
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
1701
  ));
1702
  }
1703
  $version = get_option('wd_bwg_version');
1704
+ $new_version = '1.3.44';
1705
  if ($version && version_compare($version, $new_version, '<')) {
1706
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1707
  bwg_update($version);
1753
 
1754
  function bwg_update_hook() {
1755
  $version = get_option('wd_bwg_version');
1756
+ $new_version = '1.3.44';
1757
  if ($version && version_compare($version, $new_version, '<')) {
1758
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1759
  bwg_update($version);
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado,wdsupport,photogallerysupport
3
  Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
5
  Requires at least: 3.4
6
- Tested up to: 4.7
7
- Stable tag: 1.3.43
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -188,6 +188,10 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
188
 
189
  == Changelog ==
190
 
 
 
 
 
191
  = 1.3.43 =
192
  * Fixed: Security issue in filemanager.
193
  * Fixed: Image title/description direction in Slideshow view after image change.
3
  Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
5
  Requires at least: 3.4
6
+ Tested up to: 4.8
7
+ Stable tag: 1.3.44
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
188
 
189
  == Changelog ==
190
 
191
+ = 1.3.44 =
192
+ * Fixed: Shortcode edit page responsiveness.
193
+ * Fixed: Thumbnails transition effect in mosaic extended album view.
194
+
195
  = 1.3.43 =
196
  * Fixed: Security issue in filemanager.
197
  * Fixed: Image title/description direction in Slideshow view after image change.