Version Description
- Fixed: Shortcode edit page responsiveness.
- Fixed: Thumbnails transition effect in mosaic extended album view.
Download this release
Release Info
Developer | webdorado |
Plugin | 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 +862 -801
- css/bwg_shortcode.css +219 -4
- js/bwg_editor_button.js +39 -8
- js/bwg_shortcode.js +105 -0
- photo-gallery.php +3 -3
- readme.txt +6 -2
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
|
120 |
<span class="gallery_type" onClick="bwg_gallery_type('thumbnails')">
|
121 |
-
<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
|
125 |
-
<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 |
-
|
129 |
-
<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
|
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
|
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
|
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
|
145 |
-
<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
|
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(
|
153 |
-
<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 |
-
|
157 |
-
<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 |
-
<
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
<
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
<?php
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
<
|
216 |
-
<
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
<?php
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
<
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
|
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 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
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 |
-
|
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 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
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 |
-
|
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 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
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 |
-
|
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 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
</tr>
|
580 |
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
<?php
|
645 |
-
|
646 |
-
|
647 |
-
</
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
<
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
<
|
709 |
-
<
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
<
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
<
|
749 |
-
<
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
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 |
-
|
787 |
-
<
|
788 |
-
|
789 |
<!--Lightbox view-->
|
790 |
-
<
|
791 |
-
|
792 |
-
|
793 |
-
<
|
794 |
-
<
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
<
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
<
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
<
|
828 |
-
<?php
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
<
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
<
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
</
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
|
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 |
-
|
|
|
|
|
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:
|
|
|
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:
|
|
|
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 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
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.
|
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.
|
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.
|
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 |
-
Stable tag: 1.3.
|
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.
|