Gallery – Photo Gallery and Images Gallery - Version 3.1.4

Version Description

  • Right click protection for the gallery and lightbox
  • Fix of the PHP warnings
  • Plugin admin section modifications and fixes
Download this release

Release Info

Developer robosoft
Plugin Icon 128x128 Gallery – Photo Gallery and Images Gallery
Version 3.1.4
Comparing to
See all releases

Code changes from version 3.1.3 to 3.1.4

Files changed (160) hide show
  1. app/app.php +1 -1
  2. app/class.brand.php +1 -1
  3. app/class.listing.php +1 -1
  4. app/class.php +1 -1
  5. app/class.restapi.php +1 -1
  6. app/class.utils.php +1 -1
  7. app/class.view.php +1 -1
  8. app/extensions/dashboard/assets/style.css +1 -1
  9. app/extensions/dashboard/class.dashboard.php +1 -1
  10. app/extensions/dashboard/init.php +1 -1
  11. app/extensions/dashboard/overview.php +1 -1
  12. app/extensions/dashboard/video_guide.php +1 -1
  13. app/extensions/duplicate/init.php +1 -1
  14. app/extensions/fields/asset/core/css/app-style.css +63 -0
  15. app/extensions/fields/asset/core/js/app.js +1 -1
  16. app/extensions/fields/asset/fields/gallery/js/gallery.lib.min.js +1 -1
  17. app/extensions/fields/asset/fields/gallery/js/script.min.js +1 -1
  18. app/extensions/fields/asset/help/help.js +1 -1
  19. app/extensions/fields/config/main.php +1 -1
  20. app/extensions/fields/config/metabox/gallery_slider_animation.php +1 -1
  21. app/extensions/fields/config/metabox/gallery_slider_content.php +1 -1
  22. app/extensions/fields/config/metabox/gallery_slider_general.php +2 -2
  23. app/extensions/fields/config/metabox/gallery_slider_interface.php +1 -1
  24. app/extensions/fields/config/metabox/gallery_slider_lazyload.php +1 -1
  25. app/extensions/fields/config/metabox/gallery_type.php +1 -1
  26. app/extensions/fields/config/metabox/gallery_youtube.php +1 -1
  27. app/extensions/fields/config/metabox/image.php +1 -1
  28. app/extensions/fields/config/metabox/shortcode.php +1 -1
  29. app/extensions/fields/config/metabox/update_notice.php +1 -1
  30. app/extensions/fields/include/roboGalleryFields.php +1 -1
  31. app/extensions/fields/include/roboGalleryFieldsAjax.php +1 -1
  32. app/extensions/fields/include/roboGalleryFieldsConfig.php +1 -1
  33. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReader.php +1 -1
  34. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderInterface.php +1 -1
  35. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderPhp.php +1 -1
  36. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsField.php +1 -1
  37. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php +1 -1
  38. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroup.php +1 -1
  39. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupButton.php +1 -1
  40. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php +1 -1
  41. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldGalleryType.php +1 -1
  42. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldHtml.php +1 -1
  43. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldSelectMultiple.php +1 -1
  44. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldText.php +1 -1
  45. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextColor.php +1 -1
  46. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextSlider.php +1 -1
  47. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldThemes.php +1 -1
  48. app/extensions/fields/include/roboGalleryFieldsFieldFactory.php +1 -1
  49. app/extensions/fields/include/roboGalleryFieldsHelper.php +1 -1
  50. app/extensions/fields/include/roboGalleryFieldsMetaBoxClass.php +1 -1
  51. app/extensions/fields/include/roboGalleryFieldsView.php +1 -1
  52. app/extensions/fields/init.php +1 -1
  53. app/extensions/fields/template/content/gallery_type/content.tpl.php +1 -1
  54. app/extensions/fields/template/field/text/images.tpl.php +16 -4
  55. app/extensions/galleryType/css/theme.edit.css +1 -1
  56. app/extensions/galleryType/css/themes.listing.css +1 -1
  57. app/extensions/galleryType/init.php +1 -1
  58. app/extensions/galleryType/initThemeOptions.php +1 -1
  59. app/extensions/imageResize/init.php +1 -1
  60. app/extensions/manager/class.addons.action.php +1 -1
  61. app/extensions/manager/class.addons.php +2 -2
  62. app/extensions/manager/css/style.css +1 -1
  63. app/extensions/manager/init.php +1 -1
  64. app/extensions/manager/js/script.js +1 -1
  65. cmb2/fields/colums/cmb-field-colums.php +1 -1
  66. cmb2/fields/rbsgallery/cmb-field-rbsgallery.php +1 -1
  67. cmb2/fields/rbstext/cmb-field-rbstext.php +1 -1
  68. cmb2/fields/rbstextarea/cmb-field-rbstextarea.php +1 -1
  69. css/gallery.css +285 -152
  70. includes/extensions/block/src/init.php +2 -1
  71. includes/frontend/modules/base-grid/assets.php +1 -1
  72. includes/frontend/modules/base-grid/effects.set1.php +1 -1
  73. includes/frontend/modules/base-grid/grid/grid.columns.v1.php +1 -1
  74. includes/frontend/modules/base-grid/grid/grid.v1.php +1 -1
  75. includes/frontend/modules/base-grid/hover.v1.php +1 -1
  76. includes/frontend/modules/base-grid/layout.v1.php +2 -2
  77. includes/frontend/modules/base-grid/lightbox.php +1 -1
  78. includes/frontend/modules/base-grid/menu/menu.php +1 -1
  79. includes/frontend/modules/base-grid/polaroid.php +1 -1
  80. includes/frontend/modules/base-grid/resize.php +1 -1
  81. includes/frontend/modules/base-grid/search.php +1 -1
  82. includes/frontend/modules/base-grid/seo.php +1 -1
  83. includes/frontend/modules/base-grid/size.php +1 -1
  84. includes/frontend/modules/base-grid/tags.php +1 -1
  85. includes/frontend/modules/class/abstraction.php +1 -1
  86. includes/frontend/modules/class/addtexts.php +1 -1
  87. includes/frontend/modules/class/assets.php +1 -1
  88. includes/frontend/modules/class/cache.php +1 -1
  89. includes/frontend/modules/class/cachedb.php +1 -1
  90. includes/frontend/modules/class/config.php +1 -1
  91. includes/frontend/modules/class/customcss.php +1 -1
  92. includes/frontend/modules/class/element.php +1 -1
  93. includes/frontend/modules/class/jsoptions.php +1 -1
  94. includes/frontend/modules/class/loader.php +1 -1
  95. includes/frontend/modules/class/protection.php +28 -0
  96. includes/frontend/modules/class/source/class.source.php +1 -1
  97. includes/frontend/modules/class/source/type/base.php +1 -1
  98. includes/frontend/modules/class/source/type/slider.php +1 -1
  99. includes/frontend/modules/class/source/type/youtube.php +1 -1
  100. includes/frontend/modules/class/stats.php +1 -1
  101. includes/frontend/modules/core.php +4 -1
  102. includes/frontend/modules/delete/abstraction.php +0 -105
  103. includes/frontend/modules/delete/addtexts.php +0 -22
  104. includes/frontend/modules/delete/assets.php +0 -218
  105. includes/frontend/modules/delete/cache.php +0 -46
  106. includes/frontend/modules/delete/cachedb.php +0 -104
  107. includes/frontend/modules/delete/config.php +0 -65
  108. includes/frontend/modules/delete/customcss.php +0 -20
  109. includes/frontend/modules/delete/effects.set1.php +0 -102
  110. includes/frontend/modules/delete/element.php +0 -162
  111. includes/frontend/modules/delete/grid/grid.columns.v1.php +0 -78
  112. includes/frontend/modules/delete/grid/grid.scss +0 -19
  113. includes/frontend/modules/delete/grid/grid.v1.php +0 -172
  114. includes/frontend/modules/delete/hover/hover.v1.php +0 -159
  115. includes/frontend/modules/delete/jsoptions.php +0 -106
  116. includes/frontend/modules/delete/layout.v1/layout.v1.php +0 -103
  117. includes/frontend/modules/delete/lightbox/lightbox.php +0 -210
  118. includes/frontend/modules/delete/loader.php +0 -83
  119. includes/frontend/modules/delete/menu/menu.php +0 -218
  120. includes/frontend/modules/delete/menu/menu.scss +0 -8
  121. includes/frontend/modules/delete/polaroid.php +0 -76
  122. includes/frontend/modules/delete/resize.php +0 -108
  123. includes/frontend/modules/delete/scss.php +0 -127
  124. includes/frontend/modules/delete/search.php +0 -68
  125. includes/frontend/modules/delete/seo.php +0 -37
  126. includes/frontend/modules/delete/size.php +0 -97
  127. includes/frontend/modules/delete/source/baseSource.php +0 -281
  128. includes/frontend/modules/delete/source/source.php +0 -79
  129. includes/frontend/modules/delete/source/youtubeSource.php +0 -429
  130. includes/frontend/modules/delete/stats.php +0 -33
  131. includes/frontend/modules/delete/tags.php +0 -45
  132. includes/frontend/modules/init.php +2 -1
  133. includes/frontend/modules/slider/assets.php +1 -1
  134. includes/frontend/modules/slider/assets/slider.css +1 -1
  135. includes/frontend/modules/slider/content.php +1 -1
  136. includes/frontend/modules/slider/layout.php +1 -1
  137. includes/frontend/modules/slider/options.php +1 -1
  138. includes/frontend/rbs_gallery_class.php +1 -1
  139. includes/frontend/rbs_gallery_frontend.php +1 -1
  140. includes/options/rbs_gallery_options_button_base.php +71 -24
  141. includes/options/rbs_gallery_options_copy.php +1 -1
  142. includes/options/rbs_gallery_options_css.php +1 -1
  143. includes/options/rbs_gallery_options_hover_base.php +1 -1
  144. includes/options/rbs_gallery_options_lightbox_base.php +1 -1
  145. includes/options/rbs_gallery_options_loading.php +1 -1
  146. includes/options/rbs_gallery_options_polaroid_base.php +1 -1
  147. includes/options/rbs_gallery_options_size_base.php +1 -1
  148. includes/options/rbs_gallery_options_view_base.php +1 -1
  149. includes/rbs_gallery_init.php +1 -1
  150. includes/rbs_gallery_media.php +1 -1
  151. includes/rbs_gallery_menu.php +1 -1
  152. includes/rbs_gallery_settings.php +549 -420
  153. includes/rbs_gallery_widget.php +1 -1
  154. includes/rbs_gallery_widget_last.php +1 -1
  155. js/admin/edit.js +1 -1
  156. languages/rbs_gallery-pl_PL.mo +0 -0
  157. languages/rbs_gallery-pl_PL.po +6 -6
  158. languages/robo-gallery.pot +890 -713
  159. readme.txt +26 -18
  160. robogallery.php +2 -2
app/app.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.2 - 17786
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
app/class.brand.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.2 - 17786
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
app/class.listing.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.restapi.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.utils.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.view.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.2 - 17786
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
app/extensions/dashboard/assets/style.css CHANGED
@@ -1,7 +1,7 @@
1
 
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
 
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/class.dashboard.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/overview.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/video_guide.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/duplicate/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/asset/core/css/app-style.css CHANGED
@@ -2827,4 +2827,67 @@ body.roboGalleryFields #wpcontent div.roboGalleryFields #roboGalleryThemeTypeDiv
2827
  padding-top: 0px;
2828
  font-size: 15px;
2829
  margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2830
  }
2827
  padding-top: 0px;
2828
  font-size: 15px;
2829
  margin-bottom: 0;
2830
+ }
2831
+
2832
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .rb-pro-block:not(#default_style) {
2833
+ display: grid;
2834
+ grid-template-columns: 1fr 1fr;
2835
+ gap: 5px;
2836
+ column-gap: 70px;
2837
+ height: 100%;
2838
+ width: 100%;
2839
+ margin: 15px 50px -15px;
2840
+ }
2841
+
2842
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .rb-pro-block h5:not(#default_style){
2843
+ grid-row-start: 1;
2844
+ grid-column-start: 1;
2845
+ grid-row-end: 2;
2846
+ grid-column-end: 3;
2847
+
2848
+ text-align: center;
2849
+ border-bottom: 2px solid silver;
2850
+ margin-bottom: 12px;
2851
+ padding-bottom: 6px;
2852
+
2853
+ }
2854
+
2855
+ @media screen and (max-width: 1250px) {
2856
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .rb-pro-block:not(#default_style) {
2857
+ margin: 15px 10px -15px;
2858
+ column-gap: 20px;
2859
+ }
2860
+ }
2861
+
2862
+ @media screen and (max-width: 1150px) {
2863
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .rb-pro-block:not(#default_style) {
2864
+ margin: 15px 10px -15px;
2865
+ column-gap: 20px;
2866
+ grid-template-columns: 1fr;
2867
+ }
2868
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .rb-pro-block h5:not(#default_style){
2869
+ grid-column-end: 2;
2870
+ }
2871
+ }
2872
+
2873
+ #wpcontent .rbs_block .robo-menu-tabs li:not(#default_style){
2874
+ margin-left: 20px;
2875
+ }
2876
+
2877
+ body.roboGalleryFields #wpcontent span.robo-pro-label:not(#default_style){
2878
+ display: block;
2879
+ position: absolute;
2880
+ right: -9px;
2881
+ top: -5px;
2882
+ font-size: 12px;
2883
+ background-color: #ffae00;
2884
+ color: white;
2885
+ padding: 1px 5px;
2886
+ border-radius: 4px;
2887
+ }
2888
+ body.roboGalleryFields #wpcontent div.roboGalleryFields .rb-pro-desc:not(#default_style){
2889
+ font-weight: bold;
2890
+ font-size: 12px;
2891
+ margin-top: 4px;
2892
+ margin-bottom: 6px;
2893
  }
app/extensions/fields/asset/core/js/app.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/fields/asset/fields/gallery/js/gallery.lib.min.js CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
 
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  /*
2
 
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/asset/fields/gallery/js/script.min.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/fields/asset/help/help.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/fields/config/main.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_animation.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_content.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_general.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -53,7 +53,7 @@ return array(
53
  'name' => 'width',
54
  'id' => 'width',
55
  'label' => __('Slider Width ', 'robo-gallery'),
56
- 'description' => __( '', 'robo-gallery') ,
57
  'fields' => array(
58
  array(
59
  'type' => 'text',
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
53
  'name' => 'width',
54
  'id' => 'width',
55
  'label' => __('Slider Width ', 'robo-gallery'),
56
+ 'description' => '' ,
57
  'fields' => array(
58
  array(
59
  'type' => 'text',
app/extensions/fields/config/metabox/gallery_slider_interface.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_lazyload.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_type.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_youtube.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/image.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/shortcode.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/update_notice.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFields.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsAjax.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReader.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderInterface.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderPhp.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsField.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroup.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupButton.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldGalleryType.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldHtml.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldSelectMultiple.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldText.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextColor.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextSlider.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldThemes.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsFieldFactory.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsHelper.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsMetaBoxClass.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsView.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/template/content/gallery_type/content.tpl.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/template/field/text/images.tpl.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -69,7 +69,19 @@ if ( $value == null || empty( $value ) || $value == ' ' || $value == '' ) $value
69
  </div>
70
 
71
  <?php if (!ROBO_GALLERY_TYR) : ?>
72
- <div class="content small-12 columns text-center" style="margin: 25px 0 -20px;">
73
- <?php echo rbsGalleryUtils::getProButton( '+ ' . __('Add Link Add-on', 'robo-gallery') ); ?>
74
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
75
  <?php endif; ?>
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
69
  </div>
70
 
71
  <?php if (!ROBO_GALLERY_TYR) : ?>
72
+ <div class="content small-12 columns text-center" style="margin: 25px 0 -6px;">
73
+ <?php echo rbsGalleryUtils::getProButton( __('Add All Pro Features + Gallery Images Links', 'robo-gallery') ); ?>
74
+ </div>
75
+ <br>
76
+ <div class="rb-pro-block">
77
+ <h5>Advantages of the PRO Version</h5>
78
+ <div class="rb-pro-desc"><span class="dashicons dashicons-video-alt3"></span> Youtube Playlists and Channels</div>
79
+ <div class="rb-pro-desc"><span class="dashicons dashicons-format-gallery"></span> 50+ Premium Customizable Gallery Views</div>
80
+ <div class="rb-pro-desc"><span class="dashicons dashicons-admin-settings"></span> 150+ Advanced Configuration Options</div>
81
+ <div class="rb-pro-desc"><span class="dashicons dashicons-insert"></span> Multilevel Menu and Gallery Search</div>
82
+ <div class="rb-pro-desc"><span class="dashicons dashicons-smartphone"></span> Mobile Friendly Lightbox </div>
83
+ <div class="rb-pro-desc"><span class="dashicons dashicons-smartphone"></span> Customizable Mobile Friendly Grid </div>
84
+ <div class="rb-pro-desc"><span class="dashicons dashicons-insert"></span> Social Sharing in LightBox </div>
85
+ <div class="rb-pro-desc"><span class="dashicons dashicons-insert"></span> Mixed Gallery (Photos/Videos/Linked Images)</div>
86
+ </div>
87
  <?php endif; ?>
app/extensions/galleryType/css/theme.edit.css CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/galleryType/css/themes.listing.css CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/galleryType/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/galleryType/initThemeOptions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/imageResize/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/manager/class.addons.action.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/manager/class.addons.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -354,7 +354,7 @@ class rbsGalleryAddons{
354
  array(
355
  'title' => 'Robo Gallery Pro',
356
  'category' => 'gallery',
357
- 'url' => 'https://robosoft.co/robogallery/#pricing',
358
  'slug' => 'robogallerykey',
359
  'file' => 'robogallerykey/robogallerykey.php',
360
  'desc' => 'with PRO version you get more advanced functionality and even more flexibility in settings and gallery design. Get access to more add-ons which extend functionality of the plugin.',
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
354
  array(
355
  'title' => 'Robo Gallery Pro',
356
  'category' => 'gallery',
357
+ 'url' => 'https://www.robogallery.co/#pricing1',
358
  'slug' => 'robogallerykey',
359
  'file' => 'robogallerykey/robogallerykey.php',
360
  'desc' => 'with PRO version you get more advanced functionality and even more flexibility in settings and gallery design. Get access to more add-ons which extend functionality of the plugin.',
app/extensions/manager/css/style.css CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/manager/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/manager/js/script.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
cmb2/fields/colums/cmb-field-colums.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
cmb2/fields/rbsgallery/cmb-field-rbsgallery.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
cmb2/fields/rbstext/cmb-field-rbstext.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
cmb2/fields/rbstextarea/cmb-field-rbstextarea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
css/gallery.css CHANGED
@@ -1,4 +1,3 @@
1
-
2
  /* Magnific Popup CSS */
3
 
4
  .mfp-bg {
@@ -9,7 +8,7 @@
9
  z-index: 100001;
10
  overflow: hidden;
11
  position: fixed;
12
- background-color: rgba( 11, 11, 1, 0.8);
13
  /* opacity: 0.8;
14
  filter: alpha(opacity=80); */
15
  }
@@ -22,7 +21,8 @@
22
  z-index: 100002;
23
  position: fixed;
24
  outline: none !important;
25
- -webkit-backface-visibility: hidden; }
 
26
 
27
  .mfp-container {
28
  text-align: center;
@@ -34,16 +34,19 @@
34
  padding: 0 8px;
35
  -webkit-box-sizing: border-box;
36
  -moz-box-sizing: border-box;
37
- box-sizing: border-box; }
 
38
 
39
  .mfp-container:before {
40
  content: '';
41
  display: inline-block;
42
  height: 100%;
43
- vertical-align: middle; }
 
44
 
45
  .mfp-align-top .mfp-container:before {
46
- display: none; }
 
47
 
48
  .mfp-content {
49
  position: relative;
@@ -51,43 +54,56 @@
51
  vertical-align: middle;
52
  margin: 0 auto;
53
  text-align: left;
54
- z-index: 100005; }
 
55
 
56
- .mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
 
57
  width: 100%;
58
- cursor: auto; }
 
59
 
60
  .mfp-ajax-cur {
61
- cursor: progress; }
 
62
 
63
- .mfp-zoom-out-cur{
64
  cursor: -moz-zoom-out;
65
  cursor: -webkit-zoom-out;
66
- cursor: zoom-out; }
67
-
68
- .mfp-zoom-out-cur .mfp-image-holder .mfp-close{
69
- cursor: pointer;
70
- }
 
71
 
72
  .mfp-zoom {
73
  cursor: pointer;
74
  cursor: -webkit-zoom-in;
75
  cursor: -moz-zoom-in;
76
- cursor: zoom-in; }
 
77
 
78
  .mfp-auto-cursor .mfp-content {
79
- cursor: auto; }
 
80
 
81
- .mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
 
 
 
82
  -webkit-user-select: none;
83
  -moz-user-select: none;
84
- user-select: none; }
 
85
 
86
  .mfp-loading.mfp-figure {
87
- display: none; }
 
88
 
89
  .mfp-hide {
90
- display: none !important; }
 
91
 
92
  .mfp-preloader {
93
  color: #cccccc;
@@ -98,19 +114,27 @@
98
  margin-top: -0.8em;
99
  left: 8px;
100
  right: 8px;
101
- z-index: 100004; }
102
- .mfp-preloader a {
103
- color: #cccccc; }
104
- .mfp-preloader a:hover {
105
- color: white; }
 
 
 
 
 
106
 
107
  .mfp-s-ready .mfp-preloader {
108
- display: none; }
 
109
 
110
  .mfp-s-error .mfp-content {
111
- display: none; }
 
112
 
113
- button.mfp-close, button.mfp-arrow {
 
114
  overflow: visible;
115
  cursor: pointer;
116
  background: transparent;
@@ -121,17 +145,24 @@ button.mfp-close, button.mfp-arrow {
121
  padding: 0;
122
  z-index: 100006;
123
  -webkit-box-shadow: none;
124
- box-shadow: none; }
 
 
125
  button::-moz-focus-inner {
126
  padding: 0;
127
- border: 0; }
 
 
128
  /* .mfp-container margin-top: 0;
129
  margin-bottom:0; */
130
  .mfp-close::after,
131
- .mfp-close::before{display:none;}
132
- .mfp-container .mfp-close {
133
- margin-top: 0;
134
- margin-bottom:0;
 
 
 
135
  width: 44px;
136
  height: 44px;
137
  line-height: 44px;
@@ -146,22 +177,31 @@ margin-bottom:0;
146
  color: white;
147
  font-style: normal;
148
  font-size: 28px;
149
- font-family: Arial, Baskerville, monospace; }
150
- .mfp-close:hover, .mfp-close:focus {
151
- opacity: 1;
152
- filter: alpha(opacity=100); }
153
- .mfp-close:active {
154
- top: 1px; }
 
 
 
 
 
 
155
 
156
  .mfp-close-btn-in .mfp-close {
157
- color: #333333; }
 
158
 
159
- .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
 
160
  color: white;
161
  right: -6px;
162
  text-align: right;
163
  padding-right: 6px;
164
- width: 100%; }
 
165
 
166
  .mfp-counter {
167
  position: absolute;
@@ -169,7 +209,8 @@ margin-bottom:0;
169
  right: 0;
170
  color: #cccccc;
171
  font-size: 12px;
172
- line-height: 18px; }
 
173
 
174
  .mfp-arrow {
175
  position: absolute;
@@ -181,73 +222,112 @@ margin-bottom:0;
181
  padding: 0;
182
  width: 90px;
183
  height: 110px;
184
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
185
- .mfp-arrow:active {
186
- margin-top: -54px; }
187
- .mfp-arrow:hover, .mfp-arrow:focus {
188
- opacity: 1;
189
- filter: alpha(opacity=100); }
190
- .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
191
- content: '';
192
- display: block;
193
- width: 0;
194
- height: 0;
195
- position: absolute;
196
- left: 0;
197
- top: 0;
198
- margin-top: 35px;
199
- margin-left: 35px;
200
- border: medium inset transparent; }
201
- .mfp-arrow:after, .mfp-arrow .mfp-a {
202
- border-top-width: 13px;
203
- border-bottom-width: 13px;
204
- top: 8px; }
205
- .mfp-arrow:before, .mfp-arrow .mfp-b {
206
- border-top-width: 21px;
207
- border-bottom-width: 21px;
208
- opacity: 0.7; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
 
210
  .mfp-arrow-left {
211
- left: 0; }
212
- .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
213
- border-right: 17px solid white;
214
- margin-left: 31px; }
215
- .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
216
- margin-left: 25px;
217
- border-right: 27px solid #3f3f3f; }
 
 
 
 
 
 
 
218
 
219
  .mfp-arrow-right {
220
- right: 0; }
221
- .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
222
- border-left: 17px solid white;
223
- margin-left: 39px; }
224
- .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
225
- border-left: 27px solid #3f3f3f; }
 
 
 
 
 
 
 
226
 
227
  .mfp-iframe-holder {
228
  padding-top: 40px;
229
- padding-bottom: 40px; }
230
- .mfp-iframe-holder .mfp-content {
231
- line-height: 0;
232
- width: 100%;
233
- max-width: 900px; }
234
- .mfp-iframe-holder .mfp-close {
235
- top: -40px; }
 
 
 
 
 
236
 
237
  .mfp-iframe-scaler {
238
  width: 100%;
239
  height: 0;
240
  overflow: hidden;
241
- padding-top: 56.25%; }
242
- .mfp-iframe-scaler iframe {
243
- position: absolute;
244
- display: block;
245
- top: 0;
246
- left: 0;
247
- width: 100%;
248
- height: 100%;
249
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
250
- background: black; }
 
 
 
251
 
252
  /* Main image in popup */
253
  img.mfp-img {
@@ -260,31 +340,41 @@ img.mfp-img {
260
  -moz-box-sizing: border-box;
261
  box-sizing: border-box;
262
  padding: 40px 0 40px;
263
- margin: 0 auto; }
 
 
 
264
 
265
  /* The shadow behind the image */
266
  .mfp-figure {
267
- line-height: 0; }
268
- .mfp-figure:after {
269
- content: '';
270
- position: absolute;
271
- left: 0;
272
- top: 40px;
273
- bottom: 40px;
274
- display: block;
275
- right: 0;
276
- width: auto;
277
- height: auto;
278
- z-index: -1;
279
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
280
- background: #444444; }
281
- .mfp-figure small {
282
- color: #bdbdbd;
283
- display: block;
284
- font-size: 12px;
285
- line-height: 14px; }
286
- .mfp-figure figure {
287
- margin: 0; }
 
 
 
 
 
 
 
288
 
289
  .mfp-bottom-bar {
290
  margin-top: -36px;
@@ -292,7 +382,8 @@ img.mfp-img {
292
  top: 100%;
293
  left: 0;
294
  width: 100%;
295
- cursor: auto; }
 
296
 
297
  .mfp-title {
298
  text-align: left;
@@ -300,29 +391,47 @@ img.mfp-img {
300
  color: #f3f3f3;
301
  word-wrap: break-word;
302
  /*font-weight: bolder;*/
303
- padding-right: 36px; }
 
304
 
305
  .mfp-image-holder .mfp-content {
306
- max-width: 100%; }
 
307
 
308
  .mfp-gallery .mfp-image-holder .mfp-figure {
309
- cursor: pointer; }
 
 
 
 
 
 
 
 
 
310
 
311
- @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
312
  /**
313
  * Remove all paddings around the image on small screen
314
  */
315
  .mfp-img-mobile .mfp-image-holder {
316
  padding-left: 0;
317
- padding-right: 0; }
 
 
318
  .mfp-img-mobile img.mfp-img {
319
- padding: 0; }
 
 
320
  .mfp-img-mobile .mfp-figure:after {
321
  top: 0;
322
- bottom: 0; }
 
 
323
  .mfp-img-mobile .mfp-figure small {
324
  display: inline;
325
- margin-left: 5px; }
 
 
326
  .mfp-img-mobile .mfp-bottom-bar {
327
  background: rgba(0, 0, 0, 0.6);
328
  bottom: 0;
@@ -332,12 +441,18 @@ img.mfp-img {
332
  position: fixed;
333
  -webkit-box-sizing: border-box;
334
  -moz-box-sizing: border-box;
335
- box-sizing: border-box; }
336
- .mfp-img-mobile .mfp-bottom-bar:empty {
337
- padding: 0; }
 
 
 
 
338
  .mfp-img-mobile .mfp-counter {
339
  right: 5px;
340
- top: 3px; }
 
 
341
  .mfp-img-mobile .mfp-close {
342
  top: 0;
343
  right: 0;
@@ -347,39 +462,57 @@ img.mfp-img {
347
  background: rgba(0, 0, 0, 0.6);
348
  position: fixed;
349
  text-align: center;
350
- padding: 0; } }
 
 
351
 
352
  @media all and (max-width: 900px) {
353
  .mfp-arrow {
354
  -webkit-transform: scale(0.75);
355
- transform: scale(0.75); }
 
 
356
  .mfp-arrow-left {
357
  -webkit-transform-origin: 0;
358
- transform-origin: 0; }
 
 
359
  .mfp-arrow-right {
360
  -webkit-transform-origin: 100%;
361
- transform-origin: 100%; }
 
 
362
  .mfp-container {
363
  padding-left: 6px;
364
- padding-right: 6px; } }
 
 
365
 
366
  .mfp-ie7 .mfp-img {
367
- padding: 0; }
 
 
368
  .mfp-ie7 .mfp-bottom-bar {
369
  width: 600px;
370
  left: 50%;
371
  margin-left: -300px;
372
  margin-top: 5px;
373
- padding-bottom: 5px; }
 
 
374
  .mfp-ie7 .mfp-container {
375
- padding: 0; }
 
 
376
  .mfp-ie7 .mfp-content {
377
- padding-top: 44px; }
 
 
378
  .mfp-ie7 .mfp-close {
379
  top: 0;
380
  right: 0;
381
- padding-top: 0; }
382
-
383
  .mfp-container,
384
  .rbs-img,
385
  .rbs-imges-load-more,
@@ -897,12 +1030,12 @@ background-size: cover;
897
  * Available only in https://robosoft.co/robogallery/
898
  */
899
 
900
- .robo_gallery .rbs-img-container div a,
901
- .robo_gallery .rbs-img-container div a:link,
902
- .robo_gallery .rbs-img-container div a:focus,
903
- .robo_gallery .rbs-img-container div a:hover{
904
  border-bottom: none;
905
- background-color: none;
906
  }
907
 
908
  .rbs_gallery_button_bottom .rbs-imges-no-more-entries{
 
1
  /* Magnific Popup CSS */
2
 
3
  .mfp-bg {
8
  z-index: 100001;
9
  overflow: hidden;
10
  position: fixed;
11
+ background-color: rgba(11, 11, 1, 0.8);
12
  /* opacity: 0.8;
13
  filter: alpha(opacity=80); */
14
  }
21
  z-index: 100002;
22
  position: fixed;
23
  outline: none !important;
24
+ -webkit-backface-visibility: hidden;
25
+ }
26
 
27
  .mfp-container {
28
  text-align: center;
34
  padding: 0 8px;
35
  -webkit-box-sizing: border-box;
36
  -moz-box-sizing: border-box;
37
+ box-sizing: border-box;
38
+ }
39
 
40
  .mfp-container:before {
41
  content: '';
42
  display: inline-block;
43
  height: 100%;
44
+ vertical-align: middle;
45
+ }
46
 
47
  .mfp-align-top .mfp-container:before {
48
+ display: none;
49
+ }
50
 
51
  .mfp-content {
52
  position: relative;
54
  vertical-align: middle;
55
  margin: 0 auto;
56
  text-align: left;
57
+ z-index: 100005;
58
+ }
59
 
60
+ .mfp-inline-holder .mfp-content,
61
+ .mfp-ajax-holder .mfp-content {
62
  width: 100%;
63
+ cursor: auto;
64
+ }
65
 
66
  .mfp-ajax-cur {
67
+ cursor: progress;
68
+ }
69
 
70
+ .mfp-zoom-out-cur {
71
  cursor: -moz-zoom-out;
72
  cursor: -webkit-zoom-out;
73
+ cursor: zoom-out;
74
+ }
75
+
76
+ .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
77
+ cursor: pointer;
78
+ }
79
 
80
  .mfp-zoom {
81
  cursor: pointer;
82
  cursor: -webkit-zoom-in;
83
  cursor: -moz-zoom-in;
84
+ cursor: zoom-in;
85
+ }
86
 
87
  .mfp-auto-cursor .mfp-content {
88
+ cursor: auto;
89
+ }
90
 
91
+ .mfp-close,
92
+ .mfp-arrow,
93
+ .mfp-preloader,
94
+ .mfp-counter {
95
  -webkit-user-select: none;
96
  -moz-user-select: none;
97
+ user-select: none;
98
+ }
99
 
100
  .mfp-loading.mfp-figure {
101
+ display: none;
102
+ }
103
 
104
  .mfp-hide {
105
+ display: none !important;
106
+ }
107
 
108
  .mfp-preloader {
109
  color: #cccccc;
114
  margin-top: -0.8em;
115
  left: 8px;
116
  right: 8px;
117
+ z-index: 100004;
118
+ }
119
+
120
+ .mfp-preloader a {
121
+ color: #cccccc;
122
+ }
123
+
124
+ .mfp-preloader a:hover {
125
+ color: white;
126
+ }
127
 
128
  .mfp-s-ready .mfp-preloader {
129
+ display: none;
130
+ }
131
 
132
  .mfp-s-error .mfp-content {
133
+ display: none;
134
+ }
135
 
136
+ button.mfp-close,
137
+ button.mfp-arrow {
138
  overflow: visible;
139
  cursor: pointer;
140
  background: transparent;
145
  padding: 0;
146
  z-index: 100006;
147
  -webkit-box-shadow: none;
148
+ box-shadow: none;
149
+ }
150
+
151
  button::-moz-focus-inner {
152
  padding: 0;
153
+ border: 0;
154
+ }
155
+
156
  /* .mfp-container margin-top: 0;
157
  margin-bottom:0; */
158
  .mfp-close::after,
159
+ .mfp-close::before {
160
+ display: none;
161
+ }
162
+
163
+ .mfp-container .mfp-close {
164
+ margin-top: 0;
165
+ margin-bottom: 0;
166
  width: 44px;
167
  height: 44px;
168
  line-height: 44px;
177
  color: white;
178
  font-style: normal;
179
  font-size: 28px;
180
+ font-family: Arial, Baskerville, monospace;
181
+ }
182
+
183
+ .mfp-close:hover,
184
+ .mfp-close:focus {
185
+ opacity: 1;
186
+ filter: alpha(opacity=100);
187
+ }
188
+
189
+ .mfp-close:active {
190
+ top: 1px;
191
+ }
192
 
193
  .mfp-close-btn-in .mfp-close {
194
+ color: #333333;
195
+ }
196
 
197
+ .mfp-image-holder .mfp-close,
198
+ .mfp-iframe-holder .mfp-close {
199
  color: white;
200
  right: -6px;
201
  text-align: right;
202
  padding-right: 6px;
203
+ width: 100%;
204
+ }
205
 
206
  .mfp-counter {
207
  position: absolute;
209
  right: 0;
210
  color: #cccccc;
211
  font-size: 12px;
212
+ line-height: 18px;
213
+ }
214
 
215
  .mfp-arrow {
216
  position: absolute;
222
  padding: 0;
223
  width: 90px;
224
  height: 110px;
225
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
226
+ }
227
+
228
+ .mfp-arrow:active {
229
+ margin-top: -54px;
230
+ }
231
+
232
+ .mfp-arrow:hover,
233
+ .mfp-arrow:focus {
234
+ opacity: 1;
235
+ filter: alpha(opacity=100);
236
+ }
237
+
238
+ .mfp-arrow:before,
239
+ .mfp-arrow:after,
240
+ .mfp-arrow .mfp-b,
241
+ .mfp-arrow .mfp-a {
242
+ content: '';
243
+ display: block;
244
+ width: 0;
245
+ height: 0;
246
+ position: absolute;
247
+ left: 0;
248
+ top: 0;
249
+ margin-top: 35px;
250
+ margin-left: 35px;
251
+ border: medium inset transparent;
252
+ }
253
+
254
+ .mfp-arrow:after,
255
+ .mfp-arrow .mfp-a {
256
+ border-top-width: 13px;
257
+ border-bottom-width: 13px;
258
+ top: 8px;
259
+ }
260
+
261
+ .mfp-arrow:before,
262
+ .mfp-arrow .mfp-b {
263
+ border-top-width: 21px;
264
+ border-bottom-width: 21px;
265
+ opacity: 0.7;
266
+ }
267
 
268
  .mfp-arrow-left {
269
+ left: 0;
270
+ }
271
+
272
+ .mfp-arrow-left:after,
273
+ .mfp-arrow-left .mfp-a {
274
+ border-right: 17px solid white;
275
+ margin-left: 31px;
276
+ }
277
+
278
+ .mfp-arrow-left:before,
279
+ .mfp-arrow-left .mfp-b {
280
+ margin-left: 25px;
281
+ border-right: 27px solid #3f3f3f;
282
+ }
283
 
284
  .mfp-arrow-right {
285
+ right: 0;
286
+ }
287
+
288
+ .mfp-arrow-right:after,
289
+ .mfp-arrow-right .mfp-a {
290
+ border-left: 17px solid white;
291
+ margin-left: 39px;
292
+ }
293
+
294
+ .mfp-arrow-right:before,
295
+ .mfp-arrow-right .mfp-b {
296
+ border-left: 27px solid #3f3f3f;
297
+ }
298
 
299
  .mfp-iframe-holder {
300
  padding-top: 40px;
301
+ padding-bottom: 40px;
302
+ }
303
+
304
+ .mfp-iframe-holder .mfp-content {
305
+ line-height: 0;
306
+ width: 100%;
307
+ max-width: 900px;
308
+ }
309
+
310
+ .mfp-iframe-holder .mfp-close {
311
+ top: -40px;
312
+ }
313
 
314
  .mfp-iframe-scaler {
315
  width: 100%;
316
  height: 0;
317
  overflow: hidden;
318
+ padding-top: 56.25%;
319
+ }
320
+
321
+ .mfp-iframe-scaler iframe {
322
+ position: absolute;
323
+ display: block;
324
+ top: 0;
325
+ left: 0;
326
+ width: 100%;
327
+ height: 100%;
328
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
329
+ background: black;
330
+ }
331
 
332
  /* Main image in popup */
333
  img.mfp-img {
340
  -moz-box-sizing: border-box;
341
  box-sizing: border-box;
342
  padding: 40px 0 40px;
343
+ margin: 0 auto;
344
+ }
345
+
346
+
347
 
348
  /* The shadow behind the image */
349
  .mfp-figure {
350
+ line-height: 0;
351
+ }
352
+
353
+ .mfp-figure:after {
354
+ content: '';
355
+ position: absolute;
356
+ left: 0;
357
+ top: 40px;
358
+ bottom: 40px;
359
+ display: block;
360
+ right: 0;
361
+ width: auto;
362
+ height: auto;
363
+ z-index: -1;
364
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
365
+ background: #444444;
366
+ }
367
+
368
+ .mfp-figure small {
369
+ color: #bdbdbd;
370
+ display: block;
371
+ font-size: 12px;
372
+ line-height: 14px;
373
+ }
374
+
375
+ .mfp-figure figure {
376
+ margin: 0;
377
+ }
378
 
379
  .mfp-bottom-bar {
380
  margin-top: -36px;
382
  top: 100%;
383
  left: 0;
384
  width: 100%;
385
+ cursor: auto;
386
+ }
387
 
388
  .mfp-title {
389
  text-align: left;
391
  color: #f3f3f3;
392
  word-wrap: break-word;
393
  /*font-weight: bolder;*/
394
+ padding-right: 36px;
395
+ }
396
 
397
  .mfp-image-holder .mfp-content {
398
+ max-width: 100%;
399
+ }
400
 
401
  .mfp-gallery .mfp-image-holder .mfp-figure {
402
+ cursor: pointer;
403
+ }
404
+
405
+ .mfp-figure figcaption {
406
+ margin-bottom: 0;
407
+ margin-top: 0;
408
+ }
409
+
410
+ @media screen and (max-width: 800px) and (orientation: landscape),
411
+ screen and (max-height: 300px) {
412
 
 
413
  /**
414
  * Remove all paddings around the image on small screen
415
  */
416
  .mfp-img-mobile .mfp-image-holder {
417
  padding-left: 0;
418
+ padding-right: 0;
419
+ }
420
+
421
  .mfp-img-mobile img.mfp-img {
422
+ padding: 0;
423
+ }
424
+
425
  .mfp-img-mobile .mfp-figure:after {
426
  top: 0;
427
+ bottom: 0;
428
+ }
429
+
430
  .mfp-img-mobile .mfp-figure small {
431
  display: inline;
432
+ margin-left: 5px;
433
+ }
434
+
435
  .mfp-img-mobile .mfp-bottom-bar {
436
  background: rgba(0, 0, 0, 0.6);
437
  bottom: 0;
441
  position: fixed;
442
  -webkit-box-sizing: border-box;
443
  -moz-box-sizing: border-box;
444
+ box-sizing: border-box;
445
+ }
446
+
447
+ .mfp-img-mobile .mfp-bottom-bar:empty {
448
+ padding: 0;
449
+ }
450
+
451
  .mfp-img-mobile .mfp-counter {
452
  right: 5px;
453
+ top: 3px;
454
+ }
455
+
456
  .mfp-img-mobile .mfp-close {
457
  top: 0;
458
  right: 0;
462
  background: rgba(0, 0, 0, 0.6);
463
  position: fixed;
464
  text-align: center;
465
+ padding: 0;
466
+ }
467
+ }
468
 
469
  @media all and (max-width: 900px) {
470
  .mfp-arrow {
471
  -webkit-transform: scale(0.75);
472
+ transform: scale(0.75);
473
+ }
474
+
475
  .mfp-arrow-left {
476
  -webkit-transform-origin: 0;
477
+ transform-origin: 0;
478
+ }
479
+
480
  .mfp-arrow-right {
481
  -webkit-transform-origin: 100%;
482
+ transform-origin: 100%;
483
+ }
484
+
485
  .mfp-container {
486
  padding-left: 6px;
487
+ padding-right: 6px;
488
+ }
489
+ }
490
 
491
  .mfp-ie7 .mfp-img {
492
+ padding: 0;
493
+ }
494
+
495
  .mfp-ie7 .mfp-bottom-bar {
496
  width: 600px;
497
  left: 50%;
498
  margin-left: -300px;
499
  margin-top: 5px;
500
+ padding-bottom: 5px;
501
+ }
502
+
503
  .mfp-ie7 .mfp-container {
504
+ padding: 0;
505
+ }
506
+
507
  .mfp-ie7 .mfp-content {
508
+ padding-top: 44px;
509
+ }
510
+
511
  .mfp-ie7 .mfp-close {
512
  top: 0;
513
  right: 0;
514
+ padding-top: 0;
515
+ }
516
  .mfp-container,
517
  .rbs-img,
518
  .rbs-imges-load-more,
1030
  * Available only in https://robosoft.co/robogallery/
1031
  */
1032
 
1033
+ .robo_gallery .rbs-img-container div a:not(#robo_without_id),
1034
+ .robo_gallery .rbs-img-container div a:link:not(#robo_without_id),
1035
+ .robo_gallery .rbs-img-container div a:focus:not(#robo_without_id),
1036
+ .robo_gallery .rbs-img-container div a:hover:not(#robo_without_id){
1037
  border-bottom: none;
1038
+ background-color: transparent;
1039
  }
1040
 
1041
  .rbs_gallery_button_bottom .rbs-imges-no-more-entries{
includes/extensions/block/src/init.php CHANGED
@@ -30,7 +30,8 @@ if ( ! class_exists( 'RoboGallery_Blocks' ) ) {
30
  wp_enqueue_script(
31
  $this->prefix.'block-js',
32
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ),
33
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ),
 
34
  ROBO_GALLERY_VERSION,
35
  true // Enqueue the script in the footer.
36
  );
30
  wp_enqueue_script(
31
  $this->prefix.'block-js',
32
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ),
33
+ //array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ),
34
+ array( 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-block-editor'),
35
  ROBO_GALLERY_VERSION,
36
  true // Enqueue the script in the footer.
37
  );
includes/frontend/modules/base-grid/assets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/effects.set1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/grid/grid.columns.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/grid/grid.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/hover.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/layout.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -27,7 +27,7 @@ class roboGalleryModuleLayoutV1 extends roboGalleryModuleAbstraction{
27
 
28
  .'<style type="text/css" scoped>'.$this->core->getContent('CssBefore').'</style>'
29
 
30
- .'<div class="robo-gallery-wrap robo-gallery-wrap-id'.$this->id.' robo-gallery-'.$this->getMeta('gallery_type_source').'">'
31
  .$this->core->getContent('FirstInit')
32
 
33
  .$this->core->getContent('BlockBefore')
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
27
 
28
  .'<style type="text/css" scoped>'.$this->core->getContent('CssBefore').'</style>'
29
 
30
+ .'<div class="robo-gallery-wrap robo-gallery-wrap-id'.$this->id.' robo-gallery-'.$this->getMeta('gallery_type_source').'" '.$this->core->element->getElementAttrs('robo-gallery-wrap').'>'
31
  .$this->core->getContent('FirstInit')
32
 
33
  .$this->core->getContent('BlockBefore')
includes/frontend/modules/base-grid/lightbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/menu/menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/polaroid.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/resize.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/search.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/seo.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/size.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/tags.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/abstraction.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/addtexts.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/assets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/cache.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/cachedb.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/customcss.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/element.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/jsoptions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/loader.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/protection.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
+ * By Robosoft
6
+ *
7
+ * Contact: https://robogallery.co/
8
+ * Created: 2021
9
+ * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
+
11
+ */
12
+
13
+ if ( ! defined( 'WPINC' ) ) exit;
14
+
15
+ class roboGalleryModuleProtection extends roboGalleryModuleAbstraction{
16
+
17
+ public function init(){
18
+ if(!get_option( ROBO_GALLERY_PREFIX.'protectionEnable', 0 )) return ;
19
+ $this->core->addEvent('gallery.init', array($this, 'addProtection'));
20
+ }
21
+
22
+ public function addProtection( ){
23
+ if(!$this->id) return ;
24
+ $this->core->element->setElementAttr('robo-gallery-wrap', 'oncontextmenu', 'return false');
25
+ $this->core->element->setElementAttr('robo-gallery-wrap', 'onselectstart', 'return false');
26
+ $this->core->element->setElementAttr('robo-gallery-wrap', 'ondragstart', 'return false');
27
+ }
28
+ }
includes/frontend/modules/class/source/class.source.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/source/type/base.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.2 - 17786
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
includes/frontend/modules/class/source/type/slider.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.2 - 17786
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
includes/frontend/modules/class/source/type/youtube.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/stats.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/core.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -57,6 +57,8 @@ class roboGalleryModuleCore{
57
  $this->modules['addtexts'] = new roboGalleryModuleAddTexts( $this );
58
  $this->modules['customcss'] = new roboGalleryModuleCustomCss( $this );
59
  $this->modules['loader'] = new roboGalleryModuleLoader( $this );
 
 
60
 
61
 
62
  if( $this->gallery->gallery_type == 'slider' ){
@@ -78,6 +80,7 @@ class roboGalleryModuleCore{
78
  $this->modules['tags.v1'] = new roboGalleryModuleTagsV1( $this );
79
  $this->modules['size.v1'] = new roboGalleryModuleSizeV1( $this );
80
  $this->modules['effects.set1'] = new roboGalleryModuleEffectSet1( $this );
 
81
  //$this->modules['searchv1'] = new roboGalleryModuleSearchV1( $this );
82
  }
83
  }
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
57
  $this->modules['addtexts'] = new roboGalleryModuleAddTexts( $this );
58
  $this->modules['customcss'] = new roboGalleryModuleCustomCss( $this );
59
  $this->modules['loader'] = new roboGalleryModuleLoader( $this );
60
+ $this->modules['protection']= new roboGalleryModuleProtection( $this );
61
+
62
 
63
 
64
  if( $this->gallery->gallery_type == 'slider' ){
80
  $this->modules['tags.v1'] = new roboGalleryModuleTagsV1( $this );
81
  $this->modules['size.v1'] = new roboGalleryModuleSizeV1( $this );
82
  $this->modules['effects.set1'] = new roboGalleryModuleEffectSet1( $this );
83
+
84
  //$this->modules['searchv1'] = new roboGalleryModuleSearchV1( $this );
85
  }
86
  }
includes/frontend/modules/delete/abstraction.php DELETED
@@ -1,105 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleAbstraction{
16
-
17
- protected $id = null;
18
- protected $options_id = null;
19
- protected $galleryId = null;
20
-
21
- protected $core = null;
22
- protected $source = null;
23
- protected $gallery = null;
24
- protected $scssCompiler = null;
25
- protected $jsOptions = null;
26
- protected $element = null;
27
-
28
- protected $modulePath = null;
29
- protected $moduleUrl = null;
30
-
31
- protected $scssFiles = array();
32
- protected $scssVar = array();
33
- protected $scssContent = '';
34
-
35
-
36
- /*
37
- core - roboGalleryModuleCore
38
- */
39
- public function __construct( $core ){
40
- $this->core = $core;
41
- $this->source = $core->source;
42
- $this->gallery = $this->core->gallery;
43
- $this->scssCompiler = $this->core->scssCompiler;
44
- $this->jsOptions = $this->core->jsOptions;
45
- $this->element = $this->core->element;
46
-
47
- $this->id = $this->gallery->id;
48
- $this->options_id = $this->gallery->options_id;
49
- $this->galleryId = $this->gallery->galleryId;
50
-
51
- $classInfo = new ReflectionClass($this);
52
- $this->modulePath = plugin_dir_path($classInfo->getFileName());
53
- $this->moduleUrl = plugin_dir_url($classInfo->getFileName());
54
-
55
- $this->init();
56
- }
57
-
58
-
59
- public function init(){}
60
-
61
-
62
- public function addScssContent( $scss, $position = 'after' ){
63
- if($position=='after') $this->scssContent .= $scss;
64
- else $this->scssContent = $scss . $this->scssContent;
65
- }
66
-
67
-
68
- public function initScss(){
69
- $this->core->addEvent('scss.initImport', array($this, 'importScss'));
70
- $this->core->addEvent('scss.initVariables', array($this, 'initVariables'));
71
- $this->core->addEvent('scss.initContent', array($this, 'initContent'));
72
- }
73
-
74
-
75
- public function importScss( $scssCompiler ){
76
- if(!is_array($this->scssFiles) || !count($this->scssFiles)) return ;
77
-
78
- foreach ($this->scssFiles as $scssFile){
79
- if( count($scssFile)!=2 || !isset($scssFile['name']) || !isset($scssFile['path']) ) continue ;
80
-
81
- $scssCompiler->addFile( $scssFile['name'], $scssFile['path'] );
82
- }
83
-
84
- }
85
-
86
-
87
- public function initVariables( $scssCompiler ){
88
- $scssCompiler->addVariables( $this->scssVar );
89
- }
90
-
91
-
92
- public function initContent( $scssCompiler ){
93
- $scssCompiler->addContent( $this->scssContent );
94
- }
95
-
96
-
97
- public function getMeta( $optionName ){
98
- return $this->core->config->getMeta( $optionName );
99
- }
100
-
101
- public function getMetaCur( $optionName ){
102
- return $this->core->config->getMetaCur( $optionName );
103
- }
104
-
105
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/addtexts.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleAddTexts extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- if( $pretext = $this->getMetaCur('pretext') ) $this->core->setContent( '<div>'.$pretext.'</div>', 'Begin');
19
-
20
- if( $aftertext = $this->getMetaCur('aftertext') ) $this->core->setContent( '<div>'.$aftertext.'</div>', 'End');
21
- }
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/assets.php DELETED
@@ -1,218 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleAssetsV1{
16
-
17
-
18
-
19
-
20
- private $id = null;
21
- private $options_id = null;
22
-
23
- private $jsFiles = array();
24
- private $cssFiles = array();
25
-
26
- private $files = array(
27
- 'js' => array(),
28
- 'css' => array(),
29
- );
30
-
31
- private $altVersion = false;
32
-
33
- private $typeInclude = null; // api, forced,
34
-
35
-
36
- public function __construct( $core ){
37
- $this->core = $core;
38
- $this->gallery = $core->gallery;
39
-
40
- $this->id = $this->gallery->id;
41
- $this->options_id = $this->gallery->options_id;
42
-
43
- $this->initAssets();
44
- }
45
-
46
- public function initAssets(){
47
- $this->initTypeInclude();
48
- $this->initFiles();
49
- //$this->core->doEvent('gallery.assets.init', $this);
50
-
51
- // add_action( 'get_footer', array($this, 'addCssFiles') );
52
- // add_action( 'get_footer', array($this, 'addJsFiles') );
53
- $this->addJsFiles();
54
- $this->addCssFiles();
55
- }
56
-
57
-
58
- public function initTypeInclude(){
59
-
60
- $this->typeInclude = 'api';
61
- if( get_option( ROBO_GALLERY_PREFIX.'jqueryVersion', 'build' )!='build' ){
62
- $this->altVersion = true;
63
- if( get_option( ROBO_GALLERY_PREFIX.'jqueryVersion', 'build' )=='forced' ){
64
- $this->typeInclude = 'forced';
65
- }
66
-
67
- }
68
-
69
- if ( isset($_GET['action']) && $_GET['action'] == 'elementor' ) { // fix for elementor editor
70
- $this->typeInclude = 'forced';
71
- }
72
-
73
- if(
74
- is_array($this->gallery->attr) &&
75
- isset($this->gallery->attr['assetsIncludeForced']) &&
76
- $this->gallery->attr['assetsIncludeForced']
77
- ){
78
- $this->typeInclude = 'forced';
79
- }
80
-
81
- //$this->core->doEvent('gallery.assets.init.type', $this->typeInclude);
82
- }
83
-
84
- private function initJsFilesListAlt(){
85
- if(!$this->altVersion) return ;
86
- $this->files['js']['robo-gallery-alt'] = array(
87
- 'url' => ROBO_GALLERY_URL.'js/robo_gallery_alt.js',
88
- 'depend' => array()
89
- );
90
- }
91
-
92
-
93
- private function initJsFilesList(){
94
- if($this->altVersion) return ;
95
- $this->files['js']['jquery'] = array(
96
- 'url' => '',
97
- 'depend' => array()
98
- );
99
- $this->files['js']['robo-gallery'] = array(
100
- 'url' => ROBO_GALLERY_URL.'js/robo_gallery.js',
101
- 'depend' => array('jquery')
102
- );
103
- }
104
-
105
- private function initCssFilesList(){
106
- $this->files['css']['gallery'] = array(
107
- 'url' => ROBO_GALLERY_URL.'css/gallery.css',
108
- 'depend' => array()
109
- );
110
-
111
- if( get_option( ROBO_GALLERY_PREFIX.'fontLoad', 'on' )=='on'){
112
- $this->files['css']['font'] = array(
113
- 'url' => ROBO_GALLERY_URL.'css/gallery.font.css',
114
- 'depend' => array()
115
- );
116
- }
117
-
118
- /*$this->files['css']['hover'] = array(
119
- 'url' => ROBO_GALLERY_URL.'css/hover_set1.css',
120
- 'depend' => array()
121
- );*/
122
-
123
- //wp_enqueue_style( 'robo-gallery-hover-css', ROBO_GALLERY_URL.'css/hover_set1.css', array(), ROBO_GALLERY_VERSION, 'all' );
124
- }
125
-
126
- private function initFiles(){
127
- $this->initJsFilesListAlt();
128
- $this->initJsFilesList();
129
- $this->initCssFilesList();
130
- //$this->core->doEvent('gallery.assets.init.files', $this->files);
131
- }
132
-
133
- public function addCssFiles(){
134
- $this->initCustomAssets('css');
135
- $this->addCssFilesApi();
136
- $this->addCssFilesForced();
137
- }
138
-
139
- public function addJsFiles(){
140
- $this->initCustomAssets('js');
141
- $this->addJsFilesApi();
142
- $this->addJsFilesForced();
143
- }
144
-
145
- private function checkFileParams($fileParams){
146
- if( !is_array($fileParams) ) return false;
147
- if( !isset($fileParams['url']) ) return false;
148
- if( !isset($fileParams['depend']) || !is_array($fileParams['depend']) ) return false;
149
- return true;
150
- }
151
-
152
- public function addCssFilesApi(){
153
- if($this->typeInclude!='api') return ;
154
- foreach ($this->files['css'] as $fileLabel => $fileParams){
155
- if( !$this->checkFileParams($fileParams) ) continue ;
156
- wp_enqueue_style( $fileLabel, $fileParams['url'], $fileParams['depend'], ROBO_GALLERY_VERSION );
157
- }
158
- }
159
-
160
- public function addCssFilesForced(){
161
- if($this->typeInclude!='forced' ) return ;
162
- $scriptTags = '';
163
- foreach ($this->files['css'] as $fileLabel => $fileParams){
164
- if( !$this->checkFileParams($fileParams) ) continue ;
165
- $scriptTags .= '<link id="'.$fileLabel.'" rel="stylesheet" type="text/css" href="'.$fileParams['url'].'">';
166
- }
167
- $this->core->setContent( $scriptTags, 'End' );
168
- }
169
-
170
-
171
-
172
- public function addJsFilesApi(){
173
- if($this->typeInclude!='api') return ;
174
-
175
- foreach ($this->files['js'] as $fileLabel => $fileParams){
176
- if( !$this->checkFileParams($fileParams) ) continue ;
177
-
178
- wp_enqueue_script( $fileLabel, $fileParams['url'], $fileParams['depend'], ROBO_GALLERY_VERSION, true);
179
- }
180
- }
181
-
182
- public function addJsFilesForced(){
183
- if($this->typeInclude!='forced' ) return ;
184
- $scriptTags = '';
185
- foreach ($this->files['js'] as $fileLabel => $fileParams){
186
- if( !$this->checkFileParams($fileParams) ) continue ;
187
- $scriptTags .= ' <script type="text/javascript" src="'.$fileParams['url'].'"></script>';
188
- }
189
- $this->core->setContent( $scriptTags, 'End' );
190
- }
191
-
192
-
193
- function initCustomAssets( $type = 'css' ) {
194
-
195
- $customOptionFiles = get_option( ROBO_GALLERY_PREFIX.$type.'Files', '' );
196
- if( $customOptionFiles ){
197
- if( strpos( $customOptionFiles, ';')!==false ){
198
- $customOptionFiles = explode(';', $customOptionFiles);
199
- } else if( strpos( $customOptionFiles, "\n")!==false ){
200
- $customOptionFiles = explode( "\n", $customOptionFiles);
201
- } else $customOptionFiles = array( $customOptionFiles );
202
- }
203
-
204
- if( !is_array($customOptionFiles) || !count($customOptionFiles)) $customOptionFiles = array();
205
- $customFiles = array();
206
- for ($i = 0; $i < count($customOptionFiles); $i++){
207
- $customFiles['robo-gallery-'.$type.'-custom-file'.$i] = array(
208
- 'url' => site_url( trim( str_replace('\\', '/', $customOptionFiles[$i]) ) ),
209
- 'depends' => array()
210
- );
211
- }
212
-
213
- if( !is_array($customFiles) || !count($customFiles) ) return ;
214
-
215
- $this->files[$type] = array_merge($this->files[$type], $customFiles);
216
- }
217
-
218
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/cache.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleCache extends roboGalleryModuleAbstraction{
16
-
17
- public $cache = true;
18
- public $cacheTime = true;
19
- public $cacheId = true;
20
-
21
- public function init(){
22
- //return ;
23
- if( !$this->getMetaCur('cache') ) return ;
24
-
25
- $this->cacheId = $this->gallery->id ;
26
-
27
- $this->initCacheTime();
28
-
29
- $this->core->addEvent('gallery.render.begin.before',array($this, 'readCache'));
30
- $this->core->addEvent('gallery.render.end', array($this, 'saveCache'));
31
- }
32
-
33
- public function initCacheTime(){
34
- $this->cacheTime = (int) get_option(ROBO_GALLERY_PREFIX.'cache', '12');
35
- if(!$this->cacheTime) $this->cacheTime = 12;
36
- $this->cacheTime = $this->cacheTime * HOUR_IN_SECONDS;
37
- }
38
-
39
- public function readCache(){
40
- return get_transient( ROBO_GALLERY_PREFIX.'cache_id'.$this->cacheId );
41
- }
42
-
43
- public function saveCache(){
44
- set_transient( ROBO_GALLERY_PREFIX.'cache_id'.$this->cacheId , $this->gallery->returnHtml, $this->cacheTime );
45
- }
46
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/cachedb.php DELETED
@@ -1,104 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- /* todo: singleton */
14
-
15
- if ( ! defined( 'WPINC' ) ) exit;
16
-
17
- class roboGalleryModuleCacheDB {
18
-
19
- private $core = null;
20
- private $cache_time = 3000;
21
- private $table_name = '';
22
- private $wpdb = null;
23
-
24
- public function __construct( $core ) {
25
- $this->core = $core;
26
- $this->init();
27
- $this->checkVersion();
28
- }
29
-
30
- private function init(){
31
- global $wpdb;
32
-
33
- $this->wpdb = $wpdb;
34
- $this->table_name = $wpdb->prefix.'robogallery_cache';
35
- $this->cache_time = (int) get_site_option( ROBO_GALLERY_PREFIX.'dbcache_time', 3000);
36
- //$this->wpdb->show_errors();
37
- }
38
-
39
- private function checkVersion() {
40
- $saved_db_version = (int) get_site_option( ROBO_GALLERY_PREFIX.'dbcache_version', -1);
41
-
42
- if( $saved_db_version==-1 ) add_site_option( ROBO_GALLERY_PREFIX.'dbcache_version', 0);
43
-
44
- if ( $saved_db_version < 100 && $this->createTables() ) {
45
- update_site_option( ROBO_GALLERY_PREFIX.'dbcache_version', 100);
46
- }
47
- }
48
-
49
- private function createTables(){
50
- $charset_collate = $this->wpdb->get_charset_collate();
51
- $sql = "CREATE TABLE IF NOT EXISTS ".$this->table_name ." (
52
- id int(11) NOT NULL AUTO_INCREMENT,
53
- cache_id varchar(255) DEFAULT NULL,
54
- cache_content longtext NOT NULL,
55
- time bigint(11) DEFAULT '0' NOT NULL,
56
- UNIQUE KEY id (id)
57
- ) $charset_collate;";
58
- //require_once( ABSPATH.'wp-admin/includes/upgrade.php' );
59
- //dbDelta( $sql );
60
- $result = $this->wpdb->get_results($sql);
61
- return true;
62
- }
63
-
64
- public function update( $resourceId, $data ){
65
- $oldCache = $this->getContent( $resourceId );
66
-
67
- if ( is_array($oldCache) ){
68
- echo 'run delete';
69
- $this->delete( $resourceId );
70
- }
71
-
72
- $this->wpdb->insert(
73
- $this->table_name,
74
- array(
75
- 'cache_id' => $resourceId,
76
- 'cache_content' => json_encode($data),
77
- 'time' => time()
78
- ),
79
- array( '%s', '%s' ,'%d')
80
- );
81
- //print_r($this->wpdb);
82
- }
83
-
84
- public function delete( $resourceId ){
85
- return $this->wpdb->delete( $this->table_name, array( 'cache_id' => $resourceId ), array( '%s' ) );
86
- }
87
-
88
- public function getContent( $resourceId, $cache_time = 0 ){ return false;
89
- $sql = $this->wpdb->prepare( 'SELECT * FROM '.$this->table_name.' WHERE cache_id = %s limit 1', $resourceId );
90
- $row = $this->wpdb->get_row( $sql );
91
- //var_dump($row);
92
- if( !is_object($row) || !$row->cache_content || !$row->time ) return false;
93
-
94
- if(!$cache_time) $cache_time = $this->cache_time;
95
-
96
- if( time() - $row->time >= $this->cache_time ){
97
- $this->delete($resourceId);
98
- return false;
99
- }
100
-
101
- return json_decode( $row->cache_content, 1 );
102
- }
103
-
104
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/config.php DELETED
@@ -1,65 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleConfigV1{
16
-
17
- private $id = null;
18
- private $options_id = null;
19
- private $config = array();
20
-
21
- public function __construct( $core ){
22
- $this->core = $core;
23
- $this->gallery = $core->gallery;
24
-
25
- $this->id = $this->gallery->id;
26
- $this->options_id = $this->gallery->options_id;
27
-
28
- $this->initConfig();
29
- }
30
-
31
- public function initConfig(){
32
- $this->config = array();
33
-
34
- $config = get_post_meta( $this->options_id );
35
- //$this->core->doEvent('gallery.config.get', $config);
36
- if( !is_array($config) || !count($config) ) return ;
37
-
38
- foreach ($config as $key => $value) {
39
-
40
- if( !is_array($value) || !isset($value[0]) ) continue ;
41
- $value = $value[0];
42
- if( is_serialized($value) ) $value = maybe_unserialize( $value );
43
-
44
- //$this->core->doEvent('gallery.config.set.', $key, $value);
45
-
46
- $this->config[$key] = $value;
47
- }
48
- //print_r($this->config);
49
- //print_r( array_keys($this->config) );
50
- //$this->core->doEvent('gallery.config.init', $this->config);
51
- }
52
-
53
- public function getMetaRaw( $name ){
54
- if( !isset($this->config[$name]) ) return ;
55
- return $this->config[$name];
56
- }
57
-
58
- public function getMeta( $name ){
59
- return $this->getMetaRaw( ROBO_GALLERY_PREFIX.$name );
60
- }
61
-
62
- public function getMetaCur( $name ){
63
- return get_post_meta( $this->id, ROBO_GALLERY_PREFIX.$name, true );
64
- }
65
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/customcss.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleCustomCss extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- if( $customCss = $this->getMeta('cssStyle') ) $this->core->setContent( $customCss, 'CssBefore');
19
- }
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/effects.set1.php DELETED
@@ -1,102 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleEffectSet1 extends roboGalleryModuleAbstraction{
16
-
17
- private $effect = 'zoe';
18
- private $template = '';
19
-
20
- public function init(){
21
- if( $this->getMeta('effectType') != 'set1') return ;
22
-
23
- $this->initScss();
24
- //$this->core->addEvent('gallery.block.before', array($this, 'initHover'));
25
- $this->core->addEvent('gallery.init', array($this, 'initEffect'));
26
- }
27
-
28
- public function initEffect(){
29
- //$this->effect = $this->getMeta('effectStyle'); //'lily' 'sadie' roxy
30
- if(!$this->effect) return ;
31
-
32
- $this->core->jsOptions->setValue( 'effectType', 'set1Effect' );
33
-
34
- $this->core->element->addClass('robo_gallery', 'rbs_effect_set1');
35
- $this->core->element->addClass('robo_gallery', 'effect-'.$this->effect);
36
- $this->core->jsOptions->setValue( 'effectStyle', $this->effect );
37
-
38
- $this->initContentTemplate();
39
-
40
- $this->core->addEvent('gallery.image.rbs-img-thumbs-block', array($this, 'renderImgThumbsBlock') );
41
- }
42
- private function internoetics_mb_strimwidth($string, $start = 0, $width = 120, $trimmarker = '...') {
43
- $len = strlen(trim($string));
44
- $newstring = ( ($len > $width) && ($len != 0) ) ? rtrim(mb_strimwidth($string, $start, $width - strlen($trimmarker))) . $trimmarker : $string;
45
- return $newstring;
46
- }
47
-
48
- public function renderImgThumbsBlock($item){
49
- $hoverHTML = $this->template;
50
-
51
- $hoverHTML = str_replace(
52
- array('@TITLE@','@CAPTION@','@DESC@', '@LINK@', '@VIDEOLINK@'),
53
- array(
54
- $this->internoetics_mb_strimwidth( $item['data']->post_title, 0, 25),
55
- $item['data']->post_excerpt,
56
- $item['data']->post_content,
57
- $item['link'],
58
- $item['videolink'],
59
- ),
60
- $hoverHTML
61
- );
62
- return $hoverHTML;
63
- }
64
-
65
- private function initContentTemplate(){
66
- $template =
67
- '<figcaption>
68
- <h2>@TITLE@</h2>
69
- <p class="icon-links">
70
-
71
- <a href="#"><span class="icon-eye"></span></a>
72
- <a href="#"><span class="icon-paper-clip"></span></a>
73
- </p>
74
- <p class="description">@DESC@</p>
75
- </figcaption>';
76
-
77
- /*
78
-
79
- <a href="#"><span class="icon-heart"></span></a>
80
-
81
- $template =
82
-
83
- '<figcaption>
84
- <div>
85
- <h2>@TITLE@</h2>
86
- <p>@DESC@</p>
87
- </div>
88
- </figcaption>';*/
89
-
90
- $this->template = $template;
91
-
92
- }
93
-
94
- private function initBlockClass(){
95
-
96
- }
97
-
98
- private function initImageClass(){
99
-
100
- }
101
-
102
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/element.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- /*
16
- isElementHasClass( element, class ) : boolean
17
- isElementHasAttr( element, class ) : boolean
18
- isElementHasStyle( element, class ) : boolean
19
-
20
- addClass( element, class )
21
- addElementStyle( element, style, $value )
22
- setElementAttr( element, attr, value )
23
-
24
- getElementClasses( element, id = 0 )
25
- getElementStyles( element, id = 0 )
26
-
27
- getElementAttr( element, attrName )
28
- getElementClass( element, attrName )
29
-
30
- getElementAttrs( element, id = 0 )
31
-
32
- */
33
-
34
- class roboGalleryModuleElement{
35
-
36
- private $core = null;
37
- private $gallery = null;
38
-
39
- private $id = null;
40
- private $options_id = null;
41
-
42
- protected $elementClass = array();
43
- protected $elementAttr = array();
44
- protected $elementStyle = array();
45
-
46
- public function __construct( $core ){
47
- $this->core = $core;
48
- $this->gallery = $core->gallery;
49
-
50
- $this->id = $this->gallery->id;
51
- $this->options_id = $this->gallery->options_id;
52
-
53
- }
54
-
55
- public function isElementHas( $type, $element, $attrName= '' ){
56
- if( !$type || !$element ) return ;
57
- if( !isset($this->{'element'.$type}[$element]) ) return ;
58
- if( !$attrName ) return true;
59
- if( !isset($this->{'element'.$type}[$element][$attrName]) ) return ;
60
- if( !$this->{'element'.$type}[$element][$attrName] ) return ;
61
- return true;
62
- }
63
-
64
- public function isElementHasClass( $element, $attrName= '' ){ return $this->isElementHas('Class', $element, $attrName); }
65
- public function isElementHasAttr( $element, $attrName= '' ){ return $this->isElementHas('Attr', $element, $attrName); }
66
- public function isElementHasStyle( $element, $attrName= '' ){ return $this->isElementHas('Style', $element, $attrName); }
67
-
68
-
69
- public function set( $type, $element, $attrName, $value='' ){
70
- if( !$type || !$element || !$attrName ) return ;
71
- if( !$this->isElementHas( $type, $element) ) $this->{'element'.$type}[$element] = array();
72
- $this->{'element'.$type}[$element][$attrName] = $value;
73
- }
74
-
75
- public function addClass( $element, $attrName ) { $this->set('Class', $element, $attrName, $attrName); }
76
- public function addElementStyle( $element, $attrName, $value='' ) { $this->set('Style', $element, $attrName, $value); }
77
- public function setElementAttr( $element, $attrName, $value='' ) { $this->set('Attr', $element, $attrName, $value); }
78
-
79
-
80
-
81
- public function getElementClasses( $element, $id = 0 ){ return $this->getElementValsList('Class', $element, $id); }
82
- public function getElementValsList( $type, $element, $id = 0 ){
83
- if( !$type || !$element ) return ;
84
-
85
- $elementValsList = ' ';
86
- if( $id ) $elementValsList .= $this->getElementValsList( $type, $element.$id );
87
-
88
- if( !$this->isElementHas( $type, $element ) ) return $elementValsList;
89
-
90
- foreach ( $this->{'element'.$type}[$element] as $name => $value) {
91
- $elementValsList .= $value.' ' ;
92
- }
93
- return $elementValsList;
94
- }
95
-
96
-
97
- public function getElementAttr( $element, $attrName ){ return $this->getElementVal('Attr', $element, $attrName); }
98
- public function getElementClass( $element, $attrName ){ return $this->getElementVal('Class', $element, $attrName); }
99
-
100
- public function getElementVal( $type, $element, $attrName ){
101
- if( !$type || !$element || !$attrName ) return ;
102
- if( !$this->isElementHas( $type, $element, $attrName ) ) return ;
103
- return $this->{'element'.$type}[$element][$attrName];
104
- }
105
-
106
-
107
- public function getElementStyles( $element, $id = 0 ){
108
- if( !$element ) return ;
109
- $styles = '';
110
- if($id) $styles .= $this->getElementStyles( $element.$id );
111
-
112
- if( !$this->isElementHas( 'Style', $element ) ) return $styles;
113
-
114
- foreach ( $this->elementStyle[$element] as $name => $value) {
115
- $styles .= $name.':'.$value.';';
116
- }
117
- return $styles;
118
- }
119
-
120
- public function getElementAttrs( $element, $id = 0 ){ return $this->getElementVals( 'Attr', $element, $id ); }
121
- public function getElementVals( $type, $element, $id = 0 ){
122
- if( !$type || !$element ) return ;
123
- $attrs = '';
124
- if($id) $attrs .= $this->getElementVals( $type, $element.$id );
125
-
126
- if( !$this->isElementHas( $type, $element ) ) return $attrs;
127
-
128
- foreach( $this->{'element'.$type}[$element] as $name => $value){
129
- $attrs .= ' '.$name.'="'.$value.'" ';
130
- }
131
- return $attrs;
132
- }
133
-
134
-
135
-
136
- /*public function updateClass( $element, $newClass, $oldClass = '' ){
137
- if( !$element || !$newClasses ) return ;
138
-
139
- if( $oldClass && $this->isElementHasClass($element, $oldClass) ){
140
- $this->removeClass($element, $oldClass);
141
- }
142
- $this->addClass($element, $newClass);
143
- }
144
-
145
- public function removeClass( $element, $removeClass ){
146
- if( !$element || !$removeClass ) return ;
147
- if( !$this->isElementHasClass($element, $removeClass) ) return ;
148
- unset($this->elementClass[$element][$removeClass]);
149
- return true;
150
- }
151
-
152
- public function removeClasses( $element, $removeClasses ){
153
- if( !$element || !is_array($removeClasses) || !count($removeClasses) ) return ;
154
- foreach($removeClasses as $removeClass) $this->removeClass( $element, $removeClass );
155
- }
156
- */
157
-
158
-
159
-
160
-
161
-
162
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/grid/grid.columns.v1.php DELETED
@@ -1,78 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleGridColumnsV1 extends roboGalleryModuleAbstraction{
16
-
17
- private $resolutions = array();
18
- private $columns = array();
19
-
20
- public function init(){
21
- $this->initColumns();
22
- }
23
-
24
- private function initDefaultColumns(){
25
- if( isset($this->columns['autowidth']) ){
26
-
27
- $this->jsOptions->setValue( 'columnWidth', 'auto' );
28
-
29
- if( isset($this->columns['colums']) && $this->columns['colums'] ){
30
- $this->jsOptions->setValue( 'columns', $this->columns['colums'] );
31
- }
32
-
33
- }elseif( isset($this->columns['width']) ){
34
- $this->jsOptions->setValue( 'columnWidth', $this->columns['width'] );
35
- }
36
- }
37
-
38
-
39
- private function initResolutions(){
40
- if( !is_array($this->resolutions) || !count($this->resolutions) ) return ;
41
- $this->jsOptions->setValue( 'resolutions', $this->resolutions );
42
- }
43
-
44
-
45
- private function initColumns(){
46
- $this->columns = $this->getMeta('colums');
47
-
48
- if( !is_array($this->columns) || !count($this->columns) ) return ;
49
-
50
- $this->initDefaultColumns();
51
-
52
- $this->addWidthRow( 1 );
53
- $this->addWidthRow( 2 );
54
- $this->addWidthRow( 3 );
55
-
56
- $this->initResolutions();
57
- }
58
-
59
-
60
- private function addWidthRow( $index ){
61
- $ret = array();
62
-
63
- if( isset( $this->columns['autowidth'.$index]) ){
64
- $ret['columnWidth'] = 'auto';
65
- if( isset( $this->columns['colums'.$index]) && $this->columns['colums'.$index] ) $ret['columns'] = $this->columns['colums'.$index];
66
- } elseif( isset( $this->columns['width'.$index]) && $this->columns['width'.$index] ) $ret['columnWidth'] = $this->columns['width'.$index];
67
-
68
- if( !count($ret) ) return ;
69
-
70
- switch ($index) {
71
- case '1': $r = '960'; break;
72
- case '2': $r = '650'; break;
73
- case '3': $r = '450'; break;
74
- }
75
- $ret['maxWidth'] = $r;
76
- $this->resolutions[] = $ret;
77
- }
78
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/grid/grid.scss DELETED
@@ -1,19 +0,0 @@
1
- $thumbRadius: 0px !default;
2
-
3
- $backgroundHover: rgba(7, 7, 7, 0.5) !default;
4
-
5
- $backgroundLoading: #ffffff !default;
6
-
7
- .robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .image-with-dimensions{
8
- background-color: $backgroundLoading;
9
- }
10
-
11
- .robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs-img-container {
12
- -moz-border-radius: $thumbRadius;
13
- -webkit-border-radius: $thumbRadius;
14
- border-radius: $thumbRadius;
15
- }
16
-
17
- .robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .thumbnail-overlay {
18
- background: $backgroundHover;
19
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/grid/grid.v1.php DELETED
@@ -1,172 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleGridV1 extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- $this->initScss();
19
- $this->core->addEvent('gallery.init', array($this, 'initGrid'));
20
- }
21
-
22
- private function addScssFiles(){
23
- $this->scssFiles[] = array(
24
- 'name' => 'grid.scss',
25
- 'path' => 'grid/',
26
- );
27
- }
28
-
29
-
30
- public function initGrid(){
31
-
32
- $this->addScssFiles();
33
-
34
- $this->initBgOverlay();
35
-
36
- $this->initBgLoading();
37
-
38
- $this->initThumbs();
39
-
40
- $this->initShadow();
41
-
42
- $this->initBorder();
43
-
44
- $this->initJsOptions();
45
-
46
- $this->core->addEvent('gallery.image.init.before', array($this, 'initDataForImg'));
47
- }
48
-
49
-
50
- public function initDataForImg($img){
51
- $this->initImageColumns($img);
52
- $this->initImageEffects($img);
53
- $this->initThumbsTag($img);
54
- }
55
-
56
-
57
- public function initThumbsTag( $img ){
58
- if( !isset($img['thumb']) ) return ;
59
-
60
- $this->element->setElementAttr('rbs-img-thumbs-block'.$img['id'], 'data-thumbnail', $img['thumb'] );
61
-
62
- if(isset($img['data'])) $this->element->setElementAttr('rbs-img-thumbs-block'.$img['id'], 'title', esc_attr($img['data']->post_title) );
63
-
64
- $sizeType = $this->element->getElementAttr('global', 'sizeType');
65
- $width = $sizeType && isset($img['sizeW']) ? $this->element->getElementAttr('global', 'baseWidth') : $img['sizeW'];
66
- $height = $sizeType && isset($img['sizeH']) ? $this->element->getElementAttr('global', 'baseHeight'): $img['sizeH'];
67
-
68
- $this->element->setElementAttr('rbs-img-thumbs-block'.$img['id'], 'data-width', $width);
69
- $this->element->setElementAttr('rbs-img-thumbs-block'.$img['id'], 'data-height', $height);
70
- }
71
-
72
- public function initImageColumns($img){
73
- if( !isset( $img['col']) || !$img['col'] || !(int)$img['col'] || !isset($img['id']) ) return ;
74
- $this->element->setElementAttr('rbs-img-block'.$img['id'], 'data-columns', (int) $img['col'] );
75
- }
76
-
77
- public function initImageEffects($img){
78
- if( !isset( $img['effect']) || !$img['effect'] ) return ;
79
- $this->element->setElementAttr('rbs-img-image-block'.$img['id'], 'data-overlay-effect', $img['effect'] );
80
- }
81
-
82
- private function initJsOptions(){
83
- $this->jsOptions->setOption( 'overlayEffect');
84
- $this->jsOptions->setOption( 'boxesToLoadStart');
85
- $this->jsOptions->setOption( 'boxesToLoad');
86
- $this->jsOptions->setOption( 'lazyLoad');
87
- $this->jsOptions->setOption( 'waitUntilThumbLoads');
88
- $this->jsOptions->setOption( 'waitForAllThumbsNoMatterWhat');
89
- $this->jsOptions->setOption( 'LoadingWord');
90
- $this->jsOptions->setOption( 'loadMoreWord');
91
- $this->jsOptions->setOption( 'noMoreEntriesWord');
92
- $this->jsOptions->setOption( 'horizontalSpaceBetweenBoxes');
93
- $this->jsOptions->setOption( 'verticalSpaceBetweenBoxes');
94
- }
95
-
96
- private function initThumbs(){
97
- $this->scssVar['thumbRadius'] = (int) $this->getMeta('radius').'px';
98
- }
99
-
100
- private function initBgLoading(){
101
- if( !$this->getMeta('loadingBgColor') ) return ;
102
- $this->scssVar['backgroundLoading'] = $this->getMeta('loadingBgColor');
103
- }
104
-
105
- private function initBgOverlay(){
106
- if( !$this->getMeta('background') ) return;
107
- $this->scssVar['backgroundHover'] = $this->getMeta('background');
108
- }
109
-
110
- private function initBorder(){
111
- if( $borderStyle = $this->getBorderStyle('border') )
112
- $this->addScssContent( '.robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs-img-container{'.$borderStyle.'}' );
113
-
114
- if( $borderStyle = $this->getBorderStyle('hover-border') )
115
- $this->addScssContent( '.robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs-img-container:hover{'.$borderStyle.'}' );
116
- }
117
-
118
- private function initShadow(){
119
- if( $shadowStyle = $this->getShadowStyle('shadow') )
120
- $this->addScssContent( '.robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs-img-container{'.$shadowStyle.'}' );
121
-
122
- if( $shadowStyle = $this->getShadowStyle('hover-shadow') )
123
- $this->addScssContent( '.robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs-img-container:hover{'.$shadowStyle.'}' );
124
- }
125
-
126
- private function getBorderStyle( $name ){
127
-
128
- if( !$this->getMeta($name) ) return ;
129
-
130
- $border = $this->getMeta( $name.'-options' );
131
- if( !is_array($border) || !count($border) ) return ;
132
-
133
- $borderStyle = '';
134
-
135
- if( isset($border['width'])){
136
- $borderStyle.= (int) $border['width'].'px ';
137
- if( $name =='border'){
138
- $this->jsOptions->setValue( 'borderSize', (int) $border['width'] );
139
- }
140
- }
141
- if( isset($border['style'])) $borderStyle.= $border['style'].' ';
142
- if( isset($border['color'])) $borderStyle.= $border['color'].' ';
143
- return 'border: '.$borderStyle.';';
144
- }
145
-
146
-
147
- private function getShadowStyle( $name ){
148
- if( !$this->getMeta($name) ) return ;
149
-
150
- $shadow = $this->getMeta( $name.'-options' );
151
- if( !is_array($shadow) || !count($shadow) ) return ;
152
-
153
- $defaultShadow = array(
154
- 'hshadow' => 0,
155
- 'vshadow' => 0,
156
- 'bshadow' => 0,
157
- 'color' => '',
158
- );
159
- $shadow = array_merge( $defaultShadow , $shadow );
160
-
161
- $shadowStyle = (int) $shadow['hshadow'].'px '
162
- .(int) $shadow['vshadow'].'px '
163
- .(int) $shadow['bshadow'].'px '
164
- .$shadow['color'].' ';
165
-
166
- return '-webkit-box-shadow:'.$shadowStyle.';'.
167
- '-moz-box-shadow: '.$shadowStyle.';'.
168
- '-o-box-shadow: '.$shadowStyle.';'.
169
- '-ms-box-shadow: '.$shadowStyle.';'.
170
- 'box-shadow: '.$shadowStyle.';';
171
- }
172
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/hover/hover.v1.php DELETED
@@ -1,159 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleHoverV1 extends roboGalleryModuleAbstraction{
16
-
17
- const hoverTypeDisable = 0;
18
- const hoverTypeEffect = 'baseEffect';
19
-
20
- const hoverTypeIcons = 1;
21
- const hoverTypeTemplate = 2;
22
-
23
- private $style = array();
24
- private $hoverType = null;
25
-
26
- private $linkIcon = '';
27
- private $zoomIcon = '';
28
- private $titleHover = '';
29
- private $descHover = '';
30
-
31
- public function init(){
32
- $this->initScss();
33
- //$this->core->addEvent('gallery.block.before', array($this, 'initHover'));
34
- $this->core->addEvent('gallery.init', array($this, 'initHover'));
35
- }
36
-
37
-
38
- public function initHover(){
39
- $this->hoverType = $this->getMeta('hover');
40
- if( $this->hoverType == self::hoverTypeDisable ) return ;
41
-
42
- //if( $this->getMeta('effectType') != self::hoverTypeEffect ) return ;
43
-
44
- $this->initMobileHover();
45
- $this->initIconsHover();
46
- $this->initTemplateHover();
47
-
48
- $this->initCssStyle();
49
-
50
- $this->core->addEvent('gallery.image.init', array($this, 'getHoverContent'));
51
- }
52
-
53
-
54
- private function initCssStyle(){
55
- if( !is_array($this->style) && !count($this->style) ) return ;
56
-
57
- foreach ($this->style as $elClass => $cssStyle) {
58
- $this->scssContent .= '.robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .'.$elClass.'{'
59
- .$cssStyle
60
- .'}';
61
- }
62
-
63
- }
64
-
65
- private function initMobileHover(){
66
- if( !$this->getMeta('noHoverOnMobile' ) ) return ;
67
- $this->jsOptions->setValue( 'noHoverOnMobile', 'false' );
68
- }
69
-
70
- private function initTemplateHover(){
71
- if( $this->hoverType != self::hoverTypeTemplate ) return ;
72
- $this->templateHover= $this->getMeta('desc_template');
73
- }
74
-
75
- private function initIconsHover(){
76
- if( $this->hoverType != self::hoverTypeIcons) return ;
77
-
78
- $this->linkIcon = $this->getTemplateItem( $this->getMeta('linkIcon'), 'rbsLinkIcon', 1 );
79
- $this->zoomIcon = $this->getTemplateItem( $this->getMeta('zoomIcon'), 'rbsZoomIcon', 1 , ($this->getMeta('thumbClick')?' rbs-lightbox':'') );
80
- $this->titleHover = $this->getTemplateItem( $this->getMeta('showTitle'),'rbsTitle', '@TITLE@' );
81
- $this->descHover = $this->getTemplateItem( $this->getMeta('showDesc'), 'rbsDesc', '@DESC@' );
82
- }
83
-
84
-
85
- private function getTemplateItem( $item, $class = '', $template = '', $addClass = '' ){
86
-
87
- if( !is_array($item) || !count($item) ) return ;
88
- if( !isset($item['enabled']) || !$item['enabled'] ) return ;
89
-
90
- $this->style[$class] = '';
91
-
92
- if( isset($item['fontSize'])) $this->style[$class] .= ' font-size:'. (int)$item['fontSize'].'px;';
93
- if( isset($item['fontLineHeight'])) $this->style[$class] .= ' line-height:'. (int)$item['fontLineHeight'].'%;';
94
- if( isset($item['color'])) $this->style[$class] .= ' color:'. $item['color'].';';
95
- if( isset($item['fontBold'])) $this->style[$class] .= ' font-weight:'. ($item['fontBold'] ?'bold' :'normal').';';
96
- if( isset($item['fontItalic'])) $this->style[$class] .= ' font-style:'. ($item['fontItalic'] ?'italic' :'normal').';';
97
- if( isset($item['fontUnderline'])) $this->style[$class] .= ' text-decoration:'.($item['fontUnderline'] ?'underline':'none').';';
98
- if( isset($item['colorHover'])) $this->style[$class] .= ' &:hover{ color:'. $item['colorHover'].'; }';
99
-
100
- if( $template!=1 ) return '<div class="'.$class.' '.$addClass.'">'.$template.'</div>';
101
-
102
- if(isset($item['colorBg'])) $this->style[$class] .= 'background:'.$item['colorBg'].';';
103
-
104
- if(isset($item['color']) && isset($item['borderSize']) && $item['borderSize'])
105
- $this->style[$class] .= 'border:'.(int)$item['borderSize'].'px solid '.$item['color'].';';
106
-
107
- if(isset($item['colorHover']) && isset($item['borderSize']) && $item['borderSize'])
108
- $this->style[$class] .= '&:hover{ border:'.(int)$item['borderSize'].'px solid '.$item['colorHover'].'; }';
109
-
110
- if(isset($item['colorBgHover']))
111
- $this->style[$class] .= '&:hover{ background:'.$item['colorBgHover'].'; }';
112
-
113
- return '<i class="fa '.$item['iconSelect'].' '.$class.' '.$addClass.'" ></i>';
114
- }
115
-
116
-
117
- function getHoverContent( $img ){
118
- $hoverHTML = '';
119
-
120
- if($this->hoverType == self::hoverTypeIcons ){
121
- $hoverHTML .= $this->titleHover;
122
- if( $this->linkIcon || $this->zoomIcon ){
123
- $hoverHTML .= '<div class="rbsIcons">';
124
- if($this->linkIcon && $img['link'])
125
- $hoverHTML .= '<a href="@LINK@" '.($img['typelink']?'target="_blank"':'').' title="@TITLE@">'
126
- .$this->linkIcon
127
- .'</a>';
128
- if($this->zoomIcon) $hoverHTML .= $this->zoomIcon;
129
- $hoverHTML .= '</div>';
130
- }
131
- $hoverHTML .= $this->descHover;
132
- }
133
-
134
-
135
- /* robo_gallery check in class */
136
- if( $this->hoverType == self::hoverTypeTemplate && $this->templateHover){
137
- $hoverHTML = $this->templateHover;
138
- }
139
-
140
-
141
- if($hoverHTML){
142
- $hoverHTML = str_replace(
143
- array('@TITLE@','@CAPTION@','@DESC@', '@LINK@', '@VIDEOLINK@'),
144
- array(
145
- $img['data']->post_title,
146
- $img['data']->post_excerpt,
147
- $img['data']->post_content,
148
- $img['link'],
149
- $img['videolink'],
150
- ),
151
- $hoverHTML
152
- );
153
- }
154
- $hoverHTML = '<div class="thumbnail-overlay">'.$hoverHTML.'</div>'; //.( !$this->zoomIcon ?'rbs-lightbox':'')
155
-
156
- return $hoverHTML;
157
- }
158
-
159
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/jsoptions.php DELETED
@@ -1,106 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleJsOptionsV1{
16
- private $id = null;
17
- private $options_id = null;
18
-
19
- protected $options = array();
20
-
21
-
22
- public function __construct( $core ){
23
- $this->core = $core;
24
- $this->gallery = $core->gallery;
25
-
26
- $this->id = $this->gallery->id;
27
- $this->options_id = $this->gallery->options_id;
28
-
29
- $this->initJsOptions();
30
- }
31
-
32
-
33
- private function initJsOptions(){
34
- $this->setValue( 'version', ROBO_GALLERY_VERSION);
35
- $this->setValue( 'id', $this->id);
36
- $this->setValue( 'class', 'id'.$this->id);
37
- $this->setValue( 'roboGalleryDelay', 1000 );
38
- $this->setValue( 'mainContainer', '#robo_gallery_main_block_'.$this->gallery->galleryId );
39
- }
40
-
41
-
42
- static function setNestedArrayValue(&$array, $path, &$value, $delimiter = '/') {
43
- $pathParts = explode($delimiter, $path);
44
- $current = &$array;
45
- foreach($pathParts as $key){
46
- if( !is_array($current) ) $current = array();
47
- $current = &$current[$key];
48
- }
49
- $backup = $current;
50
- $current = $value;
51
- return $backup;
52
- }
53
-
54
-
55
- public function setValue( $valName, $value ){
56
- if( strpos($valName, '/')!==false ){
57
- self::setNestedArrayValue( $this->options, $valName, $value);
58
- return ;
59
- }
60
-
61
- if( isset($this->options[$valName]) ){
62
- if( is_array($this->options[$valName]) ){
63
- if( is_array($value) ) $this->options[$valName] = $this->options[$valName] + $value;
64
- else $this->options[$valName][] = $value;
65
- }
66
- return ;
67
- }
68
- $this->options[$valName] = $value;
69
- }
70
-
71
-
72
- public function setJsFunction($valName, $funcCode){
73
- if(is_array($funcCode)){
74
- if( count($funcCode)){
75
- foreach ($funcCode as $funcName => $funcCodeCur ) {
76
- $this->setJsFunction($valName.'/'.$funcName, $funcCodeCur);
77
- }
78
- }
79
- return ;
80
- }
81
- $this->setValue($valName, '|***'.$funcCode.'***|');
82
- }
83
-
84
-
85
- public function setOption( $valName ){
86
- $value = $this->core->getMeta($valName);
87
- $this->setValue($valName , $value);
88
- }
89
-
90
-
91
- private static function fixJsFunction( $json ){
92
- return str_replace(
93
- array( '"|***', '***|"' ),
94
- array( '', '' ),
95
- $json
96
- );
97
- }
98
-
99
-
100
- public function getOptionList(){
101
- $json = json_encode( $this->options, JSON_NUMERIC_CHECK );
102
- $json = self::fixJsFunction($json);
103
- return $json;
104
- }
105
-
106
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/layout.v1/layout.v1.php DELETED
@@ -1,103 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleLayoutV1 extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- $this->core->addEvent('gallery.block.main', array($this, 'renderMainBlock'));
19
- }
20
-
21
-
22
-
23
- public function renderMainBlock(){
24
-
25
- return
26
- $this->core->getContent('Begin')
27
-
28
- .'<style type="text/css" scoped>'.$this->core->getContent('CssBefore').'</style>'
29
-
30
- .'<div class="robo-gallery-wrap robo-gallery-wrap-id'.$this->id.' robo-gallery-'.$this->getMeta('gallery_type_source').'">'
31
- .$this->core->getContent('FirstInit')
32
-
33
- .$this->core->getContent('BlockBefore')
34
-
35
- .'<div id="robo_gallery_main_block_'.$this->galleryId.'" class="robogallery-gallery-'.$this->id.'" style="'.$this->core->element->getElementStyles('robo-gallery-main-block').' display: none;">'
36
-
37
- .$this->core->getContent('BlockImagesBefore')
38
-
39
- .'<div id="'.$this->galleryId.'" data-options="'.$this->galleryId.'" style="width:100%;" class="robo_gallery '.$this->core->element->getElementClasses('robo_gallery').'">'
40
- . $this->renderImagesBlock()
41
- .'</div>'
42
-
43
- .$this->core->getContent('BlockImagesAfter')
44
-
45
- .'</div>'
46
-
47
- .$this->core->getContent('BlockAfter')
48
-
49
- .'</div>'
50
-
51
- .'<script>'.$this->compileJavaScript().'</script>'
52
-
53
- .$this->core->getContent('End');
54
-
55
- }
56
-
57
- private function renderImagesBlock(){
58
- $returnHtml = '';
59
- $items = $this->core->source->getItems();
60
- foreach ( $items as $item) {
61
- if( !is_array($item) ) continue ;
62
- $returnHtml .= $this->getItemV1( $item );
63
- }
64
- return $returnHtml;
65
- }
66
-
67
-
68
- private function getItemV1($item){
69
- $this->core->runEvent('gallery.image.init.before', $item);
70
- $returnHtml =
71
- '<div class="rbs-img'.$this->core->element->getElementClasses('rbs-img-block', $item['id']).'" ' .$this->core->element->getElementAttrs('rbs-img-block', $item['id']).'>'
72
- .'<div class="rbs-img-image '.$this->core->element->getElementClasses('rbs-img-image-block', $item['id']).'" '.$this->core->element->getElementAttrs('rbs-img-image-block', $item['id']).'>'
73
- .'<div class="rbs-img-thumbs" '.$this->core->element->getElementAttrs('rbs-img-thumbs-block', $item['id']).'></div>'
74
- .$this->core->renderBlock('gallery.image.init', $item)
75
- .'</div>'
76
- .$this->core->renderBlock('gallery.image.end', $item)
77
- .'</div>';
78
- $this->core->runEvent('gallery.image.init.after', $item);
79
- return $returnHtml;
80
- }
81
-
82
- private function getItemV2( $item ){
83
- $this->core->runEvent('gallery.image.init.before', $item);
84
- $returnHtml =
85
- '<div class="rbs-img '.$this->core->element->getElementClasses('rbs-img-block', $item['id']).'" ' .$this->core->element->getElementAttrs('rbs-img-block', $item['id']).'>'
86
- .'<div class="rbs-img-image '.$this->core->element->getElementClasses('rbs-img-image-block', $item['id']).'" '.$this->core->element->getElementAttrs('rbs-img-image-block', $item['id']).'>'
87
- .'<div class="rbs-img-thumbs" '.$this->core->element->getElementAttrs('rbs-img-thumbs-block', $item['id']).'>'
88
- //.$this->core->renderBlock('gallery.image.init', $item)
89
- .$this->core->renderBlock('gallery.image.rbs-img-thumbs-block', $item)
90
- .'</div>'."\n"
91
- .$this->core->renderBlock('gallery.image.init', $item)
92
- .'</div>'."\n"
93
- .$this->core->renderBlock('gallery.image.end', $item)
94
- .'</div>'."\n";
95
- $this->core->runEvent('gallery.image.init.after', $item);
96
- return $returnHtml;
97
- }
98
-
99
- public function compileJavaScript(){
100
- return 'var '.$this->galleryId.' = '.$this->core->jsOptions->getOptionList().';' ;
101
- }
102
-
103
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/lightbox/lightbox.php DELETED
@@ -1,210 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleLightboxV1 extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- $this->initScss();
19
- $this->core->addEvent('gallery.init', array($this, 'initLightbox') );
20
- }
21
-
22
- public function initLightbox( ){
23
- /* set rtl for swipe */
24
- if( is_rtl() ) $this->jsOptions->setValue( 'touchRtl', true );
25
-
26
- $this->jsOptions->setOption( 'deepLinking' );
27
-
28
- $this->initLightboxText();
29
-
30
- $this->initSocialButton();
31
-
32
- $this->initActionButton();
33
-
34
- $this->initBg();
35
-
36
- $this->core->addEvent('gallery.image.init.before', array($this, 'initImageData'));
37
-
38
- $this->core->addEvent('gallery.image.init', array($this, 'renderLightboxDescription'));
39
- }
40
-
41
- public function initImageData( $img ){
42
-
43
- $this->initLightboxClick($img);
44
-
45
- $this->initLightboxPanel($img);
46
-
47
- $this->initLightboxVideoLink($img) || $this->initLightboxLink($img) || $this->initLightboxImageLink($img);
48
- }
49
-
50
- public function initLightboxImageLink( $img ){
51
- if( !isset( $img['image'] ) || !$img['image'] ) return false;
52
- $this->element->setElementAttr('rbs-img-data-popup'.$img['id'], 'data-popup', $img['image'] );
53
- return true;
54
- }
55
-
56
- public function initLightboxVideoLink( $img ){
57
- if( !isset($img['videolink']) || !$img['videolink'] ) return false;
58
- $this->element->setElementAttr('rbs-img-data-popup'.$img['id'], 'data-popup', $img['videolink'] );
59
- $this->element->setElementAttr('rbs-img-data-popup'.$img['id'], 'data-type', 'iframe' );
60
- return true;
61
- }
62
-
63
- public function initLightboxLink($img){
64
- if( !isset($img['link']) || !$img['link'] ) return false;
65
- /*if( !$this->hover ) return
66
- if( $this->hover == 1 && !$this->linkIcon && !$this->zoomIcon ){*/
67
- $linkType = 'link';
68
- if( isset($img['typelink']) && $img['typelink'] ) $linkType = 'blanklink';
69
- $this->element->setElementAttr('rbs-img-data-popup'.$img['id'], 'data-type', $linkType );
70
- $this->element->setElementAttr('rbs-img-data-popup'.$img['id'], 'data-popup', $img['link'] );
71
- return true;
72
- }
73
-
74
- public function initLightboxClick($img){
75
- if( $this->getMeta('thumbClick') ) return ;
76
- $this->element->addClass('rbs-img-image-block'.$img['id'], 'rbs-lightbox' );
77
- }
78
-
79
- public function renderLightboxDescription( $img ){
80
- if( !isset($img['data']) ) return ;
81
- $this->initLightboxDescription( $img );
82
- $this->initLightboxAltDescription( $img );
83
- return '<div class="rbs-img-data-popup" '.$this->element->getElementAttrs('rbs-img-data-popup', $img['id']).'></div>';
84
- }
85
-
86
- private function initLightboxAltDescription( $img ){
87
- if( !isset($img['alt']) || !$img['alt'] ) return ;
88
- $this->element->setElementAttr('rbs-img-data-popup'.$img['id'], 'data-alt', esc_attr($img['alt']) );
89
- }
90
-
91
- private function initLightboxDescription( $img ){
92
- $lightboxText = '';
93
- switch ( $this->getMeta('lightboxSource') ) {
94
- case 'title':
95
- $lightboxText = $img['data']->post_title;
96
- break;
97
- case 'desc':
98
- $lightboxText = $img['data']->post_content;
99
- break;
100
- case 'caption':
101
- $lightboxText = $img['data']->post_excerpt;
102
- break;
103
- }
104
- $this->element->setElementAttr( 'rbs-img-data-popup'.$img['id'], 'title', esc_attr($lightboxText) );
105
- }
106
-
107
-
108
- public function initLightboxPanel( $img ){
109
-
110
- if( !$this->getMeta('lightboxDescPanel' ) ) return ;
111
- if( !isset($img['data']) ) return ;
112
-
113
- $descBoxData='';
114
-
115
- switch( $this->getMeta('lightboxDescSource') ){
116
- case 'caption':
117
- $descBoxData = $img['data']->post_excerpt;
118
- break;
119
-
120
- case 'desc':
121
- $descBoxData = $img['data']->post_content;
122
- break;
123
-
124
- default:
125
- case 'title':
126
- $descBoxData = $img['data']->post_title;
127
- break;
128
- }
129
-
130
- if(!$descBoxData) return ;
131
-
132
- $this->element->setElementAttr('rbs-img-image-block'.$img['id'], 'data-descbox', esc_attr($descBoxData) );
133
- }
134
-
135
-
136
- private function initSocialButton(){
137
- if( !$this->core->getMeta('lightboxSocial') ) return ;
138
-
139
- if( $this->core->getMeta('lightboxSocialFacebook') ) $this->jsOptions->setValue('facebook', true);
140
- if( $this->core->getMeta('lightboxSocialTwitter') ) $this->jsOptions->setValue('twitter', true);
141
- if( $this->core->getMeta('lightboxSocialPinterest') ) $this->jsOptions->setValue('pinterest', true);
142
- if( $this->core->getMeta('lightboxSocialVK') ) $this->jsOptions->setValue('vk', true);
143
- }
144
-
145
-
146
-
147
-
148
- private function initBg(){
149
- $lightboxBackground = $this->core->getMeta( 'lightboxBackground');
150
- if( !$lightboxBackground ) return ;
151
- $this->scssVar['lightboxBackground'] = $lightboxBackground;
152
- $this->scssContent .= '.robo-lightbox-id#{$galleryid}:not(#no-robo-galery) .mfp-ready.mfp-bg{ background-color: $lightboxBackground; }';
153
- }
154
-
155
- private function initActionButton(){
156
-
157
- if( $this->core->getMeta('lightboxSourceButton') ){
158
- $this->jsOptions->setValue( 'hideSourceImage', true );
159
- }
160
-
161
- if( !$this->core->getMeta('lightboxClose') ){
162
- $this->scssContent .= '.robo-lightbox-id#{$galleryid}:not(#no-robo-galery) .mfp-container .mfp-close{ display:none; }';
163
- }
164
-
165
- if( !$this->core->getMeta('lightboxArrow') )
166
- $this->scssContent .= '.robo-lightbox-id#{$galleryid}:not(#no-robo-galery) .mfp-container .mfp-arrow{ display:none; }';
167
- }
168
-
169
- private function initLightboxText(){
170
-
171
- if( $lightboxColor = $this->getMeta('lightboxColor') ){
172
- $this->scssVar['lightboxColor'] = $lightboxColor;
173
- $this->scssContent .= '
174
- .robo-lightbox-id#{$galleryid}:not(#no-robo-galery) .mfp-bottom-bar{
175
- .mfp-title,.mfp-counter { color: $lightboxColor; }
176
- }';
177
- }
178
-
179
- if( $this->getMeta('lightboxDescPanel')){
180
- $this->jsOptions->setValue( 'descBox', true );
181
- $this->jsOptions->setValue( 'descBoxClass', 'rbs_desc_panel_'.$this->core->getMeta('lightboxDescClass') );
182
- }
183
-
184
- if( !$this->getMeta('lightboxTitle') ) $this->jsOptions->setValue( 'hideTitle', true );
185
-
186
- $lightboxCounterText="";
187
- if( $this->getMeta('lightboxCounter') ){
188
- $lightboxCounterText = '%curr% '.esc_attr($this->getMeta('lightboxCounterText')).' %total%';
189
- }
190
- $this->jsOptions->setValue(
191
- 'lightboxOptions/gallery',
192
- array(
193
- 'enabled' => true,
194
- 'tCounter' => $lightboxCounterText
195
- )
196
- );
197
-
198
-
199
- if( $this->getMeta('lightboxMobile') ){
200
- $this->jsOptions->setValue( 'lightboxOptions', array(
201
- 'image'=> array(
202
- 'verticalFit' => true
203
- ),
204
- 'mainClass' => "my-mfp-slide-bottom mfp-img-mobile"
205
- ));
206
- }
207
-
208
- }
209
-
210
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/loader.php DELETED
@@ -1,83 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleLoader extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- $this->core->setContent( $this->initHtml(), 'FirstInit', 'before');
19
- $this->core->setContent( $this->initCss(), 'CssBefore', 'before');
20
- $this->jsOptions->setValue( 'loadingContainer', '#'.$this->galleryId.'-block-loader' );
21
- }
22
-
23
-
24
- private function initHtml(){
25
- return '<div id="'.$this->galleryId.'-block-loader" class="'.$this->galleryId.'Spinner">'
26
- .'<div class="'.$this->galleryId.'Rect1"></div> '
27
- .'<div class="'.$this->galleryId.'Rect2"></div> '
28
- .'<div class="'.$this->galleryId.'Rect3"></div> '
29
- .'<div class="'.$this->galleryId.'Rect4"></div> '
30
- .'<div class="'.$this->galleryId.'Rect5"></div>'
31
- .'</div>';
32
- }
33
-
34
- public function initCss(){
35
- return
36
- '.'.$this->galleryId.'Spinner{
37
- margin: 50px auto;
38
- width: 50px;
39
- height: 40px;
40
- text-align: center;
41
- font-size: 10px;
42
- }
43
- .'.$this->galleryId.'Spinner > div{
44
- background-color: #333;
45
- height: 100%;
46
- width: 6px;
47
- display: inline-block;
48
- -webkit-animation: '.$this->galleryId.'-stretchdelay 1.2s infinite ease-in-out;
49
- animation: '.$this->galleryId.'-stretchdelay 1.2s infinite ease-in-out;
50
- }
51
- .'.$this->galleryId.'Spinner .'.$this->galleryId.'Rect2 {
52
- -webkit-animation-delay: -1.1s;
53
- animation-delay: -1.1s;
54
- }
55
- .'.$this->galleryId.'Spinner .'.$this->galleryId.'Rect3 {
56
- -webkit-animation-delay: -1.0s;
57
- animation-delay: -1.0s;
58
- }
59
- .'.$this->galleryId.'Spinner .'.$this->galleryId.'Rect4 {
60
- -webkit-animation-delay: -0.9s;
61
- animation-delay: -0.9s;
62
- }
63
- .'.$this->galleryId.'Spinner .'.$this->galleryId.'Rect5 {
64
- -webkit-animation-delay: -0.8s;
65
- animation-delay: -0.8s;
66
- }
67
- @-webkit-keyframes '.$this->galleryId.'-stretchdelay {
68
- 0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
69
- 20% { -webkit-transform: scaleY(1.0) }
70
- }
71
- @keyframes '.$this->galleryId.'-stretchdelay {
72
- 0%, 40%, 100% {
73
- transform: scaleY(0.4);
74
- -webkit-transform: scaleY(0.4);
75
- } 20% {
76
- transform: scaleY(1.0);
77
- -webkit-transform: scaleY(1.0);
78
- }
79
- }
80
- ';
81
- }
82
-
83
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/menu/menu.php DELETED
@@ -1,218 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleMenuV1 extends roboGalleryModuleAbstraction{
16
-
17
- private $buttonClass = '';
18
-
19
- public function init(){
20
- $this->initScss();
21
- $this->core->addEvent('gallery.init', array($this, 'initMenu'));
22
- }
23
-
24
- public function initMenu( ){
25
- if( !$this->getMeta('menu') ) return ;
26
- $this->core->addEvent('gallery.images.get', array($this, 'renderMenu'));
27
- //$this->core->addEvent('gallery.block.before', array($this, 'renderMenu'));
28
- }
29
-
30
- public function renderMenu(){
31
-
32
- $this->jsOptions->setValue( 'filterContainer', '#'.$this->gallery->galleryId.'filter' );
33
-
34
- $this->addScssFiles();
35
-
36
- $this->initSearch();
37
-
38
- $this->initAlign();
39
-
40
- $this->initButtonStyle();
41
-
42
- $this->applyButtonStyle();
43
-
44
- $this->initButtons();
45
-
46
- $this->core->setContent( $this->getTemplate(), 'BlockBefore', 'before' );
47
- }
48
-
49
- private function addScssFiles(){
50
- $this->scssFiles[] = array(
51
- 'name' => 'menu.scss',
52
- 'path' => 'menu/',
53
- );
54
- }
55
-
56
- private function initButtons(){
57
- $this->getRootButton();
58
- $retHtml = '';
59
- if( $this->getMeta('menuTag') ){
60
- $retHtml .= $this->getTagsMenu();
61
- } else {
62
- $retHtml .= $this->getCategoryMenu();
63
- }
64
- $this->core->setContent( $retHtml, 'menuV1.buttons' );
65
- }
66
-
67
-
68
- private function getRootButton(){
69
- if( !$this->getMeta('menuRoot') ) return ;
70
-
71
- $rootLabel = $this->getMeta('menuRootLabel');
72
- $rootButton = $this->button( $rootLabel, '*' );
73
- $this->core->setContent( $rootButton, 'menuV1.buttons', 'before');
74
- }
75
-
76
- private function button( $label, $filter='' ){
77
- return '<a class="button '.$this->buttonClass.' " href="#" data-filter="'.$filter.'">'.esc_attr($label).'</a>';
78
- }
79
-
80
- private function getTemplate(){
81
- return
82
- $this->core->getContent('menuV1.begin')
83
- .'<div '
84
- .'class="rbs_gallery_button '.$this->core->getContent('menuV1.block.class').'" '
85
- .'id="'.$this->gallery->galleryId.'filter" '
86
- .'style=" display: none;" '
87
- .'>'
88
- .$this->core->getContent('menuV1.buttons')
89
- .'</div>'
90
- .$this->core->getContent('menuV1.end');
91
- }
92
-
93
- private function initAlign(){
94
- $align = $this->getMeta('buttonAlign');
95
- if($align){
96
- $align = ' rbs_gallery_align_'.$align;
97
- $this->core->setContent( $align, 'menuV1.block.class');
98
- }
99
-
100
- $this->scssVar['paddingLeft'] = (int) $this->getMeta('paddingLeft');
101
- $this->scssVar['paddingBottom'] = (int) $this->getMeta('paddingBottom');
102
- }
103
-
104
-
105
- private function initSearch(){
106
- if( ! $this->getMeta('searchEnable') ) return '';
107
-
108
- $searchColor = $this->getMeta('searchColor');
109
- if($searchColor){
110
- $this->scssVar['searchColor'] = $searchColor;
111
- $this->scssContent .= '
112
- .robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs_search_wrap{
113
- color: $searchColor;
114
- input.rbs-search{
115
- border-color: $searchColor;
116
- color: $searchColor;
117
- &::placeholder {
118
- color: $searchColor;
119
- }
120
- }
121
- }';
122
- }
123
-
124
- $retHtml = '';
125
- /* Search gallery item block */
126
- $retHtml .= '<div class="rbs_search_wrap">';
127
- $searchLabel = $this->getMeta('searchLabel');
128
- $retHtml .= '<input type="text" class="rbs-search" placeholder="'.$searchLabel.'" />';
129
- $retHtml .= '</div>';
130
-
131
- /* Setup gallery */
132
- $this->jsOptions->setValue( 'search', '#'.$this->gallery->galleryId.'filter .rbs-search' );
133
- $this->jsOptions->setValue( 'searchTarget', '.rbs-img-image' );
134
-
135
- $this->core->setContent( $retHtml, 'menuV1.buttons');
136
- }
137
-
138
- private function getTagsMenu($class='', $style=''){
139
- $retHtml = '';
140
-
141
- $menuTagSort = $this->getMeta('menuTagSort');
142
-
143
- $tags = $this->source->getTags();
144
-
145
- if( !is_array($tags) ) return ;
146
-
147
- if($menuTagSort=='asc') asort($tags);
148
- if($menuTagSort=='desc')arsort($tags);
149
-
150
- foreach ($tags as $key => $title) {
151
- $retHtml .= $this->button( $title, '.tag_id'.$key );
152
- }
153
-
154
- return $retHtml;
155
- }
156
-
157
-
158
- private function getCategoryMenu(){
159
- $categories = $this->source->getCats();
160
-
161
- if( !is_array($categories) || !count($categories) ) return ;
162
-
163
- $retHtml ='';
164
-
165
- foreach ( $categories as $category) {
166
- $retHtml .= $this->button( $category['title'], '.category'.$category['id'] );
167
- }
168
- return $retHtml;
169
- }
170
-
171
-
172
- private function initButtonStyle(){
173
-
174
- $optionName = 'button';
175
-
176
- $class = '';
177
-
178
- switch ( $this->getMeta($optionName.'Fill') ) {
179
- case 'flat': $class .= 'button-flat'; break;
180
- case '3d': $class .= 'button-3d'; break;
181
- case 'border': $class .= 'button-border'; break;
182
- case 'normal': default: $class .= 'button'; break;
183
- }
184
-
185
-
186
- switch ( $this->getMeta($optionName.'Color') ) {
187
- case 'blue': $class .= '-primary '; break;
188
- case 'green': $class .= '-action '; break;
189
- case 'orange': $class .= '-highlight '; break;
190
- case 'red': $class .= '-caution '; break;
191
- case 'purple': $class .= '-royal '; break;
192
- case 'gray': default: $class .= ' '; break;
193
- }
194
-
195
- switch ( $this->getMeta($optionName.'Type') ) {
196
- case 'rounded': $class .= 'button-rounded ';break;
197
- case 'pill': $class .= 'button-pill '; break;
198
- case 'circle': $class .= 'button-circle '; break;
199
- case 'normal': default: break;
200
- }
201
-
202
- switch ( $this->getMeta($optionName.'Size') ) {
203
- case 'jumbo': $class .= 'button-jumbo '; break;
204
- case 'large': $class .= 'button-large '; break;
205
- case 'small': $class .= 'button-small '; break;
206
- case 'tiny': $class .= 'button-tiny '; break;
207
- case 'normal': default: break;
208
- }
209
- $this->buttonClass = $class;
210
- }
211
-
212
-
213
- private function applyButtonStyle(){
214
- $this->jsOptions->setValue( 'loadMoreClass', $this->buttonClass );
215
- $this->core->element->setElementAttr('menu', 'class', $this->buttonClass );
216
- }
217
-
218
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/menu/menu.scss DELETED
@@ -1,8 +0,0 @@
1
- $paddingLeft: 0 !default;
2
- $paddingBottom: 0 !default;
3
-
4
-
5
- .robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs_gallery_button .button {
6
- margin-right: #{$paddingLeft}px;
7
- margin-bottom: #{$paddingBottom}px;
8
- }
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/polaroid.php DELETED
@@ -1,76 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModulePolaroidV1 extends roboGalleryModuleAbstraction{
16
-
17
- private $template = '';
18
-
19
- public function init(){
20
- if( !$this->getMeta('polaroidOn') ) return ;
21
- $this->initScss();
22
- $this->core->addEvent('gallery.init', array($this, 'initPolaroid'));
23
- }
24
-
25
-
26
- private function initStyle(){
27
- $this->scssVar['polaroidBackground'] = $this->getMeta('polaroidBackground');
28
- $this->scssVar['polaroidAlign'] = $this->getMeta('polaroidAlign');
29
- $this->scssContent .= '
30
- .robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs-img-content{
31
- text-align: $polaroidAlign;
32
- background: $polaroidBackground;
33
- }
34
- ';
35
- }
36
-
37
- private function initTemplate(){
38
- $this->template = '@TITLE@';
39
- switch ( $this->getMeta('polaroidSource') ) {
40
- case 'desc':
41
- $this->template = '@DESC@';
42
- break;
43
- case 'caption':
44
- $this->template = '@CAPTION@';
45
- break;
46
- }
47
- }
48
-
49
-
50
- public function initPolaroid(){
51
- $this->initStyle();
52
- $this->initTemplate();
53
- $this->core->addEvent('gallery.image.end', array($this, 'renderPolaroidContent'));
54
- }
55
-
56
- public function renderPolaroidContent( $img ){
57
-
58
- if( !isset($img['data']) || !isset($img['link']) ) return ;
59
-
60
- $polaroidContent = str_replace(
61
- array('@TITLE@','@CAPTION@','@DESC@', '@LINK@'),
62
- array(
63
- $img['data']->post_title,
64
- $img['data']->post_excerpt,
65
- $img['data']->post_content,
66
- $img['link']
67
- ),
68
- $this->template
69
- );
70
-
71
- if( !$polaroidContent ) return ;
72
-
73
- return '<div class="rbs-img-content">'.$polaroidContent.'</div>';
74
- }
75
-
76
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/resize.php DELETED
@@ -1,108 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleResize extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
-
19
- $this->core->addFilter('gallery.source.items', array($this, 'resizeImg'), 0, 1 );
20
-
21
- if( in_array( $this->getMeta('gallery_type'), array('mosaicpro', 'mosaic') ) ) {
22
- $this->core->addFilter('gallery.source.items', array($this, 'resizeImgMosaicFree'), 0, 1 );
23
- }
24
- if( in_array( $this->getMeta('gallery_type'), array('masonrypro', 'masonry') ) ) {
25
- $this->core->addFilter('gallery.source.items', array($this, 'resizeImgMasonryFree'), 0, 1 );
26
- }
27
- }
28
-
29
- public function resizeImg( $items ){
30
-
31
- //echo 'Gallery Type :: ' . $this->getMeta('gallery_type') . '<br/ >';
32
- //echo 'Gallery Demo :: '.$this->getMeta('gallery_type_source') . '<br/ >';
33
-
34
- if ( ! is_array( $items ) || !count( $items ) ){
35
- return array();
36
- }
37
-
38
- //if($this->getMeta('gallery_type') != 'mosaic') return $items;
39
-
40
- return $items;
41
- }
42
-
43
-
44
- public function resizeImgMasonryFree( $items ){
45
-
46
- if ( ! is_array( $items ) || !count( $items ) ) return array();
47
-
48
- $counterImg = 0;
49
-
50
-
51
- foreach ( $items as $imgKey => $img ) {
52
-
53
- if( $counterImg == 31 ) $counterImg = 7;
54
-
55
- $counterImg++;
56
-
57
- // 2 5 4 6 4 4 6 4 6 4 4 6 4 6
58
- if( !in_array( $counterImg, array( 2, 7, 11, 17, 21, 25, 31,/* 35, 41, 45, 49, 55, 59, 65*/ ) ) ){
59
- $thumbMasonry = wp_get_attachment_image_src( $img['id'], 'RoboGalleryMansoryImagesTop' );
60
-
61
- if ( ! is_array( $thumbMasonry ) || count( $thumbMasonry ) < 2 ) {
62
- echo "empty thumbs ";
63
- continue ;
64
- }
65
-
66
- $items[ $imgKey ]['thumb'] = $thumbMasonry[0];
67
- $items[ $imgKey ]['sizeW'] = $thumbMasonry[1]; //*($i%2 ? 1.5: 1)
68
- $items[ $imgKey ]['sizeH'] = $thumbMasonry[2];
69
- }
70
- }
71
- return $items;
72
- }
73
-
74
-
75
- public function resizeImgMosaicFree( $items ){
76
-
77
- if ( ! is_array( $items ) || !count( $items ) ) return array();
78
-
79
- $counterImg = 0;
80
-
81
- foreach ( $items as $imgKey => $img ) {
82
-
83
- $counterImg++;
84
-
85
- if( $counterImg == 1){
86
- $items[ $imgKey ]['col'] = 4;
87
- }
88
-
89
- if( $counterImg == 5){
90
- $items[ $imgKey ]['col'] = 3;
91
- }
92
-
93
- if( $counterImg == 10){
94
- $items[ $imgKey ]['col'] = 2;
95
- }
96
-
97
- if( $counterImg == 13 ){
98
- $items[ $imgKey ]['col'] = 4;
99
- }
100
-
101
- if( $counterImg == 19 ){
102
- $counterImg = 0;
103
- }
104
-
105
- }
106
- return $items;
107
- }
108
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/scss.php DELETED
@@ -1,127 +0,0 @@
1
- <?php
2
-
3
- if ( ! defined( 'WPINC' ) ) die;
4
-
5
- class roboGalleryScss{
6
- private $Compiler;
7
-
8
- private $core;
9
- private $gallery;
10
-
11
- private $scssPath = '';
12
-
13
- private $content = '';
14
- private $contentImport = '';
15
-
16
- private $scssFiles = array();
17
-
18
- private $Variables = array();
19
-
20
- private $cacheFileName = '';
21
- private $cacheFilePath = '';
22
- private $cacheFileUrl = '';
23
- private $cacheId;
24
- private $cached = 0;
25
-
26
- private $debug = 0;
27
-
28
-
29
- public function __construct( $core ){
30
- require_once ROBO_GALLERY_VENDOR_PATH.'scss/init.php';
31
-
32
- //$this->Compiler = new Compiler();
33
- $this->Compiler = robogallery_scss_init();
34
-
35
- $this->core = $core;
36
- $this->gallery = $core->gallery;
37
-
38
- $this->scssPath = ROBO_GALLERY_FRONTEND_MODULES_PATH;
39
-
40
- $this->initCache();
41
-
42
- $this->core->addEvent('gallery.block.before', array($this, 'compile'));
43
- }
44
-
45
- private function initCache(){
46
- $this->cacheId = $this->core->getMeta('cache_id');
47
- $this->cacheFileName = 'robo_gallery_css_id'.$this->gallery->id.'_'.$this->cacheId.'.css';
48
- $this->cacheFilePath = ROBO_GALLERY_CACHE_CSS_PATH.$this->cacheFileName;
49
- $this->cacheFileUrl = ROBO_GALLERY_CACHE_CSS_URL.$this->cacheFileName;
50
- if( !$this->debug && file_exists($this->cacheFilePath) ) $this->cached = 1;
51
- }
52
-
53
- public function compile(){
54
- if($this->cached){
55
- $this->includeCss();
56
- return ;
57
- }
58
- $this->initVariables();
59
- $this->initImport();
60
- $this->initContent();
61
- $css = $this->Compiler->compile( $this->contentImport . $this->content );
62
- if( !$this->writeCache($css) ){
63
- $this->core->setContent( $css, 'CssBefore' );
64
- //CssBefore
65
- //return $css;
66
- }
67
- }
68
-
69
-
70
- public function writeCache( $css ){
71
- //if( $this->debug ) return false;
72
-
73
- if( is_writable(dirname($this->cacheFilePath) ) && file_put_contents( $this->cacheFilePath, $css) ) {
74
- $this->cached = true;
75
- $this->includeCss();
76
- return true;
77
- }
78
-
79
- //global $wp_filesystem;
80
- //if(! $wp_filesystem->put_contents( $this->cacheFilePat, $css, FS_CHMOD_FILE)){
81
- //return new WP_Error('writing_error', 'Error when writing file'); //return error object
82
- // return false;
83
- //}
84
-
85
- return false;
86
- }
87
-
88
-
89
- private function includeCss(){
90
- wp_enqueue_style( 'robo-gallery-dynamic-id'.$this->gallery->id, $this->cacheFileUrl, array(), ROBO_GALLERY_VERSION, 'all');
91
- }
92
-
93
-
94
- public function addVariables( $varArray ){
95
- if(!is_array($varArray) || !count($varArray) ) return ;
96
- $this->Variables = array_merge( $this->Variables, $varArray );
97
- }
98
-
99
- public function initVariables(){
100
- $defaultVariable = array(
101
- 'galleryid' => $this->gallery->id
102
- );
103
- $this->addVariables( $defaultVariable );
104
- $this->core->runEvent('scss.initVariables', $this);
105
- $this->Compiler->setVariables( $this->Variables );
106
- }
107
-
108
- public function addFile( $fileName, $filePath ){
109
- $fileNameWithPath = $this->scssPath.$filePath;
110
- //if( !file_exists( $fileNameWithPath ) ) return ;
111
- $this->contentImport .= ' @import "'.$fileName.'";';
112
- $this->Compiler->addImportPath( $fileNameWithPath );
113
- }
114
-
115
- public function initImport(){
116
- $this->core->runEvent('scss.initImport', $this);
117
- }
118
-
119
- public function addContent( $content, $position = 'after' ){
120
- if( $position == 'before') $this->content = $content . $this->content;
121
- if( $position == 'after') $this->content .= $content;
122
- }
123
-
124
- public function initContent(){
125
- $this->core->runEvent('scss.initContent', $this);
126
- }
127
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/search.php DELETED
@@ -1,68 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleSearchV1 extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- $this->core->addEvent('gallery.init', array($this, 'initSearch'), 1);
19
- }
20
-
21
- public function initSearch(){
22
- if( !get_post_meta( $this->gallery->id, ROBO_GALLERY_PREFIX.'searchEnable', true ) ) return '';
23
-
24
- $this->scssVar['galleryid'] = $this->gallery->real_id ? $this->gallery->real_id : $this->gallery->id;
25
-
26
- $this->core->addEvent('scss.initImport', array($this, 'initScss'));
27
- $this->core->addEvent('scss.initVariables', array($this, 'initVariables'));
28
- $this->core->addEvent('scss.initContent', array($this, 'initContent'));
29
-
30
- $searchColor = get_post_meta( $this->gallery->id, ROBO_GALLERY_PREFIX.'searchColor', true );
31
- if($searchColor){
32
- $this->scssVar['searchColor'] = $searchColor;
33
- $this->scssContent .= '
34
- .robo-gallery-wrap-id#{$galleryid}:not(#no-robo-galery) .rbs_search_wrap{
35
- color: $searchColor;
36
- input.rbs-search{
37
- border-color: $searchColor;
38
- color: $searchColor;
39
- &::placeholder {
40
- color: $searchColor;
41
- }
42
- }
43
- }';
44
- }
45
-
46
- $retHtml = '';
47
- /* Search gallery item block */
48
- $retHtml .= '<div class="rbs_search_wrap">';
49
- $searchLabel = get_post_meta( $this->gallery->id, ROBO_GALLERY_PREFIX.'searchLabel', true );
50
- $retHtml .= '<input type="text" class="rbs-search" placeholder="'.$searchLabel.'" />';
51
- $retHtml .= '</div>';
52
-
53
- /* Setup gallery */
54
- $this->jsOptions->setValue( 'search', '#'.$this->gallery->galleryId.'filter .rbs-search' );
55
- $this->jsOptions->setValue( 'searchTarget', '.rbs-img-image' );
56
-
57
- $this->core->setContent( $retHtml, 'menuV1.buttons');
58
- }
59
-
60
- public function initVariables( $scssCompiler ){
61
- $scssCompiler->addVariables( $this->scssVar );
62
- }
63
-
64
- public function initContent( $scssCompiler ){
65
- $scssCompiler->addContent( $this->scssContent );
66
- }
67
-
68
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/seo.php DELETED
@@ -1,37 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleSeoV1 extends roboGalleryModuleAbstraction{
16
-
17
- public $seoContent = '';
18
-
19
- public function init(){
20
- $this->core->addEvent('gallery.init', array($this, 'initGrid'));
21
- }
22
-
23
- public function initGrid(){
24
-
25
- $seo = get_option( ROBO_GALLERY_PREFIX.'seo', '' );
26
- if( $seo ){
27
- $this->seoContent .= ($seo==1 ? '<a href="'.$link.'" alt="'.$lightboxText.'" title="'.$lightboxText.'">' : '')
28
- .'<img src="'.$img['thumb'].'" title="'.$lightboxText.'" alt="'.$lightboxText.'" >'
29
- .($seo==1 ? '</a>' : '' );
30
- }
31
-
32
- if($this->seoContent){
33
- $this->seoContent = '<div style="display:none;">'.$this->seoContent.'</div>';
34
- }
35
- }
36
-
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/size.php DELETED
@@ -1,97 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleSize extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- $this->initScss();
19
- $this->initImageSize();
20
-
21
- $this->initBlockSize();
22
- $this->initBlockAlign();
23
- $this->initBlockPadding();
24
- }
25
-
26
-
27
- private function initBlockSize(){
28
- $widthSize = $this->getMeta('width-size');
29
- $widthSizeValue = '';
30
- if( is_array($widthSize) && count($widthSize) ){
31
- if( isset($widthSize['width']) ){
32
- $widthSizeValue = (int) $widthSize['width'];
33
- if($widthSizeValue){
34
- if( isset($widthSize['widthType']) && $widthSize['widthType'] ) $widthSizeValue .= 'px';
35
- else $widthSizeValue .= '%';
36
- }
37
- }
38
- }
39
- if(!$widthSizeValue) $widthSizeValue = '100%;';
40
- $this->element->addElementStyle('robo-gallery-main-block', 'width', $widthSizeValue );
41
- }
42
-
43
-
44
- private function initBlockAlign(){
45
- switch( $this->getMeta('align') ){
46
- case 'left': $this->element->addElementStyle('robo-gallery-main-block', 'float', 'left' ); break;
47
- case 'right': $this->element->addElementStyle('robo-gallery-main-block', 'float', 'right' ); break;
48
- case 'center': $this->element->addElementStyle('robo-gallery-main-block', 'margin', '0 auto' ); break;
49
- case '': default:
50
- }
51
- }
52
-
53
-
54
- private static function getCorrectSize( $val ){
55
- $correctVal = $val;
56
- if( strpos( $val, '%')===false && strpos( $val, 'px')===false ){
57
- $val = (int) $val;
58
- $correctVal = $val.'px';
59
- }
60
- return $correctVal;
61
- }
62
-
63
-
64
- private function initBlockPadding(){
65
- $paddingCustom = $this->getMeta('paddingCustom');
66
- if( !is_array($paddingCustom) || !count($paddingCustom) ) return ;
67
-
68
- foreach ($paddingCustom as $propertyName => $value){
69
- if(!$value) continue;
70
-
71
- $this->element->addElementStyle(
72
- 'robo-gallery-main-block',
73
- 'padding-'.$propertyName,
74
- self::getCorrectSize($value)
75
- );
76
- }
77
- }
78
-
79
-
80
- private function initImageSize() {
81
- $this->element->setElementAttr( 'global', 'sizeType', $this->core->getMeta('sizeType') );
82
- $width = 240;
83
- $height = 140;
84
- $source = 'medium';
85
- $size = $this->getMeta('thumb-size-options');
86
-
87
- if( is_array($size) ){
88
- if( isset($size['width']) ) $width = (int) $size['width'];
89
- if( isset($size['height']) ) $height = (int) $size['height'];
90
- if( isset($size['source']) ) $source = $size['source'];
91
- }
92
- $this->element->setElementAttr('global', 'baseWidth', $width );
93
- $this->element->setElementAttr('global', 'baseHeight', $height );
94
- $this->element->setElementAttr('global', 'thumbSource', $source );
95
- }
96
-
97
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/source/baseSource.php DELETED
@@ -1,281 +0,0 @@
1
- <?php
2
-
3
- /*
4
- * Robo Gallery
5
- * Version: 3.1.2 - 17786
6
- * By Robosoft
7
- *
8
- * Contact: https://robogallery.co/
9
- * Created: 2021
10
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
11
-
12
- */
13
-
14
- if ( ! defined( 'WPINC' ) ) exit;
15
-
16
- class RoboBaseSource {
17
-
18
- private $core = null;
19
-
20
- private $id = 0;
21
- private $options_id = 0;
22
-
23
- private $thumbsource;
24
- private $width;
25
- private $height;
26
- private $orderby = null;
27
-
28
- private $cats = array();
29
- private $items = array();
30
- private $children= array();
31
- private $tags = array();
32
-
33
- public function __construct( $id, $core ) {
34
- $this->core = $core;
35
- $this->id = $id;
36
- $this->options_id = $this->core->gallery->options_id;
37
-
38
- $this->core->addFilter('gallery.source.items', array($this, 'initImagesOrder') );
39
-
40
- $this->initSize();
41
- $this->initSelfItems();
42
- $this->initChildrenList();
43
- $this->initChildrenItems();
44
- $this->initItemsData();
45
- }
46
-
47
- public function getItems(){
48
- return $this->items;
49
- }
50
-
51
- public function getTags(){
52
- return $this->tags;
53
- }
54
-
55
- public function getCats(){
56
- return $this->cats;
57
- }
58
-
59
- private function initSize(){
60
-
61
- //default
62
- $this->orderby = 'categoryD';
63
- $this->thumbsource = 'medium';
64
- $this->width = 240;
65
- $this->height = 140;
66
-
67
- $size = $this->core->getMeta( 'thumb-size-options' );
68
-
69
- if( !is_array($size) || !count($size) ) return ;
70
-
71
- if( isset($size['width']) ) $this->width = (int) $size['width'];
72
- if( isset($size['height']) ) $this->height = (int) $size['height'];
73
- if( isset($size['source']) ) $this->thumbsource = $size['source'];
74
- if( isset($size['orderby']) && $size['orderby'] ) $this->orderby = $size['orderby'];
75
- }
76
-
77
-
78
- private function initChildrenList(){
79
- $my_wp_query = new WP_Query();
80
- $all_wp_pages = $my_wp_query->query( array(
81
- 'post_type' => ROBO_GALLERY_TYPE_POST,
82
- //'fields' => 'id=>parent',
83
- //'post_parent' => $this->id,
84
- 'orderby' => array( 'menu_order' => 'DESC', 'order' => 'ASC', 'title' => 'DESC' ),
85
- 'posts_per_page' => 999,
86
- ) );
87
- $this->children = get_page_children( $this->id, $all_wp_pages );
88
- }
89
-
90
-
91
- private function initChildrenItems(){
92
- if( !is_array($this->children) || !count($this->children) ) return;
93
-
94
- foreach ($this->children as $child) {
95
- $this->initChildItems($child);
96
- }
97
- }
98
-
99
-
100
- private function addItems( $items ){
101
- if( !is_array($items) || !count($items) ) return;
102
- $this->items = array_merge( $this->items, $items );
103
- }
104
-
105
-
106
- private function getGalleryItems( $galleryId ){
107
- if(!$galleryId) return array();
108
-
109
- // important get_post_meta
110
- $galleryItems = get_post_meta( $galleryId, ROBO_GALLERY_PREFIX . 'galleryImages', true );
111
-
112
- if( !isset($galleryItems) || !is_array($galleryItems) || !count($galleryItems) ) return array();
113
- return $galleryItems;
114
- }
115
-
116
-
117
- private function initSelfItems() {
118
- if( !get_post_meta( $this->options_id, ROBO_GALLERY_PREFIX . 'menuSelfImages', true ) ) return ;
119
-
120
- $items = $this->getGalleryItems( $this->id );
121
-
122
- $itemsCats = $this->getItemsCats( $items, $this->id);
123
-
124
- $this->addItems( $itemsCats );
125
- }
126
-
127
-
128
- private function getItemsCats( $items, $catId ) {
129
- $itemsCats = array();
130
- if( !is_array($items) || !count($items) ) return $itemsCats;
131
- foreach( $items as $item ) $itemsCats[] = array( 'id' => $item, 'catid' => $catId );
132
- return $itemsCats;
133
- }
134
-
135
-
136
- private function initChildItems( $child ){
137
- if( !is_object($child) || !isset( $child->ID ) ) return ;
138
-
139
- $items = $this->getGalleryItems( $child->ID );
140
- $post = get_post( $child->ID );
141
-
142
- if( !is_object($post) ) return ;
143
-
144
- $this->cats[] = array(
145
- 'id' => $child->ID,
146
- 'title' => $post->post_title,
147
- 'name' => $post->post_name
148
- );
149
-
150
- $this->addItems( $this->getItemsCats( $items, $child->ID ) );
151
- }
152
-
153
-
154
- private function initItemsData() {
155
-
156
- if ( ! is_array( $this->items ) || !count( $this->items ) ){
157
- $this->items = array();
158
- return;
159
- }
160
-
161
- $counterImg = 0;
162
-
163
- foreach ( $this->items as $imgKey => $img ) {
164
-
165
- $imgId = $img['id'];
166
-
167
- $thumb = wp_get_attachment_image_src( $imgId, $this->thumbsource );
168
-
169
- if ( ! is_array( $thumb ) || count( $thumb ) < 1 ) {
170
- unset( $this->items[ $imgKey ] );
171
- continue ;
172
- }
173
-
174
- ++$counterImg;
175
-
176
- $this->items[ $imgKey ]['id'] = $imgId;
177
- $this->items[ $imgKey ]['image'] = wp_get_attachment_url( $imgId );
178
- $this->items[ $imgKey ]['thumb'] = ( isset( $thumb[0] ) ) ? $thumb[0] : '';
179
- $this->items[ $imgKey ]['sizeW'] = ( isset( $thumb[1] ) ) ? $thumb[1] : $this->width; //*($i%2 ? 1.5: 1)
180
- $this->items[ $imgKey ]['sizeH'] = ( isset( $thumb[2] ) ) ? $thumb[2] : $this->height;
181
- $this->items[ $imgKey ]['data'] = get_post( $imgId );
182
- $this->items[ $imgKey ]['link'] = get_post_meta( $imgId, ROBO_GALLERY_PREFIX . 'gallery_link', true );
183
- $this->items[ $imgKey ]['typelink'] = get_post_meta( $imgId, ROBO_GALLERY_PREFIX . 'gallery_type_link', true );
184
- $this->items[ $imgKey ]['videolink']= $this->getItemVideoLink($imgId);
185
- $this->items[ $imgKey ]['col'] = get_post_meta( $imgId, ROBO_GALLERY_PREFIX . 'gallery_col', true );
186
- $this->items[ $imgKey ]['effect'] = get_post_meta( $imgId, ROBO_GALLERY_PREFIX . 'gallery_effect', true );
187
- $this->items[ $imgKey ]['alt'] = get_post_meta( $imgId, '_wp_attachment_image_alt', true );
188
- $this->items[ $imgKey ]['tags'] = $this->getItemTags( $imgId );
189
- }
190
-
191
- $this->items = $this->core->applyFilters( 'gallery.source.items', $this->items );
192
- }
193
-
194
- private function getItemVideoLink( $imgId ){
195
- $videolink = get_post_meta( $imgId, ROBO_GALLERY_PREFIX.'gallery_video_link', true );
196
- if(!$videolink) return '';
197
- if( strpos( $videolink, 'youtu' ) !== false ){
198
- $matches = array();
199
- preg_match( "#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=v\/)[^&\n]+|(?<=v=)[^&\n]+|(?<=youtu.be/)[^&\n]+#", $videolink, $matches );
200
- if( is_array( $matches ) && isset( $matches[0] ) && $matches[0] ) $videolink = 'https://youtube.com/v=' . $matches[0];
201
- }
202
- return $videolink;
203
- }
204
-
205
-
206
- private function getItemTag( $imageId ){
207
- return get_post_meta( $imageId, ROBO_GALLERY_PREFIX . 'gallery_tags', true );
208
- }
209
-
210
- private function getItemTags( $imageId ) {
211
- $tagsArray = array();
212
-
213
- $tags = $this->getItemTag( $imageId );
214
-
215
- if( !$tags ) return $tagsArray;
216
-
217
- $tags = explode( ',', $tags );
218
-
219
- if( !is_array($tags) || !count($tags) ) return $tagsArray;
220
-
221
- foreach ($tags as $key => $tag) {
222
- $tag = trim($tag);
223
- $tags[$key] = $tag;
224
- if ( array_search( $tag, $this->tags ) === false ) $this->tags[] = $tag;
225
- }
226
-
227
- $tagsArray = $tags;
228
-
229
- return $tagsArray;
230
- }
231
-
232
-
233
- public function initImagesOrder( $items ) {
234
-
235
- switch ( $this->orderby ) {
236
- case 'random': shuffle($items ); break;
237
- case 'titleU': usort( $items, array( $this, 'titleUp' ) ); break;
238
- case 'titleD': usort( $items, array( $this, 'titleDown' ) );break;
239
- case 'dateU': usort( $items, array( $this, 'dateUp' ) ); break;
240
- case 'dateD': usort( $items, array( $this, 'dateDown' ) );break;
241
- case 'categoryU': $items = array_reverse( $items ); break;
242
- case 'categoryD': default: break;
243
- }
244
- if( !is_array($items) ) $items = array();
245
- return $items;
246
- }
247
-
248
-
249
- /* ==== */
250
-
251
- private function titleUp( $item1, $item2 ) {
252
- return strcasecmp( $item1['data']->post_title, $item2['data']->post_title ) * - 1;
253
- }
254
-
255
- private function titleDown( $item1, $item2 ) {
256
- return strcasecmp( $item1['data']->post_title, $item2['data']->post_title );
257
- }
258
-
259
- private function dateUp( $item1, $item2 ) {
260
- if ( $item1['data']->post_date == $item2['data']->post_date ) {
261
- return 0;
262
- }
263
- if ( $item1['data']->post_date > $item2['data']->post_date ) {
264
- return 1;
265
- } else {
266
- return - 1;
267
- }
268
- }
269
-
270
- private function dateDown( $item1, $item2 ) {
271
- if ( $item1['data']->post_date == $item2['data']->post_date ) {
272
- return 0;
273
- }
274
- if ( $item1['data']->post_date > $item2['data']->post_date ) {
275
- return - 1;
276
- } else {
277
- return 1;
278
- }
279
- }
280
-
281
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/source/source.php DELETED
@@ -1,79 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- //require_once ROBO_GALLERY_FRONTEND_MODULES_PATH . 'source/abstractSource.php';
16
- require_once ROBO_GALLERY_FRONTEND_MODULES_PATH . 'source/youtubeSource.php';
17
- require_once ROBO_GALLERY_FRONTEND_MODULES_PATH . 'source/baseSource.php';
18
-
19
- class roboGalleryModuleSourceV1{
20
- private $id = null;
21
- private $options_id = null;
22
-
23
- private $core = null;
24
- private $cacheDB = null;
25
- private $gallery = null;
26
-
27
- private $items = array();
28
- private $cats = array();
29
- private $tags = array();
30
-
31
- private $source = null;
32
-
33
- public $galleryType = 'base';
34
-
35
- public function __construct( $core ){
36
- $this->core = $core;
37
- $this->gallery = $core->gallery;
38
- $this->cacheDB = $core->cacheDB;
39
-
40
- $this->id = $this->gallery->id;
41
- $this->options_id = $this->gallery->options_id;
42
- $this->core->addEvent('gallery.images.get', array($this, 'initItems'));
43
- }
44
-
45
- public function getItems(){
46
- if( !is_array($this->items) ) return array();
47
- return $this->items;
48
- }
49
-
50
- public function getCats(){
51
- if( !is_array($this->cats) ) return array();
52
- return $this->cats;
53
- }
54
-
55
- public function getTags(){
56
- if( !is_array($this->tags) ) return array();
57
- return $this->tags;
58
- }
59
-
60
- public function initItems(){
61
- $this->galleryType = get_post_meta( $this->id, ROBO_GALLERY_PREFIX . 'gallery_type', true );
62
-
63
- switch ( $this->galleryType ) {
64
- case 'youtubepro':
65
- case 'youtube':
66
- $this->source =new RoboYoutubeSource( $this->id, $this->core );
67
- break;
68
- default:
69
- $this->source = new RoboBaseSource( $this->id, $this->core );
70
- break;
71
- }
72
-
73
- $this->items = $this->source->getItems();
74
- $this->cats = $this->source->getCats();
75
- $this->tags = $this->source->getTags();
76
- return ;
77
- }
78
-
79
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/source/youtubeSource.php DELETED
@@ -1,429 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class RoboYoutubeSource {
16
-
17
- private $core = null;
18
- private $cacheDB = null;
19
- private $gallery = null;
20
-
21
- private $id = 0;
22
-
23
- private $resourceId = '';
24
- private $resourceType = 'user';
25
-
26
- private $resourceCountMax = 50;
27
- private $youtubeCacheTime = 12;
28
-
29
- private $api_key='';
30
-
31
- private $errors = array();
32
-
33
- private $items = array();
34
- private $tags = array();
35
- private $cats = array();
36
-
37
- private $incorrectParams = false;
38
-
39
-
40
- public function __construct( $id, $core ) {
41
- $this->core = $core;
42
- $this->cacheDB = $core->cacheDB;
43
- $this->gallery = $core->gallery;
44
-
45
- $this->id = $id;
46
-
47
- $this->options_id= $this->core->gallery->options_id;
48
-
49
- $this->initResource();
50
-
51
- if( !$this->isCorrectParams() ){
52
- $this->incorrectParams = true;
53
- //print_r($this->errors);
54
- return false;
55
- }
56
-
57
- $this->initItems();
58
- }
59
-
60
- public function getItems(){ return $this->items; }
61
- public function getTags(){ return $this->tags; }
62
- public function getCats(){ return $this->cats; }
63
-
64
- private function initResource(){
65
- $this->api_key = get_option( ROBO_GALLERY_PREFIX.'youtubeApiKey' );
66
- $this->youtubeCacheTime = get_option( ROBO_GALLERY_PREFIX.'youtubeCacheTime' );
67
-
68
- $this->resourceCountMax = get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'youtube_count_max', true );
69
-
70
- $this->resourceType= get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'galleryYoutubeType', true );
71
- //echo $this->resourceType;
72
- $this->resourceId = get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'galleryYoutubeValue', true );
73
- //echo $this->resourceId;
74
-
75
- }
76
-
77
- private function isCorrectParams(){
78
- if( ! (int) $this->resourceCountMax ) $this->resourceCountMax = 50;
79
- if( ! (int) $this->youtubeCacheTime ) $this->youtubeCacheTime = 12;
80
-
81
- if( !$this->api_key ){
82
- $this->errors[] = 'Youtube api is empty';
83
- return false;
84
- }
85
-
86
- if( !$this->resourceType || !$this->resourceId ){
87
- $this->errors[] = 'Youtube source is empty';
88
- return false;
89
- }
90
-
91
- if( in_array( $this->resourceType, array( 'user', 'playlist', 'channel', 'ids' ) )===false ){
92
- $this->errors[] = 'type Youtube source is incorrect';
93
- return false;
94
- }
95
-
96
- if( !$this->resourceId ){
97
- $this->errors[] = 'value Youtube source is incorrect';
98
- return false;
99
- }
100
-
101
- switch( substr( $this->resourceId, 0, 2 ) ){
102
- case 'UC':
103
- if( $this->resourceType != 'channel' ){
104
- $this->errors[] = 'type Youtube channel source is incorrect';
105
- return false;
106
- }
107
- break;
108
- case 'PL':
109
- if( $this->resourceType != 'playlist' ){
110
- $this->errors[] = 'type Youtube playlist source is incorrect';
111
- return false;
112
- }
113
- break;
114
- default:
115
- /*if( $this->resourceType != 'user' ){
116
- $this->errors[] = 'type Youtube user source is incorrect';
117
- return false;
118
- }*/
119
- }
120
- return true;
121
- }
122
-
123
- private function getApiUrl( $resourceId ){
124
- switch ($this->resourceType) {
125
- case 'channel':
126
- $api_url = $this->urlChannel( $resourceId );
127
- break;
128
- case 'playlist':
129
- $api_url = $this->urlPlayList( $resourceId );
130
- break;
131
- case 'user':
132
- $api_url = $this->urlUserName( $resourceId );
133
- break;
134
- case 'ids':
135
- $api_url = $this->urlIds( $resourceId );
136
- break;
137
- default:
138
- $api_url = false;
139
- break;
140
- }
141
- return $api_url;
142
- }
143
-
144
- private function getJsonRequest( $apiUrl, $params = array() ){
145
-
146
- if(!$apiUrl){
147
- $this->errors[] = 'Youtube request error - api url is empty';
148
- return false;
149
- }
150
-
151
- $request = wp_safe_remote_get($apiUrl, $params );
152
-
153
- if ( is_wp_error( $request ) ) {
154
- $this->errors[] = 'wp request error';
155
- return false;
156
- }
157
-
158
- $requestBody = wp_remote_retrieve_body( $request );
159
-
160
- if(!$requestBody) return false;
161
-
162
- $requestJSON = json_decode( $requestBody, 1 );
163
-
164
-
165
- if ( isset($buf['error']) && $buf['error'] ) {
166
- $this->errors[] = 'Youtube get data error' ;
167
- $this->errors[] = $buf['error'];
168
- return false;
169
- }
170
-
171
- return $requestJSON;
172
- }
173
-
174
- private function getVideoFromYoutube( ){
175
- $jsonResponse = '';
176
-
177
- $resourceId = $this->resourceId;
178
- $apiUrl = $this->getApiUrl( $resourceId );
179
-
180
- if( !$apiUrl ){
181
- $this->errors[] = 'Youtube error input data';
182
- return $jsonResponse;
183
- }
184
-
185
- $jsonResponse = $this->getJsonRequest($apiUrl);
186
- if ( !$jsonResponse ) return $false;
187
-
188
- $this->cacheDB->update( $this->resourceId, $jsonResponse );
189
- return $jsonResponse;
190
- }
191
-
192
- public function initItems(){
193
-
194
- $cache_data = $this->cacheDB->getContent( $this->resourceId , $this->youtubeCacheTime );
195
-
196
- //$cache_data = false; // debug
197
-
198
- $jsonResponse = $cache_data ? $cache_data : $this->getVideoFromYoutube();
199
-
200
-
201
- if( count($this->errors) ){
202
- //echo "Error in YouTube request answer";
203
- //print_r($this->errors);
204
- return ;
205
- }
206
-
207
- $arr = array();
208
-
209
- if ( !isset( $jsonResponse['items']) || !count($jsonResponse['items']) ) {
210
- //echo "YouTube request answer is empty";
211
- return ;
212
- }
213
-
214
- foreach ( $jsonResponse['items'] as $v ){
215
-
216
- if( !$this->isVideo($v) ) continue ;
217
- if( !$this->isThumbExists($v) ) continue ;
218
-
219
- $videoId = $this->getVideoId($v);
220
-
221
- $item = array(
222
- 'id' => $videoId
223
- );
224
-
225
- //$item['url']
226
- $item['videolink'] = 'https://www.youtube.com/watch?v='.$videoId;
227
-
228
- $item['data'] = new stdClass();
229
- $item['data']->post_excerpt = 'post_excerpt';
230
- $item['data']->post_content = $v['snippet']['description'];
231
- $item['data']->post_title = $v['snippet']['title'];
232
-
233
- $item['image'] = $v['snippet']['thumbnails']['high']['url'];
234
- $item['thumb'] = $v['snippet']['thumbnails']['high']['url'];
235
-
236
- if(isset($v['snippet']['thumbnails']['high']['width'])) $item['sizeW'] = $v['snippet']['thumbnails']['high']['width'];
237
- else $item['sizeW'] = 240;
238
-
239
- if( isset($v['snippet']['thumbnails']['high']['height']) ) $item['sizeH'] = $v['snippet']['thumbnails']['high']['height'];
240
- else $item['sizeH'] = 240;
241
-
242
- $item['link'] = '';
243
- $item['typelink'] = '';
244
-
245
- $item['col'] = '';
246
- $item['effect'] = '';
247
- $item['alt'] = '';
248
- $item['tags'] = null;
249
- $item['catid'] = $this->id;
250
- $item['galleryType']= 'youtube';
251
-
252
- $arr[] = $item;
253
- }
254
-
255
- $this->items = $arr;
256
- //print_r($arr);
257
- }
258
-
259
- private function isVideo( $item ){
260
- switch ( $this->resourceType ) {
261
- case 'ids':
262
- if( !isset( $item['kind'] ) || $item['kind'] != 'youtube#video' ) return false ;
263
- break;
264
-
265
- case 'playlist':
266
- if( !isset( $item['kind'] ) || $item['kind'] != 'youtube#playlistItem' ) return false ;
267
- break;
268
-
269
- default:
270
- if( !isset( $item['id']['kind'] ) || $item['id']['kind'] != 'youtube#video' ) return false ;
271
- break;
272
- }
273
- return true;
274
- }
275
-
276
- private function isThumbExists( $item ){
277
- if( !isset( $item['snippet'] ) || !isset( $item['snippet']['thumbnails'] ) ) return false ;
278
- return true;
279
- }
280
-
281
- private function getVideoId( $item ){
282
- $videoId = '';
283
- if( isset($item['id']['videoId']) ) $videoId = $item['id']['videoId'];
284
- if ( $this->resourceType == 'playlist' ) $videoId = $item['snippet']['resourceId']['videoId'];
285
- if ( $this->resourceType == 'ids' && isset($item['id']) ) $videoId = $item['id'];
286
- return $videoId;
287
- }
288
-
289
- private function urlUserName( $resourceId ) {
290
- $idParams = $this->getIdParams( $resourceId );
291
- if(!$idParams) return false;
292
-
293
- $url_one = 'https://www.googleapis.com/youtube/v3/channels?part=id&'
294
- . 'forUsername=' . urlencode( $idParams )
295
- . '&key=' . urlencode( $this->api_key );
296
-
297
-
298
- $res = $this->getJsonRequest( $url_one );
299
-
300
- if ( !$res ) return false;
301
-
302
- if( !isset($res['items'][0]['id']) ) return false;
303
-
304
- $id = $res['items'][0]['id'];
305
-
306
- $url_two = 'https://www.googleapis.com/youtube/v3/search?part=snippet,id'
307
- . '&key=' . urlencode( $this->api_key )
308
- . '&maxResults=' . $this->resourceCountMax
309
-
310
- . '&channelId=' . urlencode( $id )
311
- . '&order=date';
312
-
313
- return $url_two;
314
- }
315
-
316
-
317
-
318
- private function urlIds( $resourceId ) {
319
-
320
- $idParams = $this->getIdParams( $resourceId );
321
- if(!$idParams) return false;
322
-
323
- //videos?part=snippet%2CcontentDetails%2Cstatistics&id=Ks-_Mh1QhMc&id=j9_0v_hWqUo&key=[YOUR_API_KEY] HTTP/1.
324
- //. '&order=date'
325
-
326
- $api_url = 'https://www.googleapis.com/youtube/v3/videos?part=snippet,id'
327
- . '&key=' . urlencode( $this->api_key )
328
- .$idParams
329
- ;
330
-
331
- return $api_url;
332
- }
333
-
334
- private function urlChannel( $resourceId ) {
335
-
336
- $idArray = $this->getIdArray($resourceId);
337
-
338
- if( !is_array($idArray) || !count($idArray) ){
339
- $this->errors[] = 'Youtube playlist id error input data';
340
- return false;
341
- }
342
-
343
- $api_url = 'https://www.googleapis.com/youtube/v3/search?part=snippet,id'
344
- . '&key=' . urlencode( $this->api_key )
345
- . '&maxResults=' . $this->resourceCountMax
346
- . '&order=date'
347
- . '&channelId=' . urlencode( $idArray[0] )
348
- ;
349
- return $api_url;
350
- }
351
-
352
- private function urlPlayList( $resourceId ) {
353
-
354
- $idArray = $this->getIdArray($resourceId);
355
-
356
- if( !is_array($idArray) || !count($idArray) ){
357
- $this->errors[] = 'Youtube playlist id error input data';
358
- return false;
359
- }
360
-
361
- $api_url = 'https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,id'
362
- . '&key=' . urlencode( $this->api_key )
363
- . '&maxResults=' . $this->resourceCountMax
364
- . '&playlistId=' . urlencode( $idArray[0] );
365
- return $api_url;
366
- }
367
-
368
-
369
-
370
- /*
371
- ====================================================================
372
- ======Helper
373
- ====================================================================
374
- */
375
-
376
- private function getIdArray( $resourceId ){
377
-
378
- $ids = array();
379
-
380
- if( !$this->isIds($resourceId) ){
381
- $ids[] = $resourceId;
382
- return $ids;
383
- }
384
-
385
- $split_result = preg_split('/[|;,. \n]/', $resourceId );
386
-
387
- if( !is_array($split_result) || !count($split_result) ) return false;
388
-
389
- foreach ($split_result as $value) {
390
- if( trim($value) ) $ids[] = trim($value);
391
- }
392
- if( !count($split_result) ) return false;
393
-
394
- return $ids;
395
- }
396
-
397
- private function isIds( $resourceId ){
398
-
399
- if(
400
- stripos( $this->resourceId, "\n" ) !== false ||
401
- stripos( $this->resourceId, ";" ) !== false ||
402
- stripos( $this->resourceId, "," ) !== false ||
403
- stripos( $this->resourceId, "." ) !== false ||
404
- stripos( $this->resourceId, "|" ) !== false ||
405
- stripos( $this->resourceId, " " ) !== false
406
- ){
407
- return true;
408
- }
409
-
410
- return false;
411
- }
412
-
413
- private function getIdParams($resourceId, $paramName = '&id='){
414
- $idArray = $this->getIdArray($resourceId);
415
-
416
- if( !is_array($idArray) ){
417
- $this->errors[] = 'Youtube ids error input data';
418
- return false;
419
- }
420
- $idParams = '';
421
-
422
- foreach ($idArray as $value) {
423
- $idParams .= $paramName. urlencode( $value );
424
- }
425
- //$idParams = $paramName.implode( $paramName, $idArray);
426
- return $idParams;
427
- }
428
-
429
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/stats.php DELETED
@@ -1,33 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleStats extends roboGalleryModuleAbstraction{
16
-
17
- public function init(){
18
- $this->core->addEvent('gallery.init', array($this, 'updateCountView'));
19
- }
20
-
21
- public function updateCountView( ){
22
- if(!$this->id) return ;
23
- $count_key = 'gallery_views_count';
24
-
25
- $countView = (int) get_post_meta( $this->id, $count_key, true);
26
- if( !$countView){
27
- $countView = 0;
28
- delete_post_meta( $this->id, $count_key);
29
- add_post_meta( $this->id, $count_key, '0');
30
- }
31
- update_post_meta( $this->id, $count_key, ++$countView);
32
- }
33
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/delete/tags.php DELETED
@@ -1,45 +0,0 @@
1
- <?php
2
- /*
3
- * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
- * By Robosoft
6
- *
7
- * Contact: https://robogallery.co/
8
- * Created: 2021
9
- * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
-
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class roboGalleryModuleTagsV1 extends roboGalleryModuleAbstraction{
16
- private $tags = array();
17
-
18
- public function init(){
19
- $this->core->addEvent('gallery.images.get', array($this, 'initTags'));
20
- $this->core->addEvent('gallery.image.init.before', array($this, 'initImageCat'));
21
- }
22
-
23
- public function initTags(){
24
- $this->tags = $this->source->getTags();
25
- if( !is_array($this->tags) || !count($this->tags)) return ;
26
- //$this->core->element->setElementAttr('tags', 'all', $this->tags );
27
- $this->core->addEvent('gallery.image.init.before', array($this, 'initImageTags'));
28
- }
29
-
30
- public function initImageCat( $img ){
31
- if( !isset($img['id']) ) return ;
32
- if( !isset($img['catid']) ) return ;
33
- $this->element->addClass('rbs-img-block'.$img['id'], 'category'.$img['catid'] );
34
- }
35
-
36
- public function initImageTags( $img ){
37
- if( !isset($img['id']) ) return ;
38
- if( !isset($img['tags']) || !is_array($img['tags']) ) return ;
39
-
40
- foreach ($img['tags'] as $ctag){
41
- $tag = 'tag_id'.array_search( $ctag, $this->tags );
42
- $this->element->addClass('rbs-img-block'.$img['id'], $tag );
43
- }
44
- }
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/frontend/modules/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -25,6 +25,7 @@ require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/customcss.php';
25
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/addtexts.php';
26
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/source/class.source.php';
27
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/loader.php';
 
28
 
29
 
30
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'base-grid/assets.php';
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
25
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/addtexts.php';
26
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/source/class.source.php';
27
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/loader.php';
28
+ require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'class/protection.php';
29
 
30
 
31
  require_once ROBO_GALLERY_FRONTEND_MODULES_PATH.'base-grid/assets.php';
includes/frontend/modules/slider/assets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/slider/assets/slider.css CHANGED
@@ -30,6 +30,6 @@
30
 
31
  .swiper-slide-desc.swiper-slide-desc-light{
32
  color: black;
33
- background-color: rgba(255, 255, 255, 0.56);
34
  }
35
 
30
 
31
  .swiper-slide-desc.swiper-slide-desc-light{
32
  color: black;
33
+ background-color: rgba(255, 255, 255, 0.76);
34
  }
35
 
includes/frontend/modules/slider/content.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/slider/layout.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/slider/options.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/rbs_gallery_class.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/rbs_gallery_frontend.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.2 - 17786
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
includes/options/rbs_gallery_options_button_base.php CHANGED
@@ -18,17 +18,78 @@ $button_group->add_field( array(
18
  '<div class="roboGalleryFields">
19
  <div class="row">
20
  <div class="content small-12 columns text-center" style="margin: 14px 0 -7px;"> '.
21
- rbsGalleryUtils::getProButton( '+ '.__('Additional Functionality available in Pro version', 'robo-gallery') ).'
22
  </div>
23
  </div>
24
- </div>',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ));
26
 
27
- $button_group->add_field( array(
28
- 'id' => ROBO_GALLERY_PREFIX . 'menuSelfImages',
29
- 'type' => 'hidden',
30
- 'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
31
- ));
32
 
33
  $button_group->add_field( array(
34
  'id' => ROBO_GALLERY_PREFIX . 'menuSelfImages',
@@ -36,12 +97,6 @@ $button_group->add_field( array(
36
  'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
37
  ));
38
 
39
- $button_group->add_field( array(
40
- 'id' => ROBO_GALLERY_PREFIX . 'menu',
41
- 'type' => 'hidden',
42
- 'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
43
- ));
44
-
45
  $button_group->add_field( array(
46
  'id' => ROBO_GALLERY_PREFIX . 'menuTag',
47
  'type' => 'hidden',
@@ -54,17 +109,7 @@ $button_group->add_field( array(
54
  'default' => '',
55
  ));
56
 
57
- $button_group->add_field( array(
58
- 'id' => ROBO_GALLERY_PREFIX . 'menuRoot',
59
- 'type' => 'hidden',
60
- 'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
61
- ));
62
 
63
- $button_group->add_field( array(
64
- 'id' => ROBO_GALLERY_PREFIX . 'menuRootLabel',
65
- 'type' => 'hidden',
66
- 'default' => __('All', 'robo-gallery' ),
67
- ));
68
 
69
  $button_group->add_field( array(
70
  'id' => ROBO_GALLERY_PREFIX . 'menuSelf',
@@ -72,6 +117,7 @@ $button_group->add_field( array(
72
  'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
73
  ));
74
 
 
75
  $button_group->add_field( array(
76
  'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
77
  'type' => 'hidden',
@@ -114,6 +160,7 @@ $button_group->add_field( array(
114
  'default' => rbs_gallery_set_checkbox_default_for_new_post(10),
115
  ));
116
 
 
117
  $button_group->add_field( array(
118
  'id' => ROBO_GALLERY_PREFIX . 'searchEnable',
119
  'type' => 'hidden',
@@ -130,4 +177,4 @@ $button_group->add_field( array(
130
  'id' => ROBO_GALLERY_PREFIX . 'searchLabel',
131
  'type' => 'hidden',
132
  'default' => __('search', 'robo-gallery' ),
133
- ));
18
  '<div class="roboGalleryFields">
19
  <div class="row">
20
  <div class="content small-12 columns text-center" style="margin: 14px 0 -7px;"> '.
21
+ rbsGalleryUtils::getProButton( __('Add All Pro Features + Advanced Menu + Tags Mode + Gallery Search', 'robo-gallery') ).'
22
  </div>
23
  </div>
24
+ </div>
25
+ ',
26
+ ));
27
+
28
+
29
+
30
+
31
+ $button_group->add_field( array(
32
+ 'name' => __('Menu', 'robo-gallery' ),
33
+ 'id' => ROBO_GALLERY_PREFIX . 'menu',
34
+ 'type' => 'switch',
35
+ 'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
36
+ 'bootstrap_style'=> 1,
37
+ 'showhide' => 1,
38
+ 'depends' => '.rbs_menu_options',
39
+ 'before_row' => '
40
+ <div class="rbs_block">
41
+ <a id="rbs_menu_options_link"></a>
42
+ ',
43
+ 'after_row' => '
44
+
45
+ <div class="rbs_menu_options">
46
+ ',
47
+ ));
48
+
49
+
50
+ $button_group->add_field( array(
51
+ 'name' => __('Root Label', 'robo-gallery' ),
52
+ 'id' => ROBO_GALLERY_PREFIX . 'menuRoot',
53
+ 'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
54
+ 'type' => 'switch',
55
+ 'bootstrap_style'=> 1,
56
+ 'depends' => '.rbs_menu_root_text',
57
+ 'showhide' => 1,
58
+ 'before_row' =>'
59
+ <div role="tabpanel">
60
+ <ul class="nav nav-tabs robo-menu-tabs" role="tablist">
61
+ <li role="presentation" class="active">
62
+ <a href="#menu_label" aria-controls="menu_label" role="tab" data-toggle="tab">'.__('Menu Labels', 'robo-gallery' ).'</a>
63
+ </li>
64
+ <li role="presentation" class="disabled">
65
+ <a >'.__('Menu Style', 'robo-gallery' ).'</a>
66
+ <span class="robo-pro-label">pro</span>
67
+ </li>
68
+ <li role="presentation" class="disabled">
69
+ <a >'.__('Search', 'robo-gallery' ).'</a>
70
+ <span class="robo-pro-label">pro</span>
71
+ </li>
72
+ </ul>
73
+ <div class="tab-content">
74
+ <div role="tabpanel" class="tab-pane active" id="menu_label"><br/>',
75
+ 'after_row' =>'
76
+ <div class="rbs_menu_root_text">',
77
+ ));
78
+
79
+ $button_group->add_field( array(
80
+ 'name' => __('Root Label Text','robo-gallery'),
81
+ 'default' => __('All', 'robo-gallery' ),
82
+ 'id' => ROBO_GALLERY_PREFIX .'menuRootLabel',
83
+ 'type' => 'rbstext',
84
+ 'after_row' => '
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </div>',
91
  ));
92
 
 
 
 
 
 
93
 
94
  $button_group->add_field( array(
95
  'id' => ROBO_GALLERY_PREFIX . 'menuSelfImages',
97
  'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
98
  ));
99
 
 
 
 
 
 
 
100
  $button_group->add_field( array(
101
  'id' => ROBO_GALLERY_PREFIX . 'menuTag',
102
  'type' => 'hidden',
109
  'default' => '',
110
  ));
111
 
 
 
 
 
 
112
 
 
 
 
 
 
113
 
114
  $button_group->add_field( array(
115
  'id' => ROBO_GALLERY_PREFIX . 'menuSelf',
117
  'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
118
  ));
119
 
120
+
121
  $button_group->add_field( array(
122
  'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
123
  'type' => 'hidden',
160
  'default' => rbs_gallery_set_checkbox_default_for_new_post(10),
161
  ));
162
 
163
+
164
  $button_group->add_field( array(
165
  'id' => ROBO_GALLERY_PREFIX . 'searchEnable',
166
  'type' => 'hidden',
177
  'id' => ROBO_GALLERY_PREFIX . 'searchLabel',
178
  'type' => 'hidden',
179
  'default' => __('search', 'robo-gallery' ),
180
+ ));
includes/options/rbs_gallery_options_copy.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/options/rbs_gallery_options_css.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/options/rbs_gallery_options_hover_base.php CHANGED
@@ -143,7 +143,7 @@ $hover_group->add_field( array(
143
  <div class="roboGalleryFields">
144
  <div class="row">
145
  <div class="content small-12 columns text-center" >'
146
- .( ROBO_GALLERY_TYR ? '' : rbsGalleryUtils::getProButton( '+ ' . __('Additional Functionality available in Pro version', 'robo-gallery') )).
147
  '</div>
148
  </div>
149
  </div>
143
  <div class="roboGalleryFields">
144
  <div class="row">
145
  <div class="content small-12 columns text-center" >'
146
+ .( ROBO_GALLERY_TYR ? '' : rbsGalleryUtils::getProButton( __('Add All Pro Features + More Styles + Long Description', 'robo-gallery') )).
147
  '</div>
148
  </div>
149
  </div>
includes/options/rbs_gallery_options_lightbox_base.php CHANGED
@@ -184,7 +184,7 @@ $lightbox_group->add_field( array(
184
  <div class="roboGalleryFields">
185
  <div class="row">
186
  <div class="content small-12 columns text-center" > '.
187
- rbsGalleryUtils::getProButton( '+ '.__('Additional Functionality available in Pro version', 'robo-gallery') ).'
188
  </div>
189
  </div>
190
  </div>
184
  <div class="roboGalleryFields">
185
  <div class="row">
186
  <div class="content small-12 columns text-center" > '.
187
+ rbsGalleryUtils::getProButton( __('Add All Pro Features + Polaroid Mode + Content Source', 'robo-gallery') ).'
188
  </div>
189
  </div>
190
  </div>
includes/options/rbs_gallery_options_loading.php CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'WPINC' ) ) exit;
16
 
17
  $loading_group = new_cmb2_box( array(
18
  'id' => ROBO_GALLERY_PREFIX.'loading_metabox',
19
- 'title' => __('Loading Options','robo-gallery'),
20
  'object_types' => array( ROBO_GALLERY_TYPE_POST ),
21
  'context' => 'normal',
22
  'show_names' => false,
16
 
17
  $loading_group = new_cmb2_box( array(
18
  'id' => ROBO_GALLERY_PREFIX.'loading_metabox',
19
+ 'title' => __('Loading Options', 'robo-gallery'),
20
  'object_types' => array( ROBO_GALLERY_TYPE_POST ),
21
  'context' => 'normal',
22
  'show_names' => false,
includes/options/rbs_gallery_options_polaroid_base.php CHANGED
@@ -17,7 +17,7 @@ $polaroid_group->add_field( array(
17
  '<div class="roboGalleryFields">
18
  <div class="row">
19
  <div class="content small-12 columns text-center" style="margin: 20px 0 0;"> '.
20
- rbsGalleryUtils::getProButton( '+ '.__('Additional Functionality available in Pro version', 'robo-gallery') ).'
21
  </div>
22
  </div>
23
  </div>',
17
  '<div class="roboGalleryFields">
18
  <div class="row">
19
  <div class="content small-12 columns text-center" style="margin: 20px 0 0;"> '.
20
+ rbsGalleryUtils::getProButton( __('Add All Pro Features + Polaroid Mode + Content Source', 'robo-gallery') ).'
21
  </div>
22
  </div>
23
  </div>',
includes/options/rbs_gallery_options_size_base.php CHANGED
@@ -82,7 +82,7 @@ $size_group->add_field( array(
82
  <div class="roboGalleryFields">
83
  <div class="row">
84
  <div class="content small-12 columns text-center" >'
85
- .( ROBO_GALLERY_TYR ? '' : rbsGalleryUtils::getProButton( '+ ' . __('Additional Functionality available in Pro version', 'robo-gallery') )).
86
  '</div>
87
  </div>
88
  </div>
82
  <div class="roboGalleryFields">
83
  <div class="row">
84
  <div class="content small-12 columns text-center" >'
85
+ .( ROBO_GALLERY_TYR ? '' : rbsGalleryUtils::getProButton( __('Add All Pro Features + Grid Columns Manager + Mobile Friendly Tools', 'robo-gallery') )).
86
  '</div>
87
  </div>
88
  </div>
includes/options/rbs_gallery_options_view_base.php CHANGED
@@ -118,7 +118,7 @@ $view_group->add_field( array(
118
  <div class="roboGalleryFields">
119
  <div class="row">
120
  <div class="content small-12 columns text-center" >'
121
- .( ROBO_GALLERY_TYR ? '' : rbsGalleryUtils::getProButton( '+ ' . __('Additional Functionality available in Pro version', 'robo-gallery') )).
122
  '</div>
123
  </div>
124
  </div>
118
  <div class="roboGalleryFields">
119
  <div class="row">
120
  <div class="content small-12 columns text-center" >'
121
+ .( ROBO_GALLERY_TYR ? '' : rbsGalleryUtils::getProButton( __('Additional Functionality available in Pro version', 'robo-gallery') )).
122
  '</div>
123
  </div>
124
  </div>
includes/rbs_gallery_init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_media.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_settings.php CHANGED
@@ -1,428 +1,557 @@
1
- <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
8
  * Created: 2021
9
  * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
 
11
- */
12
-
13
- if ( ! defined( 'WPINC' ) ) exit;
14
-
15
- class Robo_Gallery_Settings {
16
-
17
- private $active_tab = '';
18
-
19
- function __construct(){
20
- $this->init();
21
- }
22
-
23
-
24
- function init(){
25
- $this->hooks();
26
- }
27
-
28
- function hooks(){
29
-
30
- add_action( 'admin_init', array( $this, 'settings') );
31
- add_action('admin_menu', array( $this, 'menu') ) ;
32
- }
33
-
34
- function menu(){
35
- add_submenu_page( 'edit.php?post_type=robo_gallery_table', 'Settings Robo Gallery', 'Settings', 'manage_options', 'robo-gallery-settings', array( $this, 'page') );
36
- }
37
-
38
-
39
- function settings(){
40
- register_setting( 'robo_gallery_settings_cache', ROBO_GALLERY_PREFIX.'cache' );
41
-
42
- register_setting( 'robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'categoryShow' );
43
- register_setting( 'robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'jqueryVersion' );
44
- register_setting( 'robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'fontLoad' );
45
- register_setting( 'robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'delay' );
46
- register_setting( 'robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'debugEnable' );
47
- register_setting( 'robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'expressPanel' );
48
-
49
- register_setting( 'robo_gallery_settings_post', ROBO_GALLERY_PREFIX.'postShowText' );
50
- register_setting( 'robo_gallery_settings_post', ROBO_GALLERY_PREFIX.'cloneBlock' );
51
-
52
- register_setting( 'robo_gallery_settings_seo', ROBO_GALLERY_PREFIX.'seo' );
53
-
54
- register_setting( 'robo_gallery_settings_assets', ROBO_GALLERY_PREFIX.'cssFiles' );
55
- register_setting( 'robo_gallery_settings_assets', ROBO_GALLERY_PREFIX.'jsFiles' );
56
-
57
- register_setting( 'robo_gallery_settings_youtube', ROBO_GALLERY_PREFIX.'youtubeApiKey' );
58
- register_setting( 'robo_gallery_settings_youtube', ROBO_GALLERY_PREFIX.'youtubeCacheTime' );
59
-
60
- }
61
-
62
- function tabs( ){
63
- echo '
64
- <h2 class="nav-tab-wrapper">
65
- <a href="edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=cache" class="nav-tab '.( $this->active_tab == 'cache' ? 'nav-tab-active' : '' ).'">
66
- '.__('Cache Settings', 'robo-gallery').'
67
- </a>
68
- <a href="edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=assets" class="nav-tab '.( $this->active_tab == 'assets' ? 'nav-tab-active' : '' ).'">
69
- '.__('Custom JS\CSS', 'robo-gallery').'
70
- </a>
71
- <a href="edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=comp" class="nav-tab '.( $this->active_tab == 'comp' ? 'nav-tab-active' : '' ).'">
72
- '.__('Compatibility Settings', 'robo-gallery').'
73
- </a>
74
- <a href="edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=post" class="nav-tab '.( $this->active_tab == 'post' ? 'nav-tab-active' : '' ).'">
75
- '.__('Create Post Settings', 'robo-gallery').'
76
- </a>
77
- <a href="edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=seo" class="nav-tab '.( $this->active_tab == 'seo' ? 'nav-tab-active' : '' ).'">
78
- '.__('SEO Optimization', 'robo-gallery').'
79
- </a>
80
- <a href="edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab=youtube" class="nav-tab '.( $this->active_tab == 'youtube' ? 'nav-tab-active' : '' ).'">
81
- '.__('Youtube API Settings', 'robo-gallery').'
82
- </a>
83
- </h2>';
84
- }
85
-
86
-
87
- function page(){
88
-
89
- $this->active_tab = isset( $_GET[ 'tab' ] ) ? sanitize_title($_GET[ 'tab' ]) : 'cache' ;
90
-
91
- echo '<div class="wrap">';
92
- echo '<h1>'.__('Robo Gallery Settings', 'robo-gallery').'</h1>';
93
-
94
- settings_errors();
95
-
96
- $this->tabs();
97
-
98
- echo '<form method="post" action="options.php?tab='.$this->active_tab.'">';
99
-
100
- echo '<table class="form-table">';
101
-
102
- if( $this->active_tab == 'cache' ) {
103
-
104
- settings_fields( 'robo_gallery_settings_cache' );
105
- do_settings_sections( 'robo_gallery_settings_cache' );
106
- $this->cacheOptions();
107
-
108
- } elseif( $this->active_tab == 'comp' ) {
109
-
110
- settings_fields( 'robo_gallery_settings_comp' );
111
- do_settings_sections( 'robo_gallery_settings_comp' );
112
- $this->compOptions();
113
-
114
- } elseif( $this->active_tab == 'assets' ) {
115
-
116
- settings_fields( 'robo_gallery_settings_assets' );
117
- do_settings_sections( 'robo_gallery_settings_assets' );
118
- $this->assetsOptions();
119
-
120
- } elseif( $this->active_tab == 'post' ) {
121
-
122
- settings_fields( 'robo_gallery_settings_post' );
123
- do_settings_sections( 'robo_gallery_settings_post' );
124
- $this->postOptions();
125
-
126
- } elseif( $this->active_tab == 'youtube' ) {
127
-
128
- settings_fields( 'robo_gallery_settings_youtube' );
129
- do_settings_sections( 'robo_gallery_settings_youtube' );
130
- $this->youtubeOptions();
131
-
132
- } else {
133
-
134
- settings_fields( 'robo_gallery_settings_seo' );
135
- do_settings_sections( 'robo_gallery_settings_seo' );
136
- $this->seoOptions();
137
-
138
- }
139
-
140
- echo '</table>';
141
-
142
- submit_button();
143
-
144
- echo '</form>';
145
- echo '</div>';
146
-
147
- }
148
-
149
-
150
- function youtubeOptions(){
151
- $option_youtube = get_option(ROBO_GALLERY_PREFIX.'youtubeApiKey', '');
152
- ?>
153
- <tr>
154
- <th scope="row"><?php _e('Youtube Api Key', 'robo-gallery'); ?></th>
155
- <td>
156
- <fieldset>
157
- <input name="<?php echo ROBO_GALLERY_PREFIX.'youtubeApiKey'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'youtubeApiKey'; ?>" value="<?php echo $option_youtube; ?>" class="regular-text code" type="text">
158
- <span id="robo-youtube-api-resultcheck"></span>
159
- </fieldset>
160
- </td>
161
- </tr>
162
- <tr>
163
- <td colspan="2">
164
- <p class="description">
165
- <?php
166
- echo sprintf(
167
- '%s <a href="%s" target="_black">%s</a> %s',
168
- __("If you don't know how to create Youtube API key please follow ", 'robo-gallery'),
169
- 'https://developers.google.com/youtube/v3/getting-started',
170
- __("this official instruction ", 'robo-gallery'),
171
- __("for the google developers console", 'robo-gallery')
172
- );
173
- ?>
174
- </p>
175
- </td>
176
- </tr>
177
- <?php
178
-
179
- $option_youtube_cache = (int) get_option(ROBO_GALLERY_PREFIX.'youtubeCacheTime', '12');
180
-
181
- if(!$option_youtube_cache) $option_youtube_cache = 12;
182
- ?>
183
- <tr id="robo-options-block-youtube-api">
184
- <th scope="row"><?php _e('Clear cache timeout', 'robo-gallery'); ?></th>
185
- <td>
186
- <fieldset>
187
- <input name="<?php echo ROBO_GALLERY_PREFIX.'youtubeCacheTime'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'youtubeCacheTime'; ?>" value="<?php echo $option_youtube_cache; ?>" class="small-text" type="text"> hours
188
- </fieldset>
189
- </td>
190
- </tr>
191
- <tr>
192
- <td colspan="2">
193
- <p class="description">
194
- <?php _e("This is timeout for the clear youtube gallery cache option. Value in hours for the cleaning period of the cached resources.", 'robo-gallery'); ?>
195
- </p>
196
- </td>
197
- </tr>
198
- <?php
199
- }
200
-
201
- function cacheOptions(){
202
- $option_cache = (int) get_option(ROBO_GALLERY_PREFIX.'cache', '12');
203
-
204
- if(!$option_cache) $option_cache = 12;
205
- ?>
206
- <tr>
207
- <th scope="row"><?php _e('Clear cache timeout', 'robo-gallery'); ?></th>
208
- <td>
209
- <fieldset>
210
- <input name="<?php echo ROBO_GALLERY_PREFIX.'cache'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'cache'; ?>" value="<?php echo $option_cache; ?>" class="small-text" type="text"> hours
211
- </fieldset>
212
- </td>
213
- </tr>
214
- <tr>
215
- <td colspan="2">
216
- <p class="description">
217
- <?php _e("This is timeout for the clear gallery cache option. Value in hours for the cleaning period of the cached resources.", 'robo-gallery'); ?>
218
- </p>
219
- </td>
220
- </tr>
221
- <?php
222
- }
223
-
224
- function assetsOptions(){
225
-
226
- $cssFiles = trim(get_option( ROBO_GALLERY_PREFIX.'cssFiles', ''));
227
- $jsFiles = trim(get_option( ROBO_GALLERY_PREFIX.'jsFiles', ''));
228
- ?>
229
- <tr>
230
- <th scope="row"><?php _e('Css Files', 'robo-gallery'); ?></th>
231
- <td>
232
- <p>
233
- <label>
234
- <?php _e('Just add custom CSS files to this field.','robo-gallery');?>
235
- </label>
236
- </p>
237
- <textarea
238
- name="<?php echo ROBO_GALLERY_PREFIX.'cssFiles'; ?>"
239
- id="<?php echo ROBO_GALLERY_PREFIX.'cssFiles'; ?>"
240
- class="large-text code"
241
- cols="50"
242
- rows="5"><?php echo $cssFiles; ?></textarea>
243
- <p class="description">
244
- <?php _e('Path for included files from the WordPress Root Directory','robo-gallery');?><br/>
245
- <?php _e('Sample path:','robo-gallery');?> <code>wp-content/plugins/robogallery/css/custom.css</code>
246
- </p>
247
- </td>
248
- </tr>
249
- <tr>
250
- <th scope="row"><?php _e('JS Files', 'robo-gallery'); ?></th>
251
- <td>
252
- <p>
253
- <label>
254
- <?php _e('Just add custom JS files to this field.','robo-gallery');?>
255
- </label>
256
- </p>
257
- <textarea
258
- name="<?php echo ROBO_GALLERY_PREFIX.'jsFiles'; ?>"
259
- id="<?php echo ROBO_GALLERY_PREFIX.'jsFiles'; ?>"
260
- class="large-text code"
261
- cols="50"
262
- rows="5"><?php echo $jsFiles; ?></textarea>
263
- <p class="description">
264
- <?php _e('Path for included files from the WordPress Root Directory','robo-gallery');?><br/>
265
- <?php _e('Sample path:','robo-gallery');?> <code>wp-content/plugins/robogallery/js/custom.js</code>
266
- </p>
267
- </td>
268
- </tr>
269
-
270
- <?php
271
- }
272
-
273
-
274
- function compOptions(){
275
- ?>
276
- <tr>
277
- <th scope="row"><?php _e('Categories Manager', 'robo-gallery'); ?></th>
278
- <td>
279
- <fieldset>
280
- <legend class="screen-reader-text"><span><?php _e('Show'); ?></span></legend>
281
- <label title='<?php _e('Show'); ?>'>
282
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'categoryShow'; ?>' value='0' <?php if( !get_option(ROBO_GALLERY_PREFIX.'categoryShow', '') ) echo " checked='checked'"; ?> /> <?php _e('Show'); ?>
283
- </label><br />
284
- <label title='<?php _e('Hide'); ?>'>
285
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'categoryShow'; ?>' value='1' <?php if( get_option(ROBO_GALLERY_PREFIX.'categoryShow')==1 ) echo " checked='checked'"; ?> /> <?php _e('Hide'); ?>
286
- </label><br />
287
- </fieldset>
288
- </td>
289
- </tr>
290
- <tr>
291
- <th scope="row"><?php _e('jQuery Version', 'robo-gallery'); ?></th>
292
- <td>
293
- <fieldset>
294
- <legend class="screen-reader-text"><span><?php _e('jQuery Version', 'robo-gallery'); ?></span></legend>
295
- <label title='<?php _e('Default'); ?>'>
296
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'jqueryVersion'; ?>' value='build' <?php if( get_option(ROBO_GALLERY_PREFIX.'jqueryVersion', 'build')=='build' ) echo " checked='checked'";?> /> <?php _e('Default'); ?>
297
- </label><br />
298
- <label title='<?php _e('Alternative', 'robo-gallery'); ?>'>
299
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'jqueryVersion'; ?>' value='robo' <?php if( get_option(ROBO_GALLERY_PREFIX.'jqueryVersion')=='robo' ) echo " checked='checked'";?> /> <?php _e('Alternative', 'robo-gallery'); ?>
300
- </label>
301
- <p class="description">[for the case if you have jQuery version conflicts on page]</p>
302
- <br />
303
- <label title='<?php _e('Forced include', 'robo-gallery'); ?>'>
304
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'jqueryVersion'; ?>' value='forced' <?php if( get_option(ROBO_GALLERY_PREFIX.'jqueryVersion')=='forced' ) echo " checked='checked'";?> /> <?php _e('Forced include', 'robo-gallery'); ?>
305
- </label>
306
- <p class="description">[ for the case when Your theme do not use WordPress API ]</p>
307
- </fieldset>
308
- </td>
309
- </tr>
310
- <tr>
311
- <th scope="row"><?php _e('Font Awesome', 'robo-gallery'); ?></th>
312
- <td>
313
- <fieldset>
314
- <legend class="screen-reader-text"><span><?php _e('Font Awesome', 'robo-gallery'); ?></span></legend>
315
- <label title='<?php _e('Load'); ?>'>
316
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'fontLoad'; ?>' value='on' <?php if( get_option(ROBO_GALLERY_PREFIX.'fontLoad', 'on')=='on' ) echo " checked='checked'";?> /> <?php _e('Load'); ?>
317
- </label><br />
318
- <label title='<?php _e('Don\'t load', 'robo-gallery'); ?>'>
319
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'fontLoad'; ?>' value='off' <?php if( get_option(ROBO_GALLERY_PREFIX.'fontLoad')=='off' ) echo " checked='checked'";?> /> <?php _e('Don\'t load', 'robo-gallery'); ?>
320
- </label>
321
- <p class="description">[ <?php _e('for the case if Your theme already have awesome fonts loaded', 'robo-gallery'); ?>' ]</p>
322
- </fieldset>
323
- </td>
324
- </tr>
325
-
326
- <tr>
327
- <th scope="row"><?php _e('Size Calculations Delay', 'robo-gallery'); ?></th>
328
- <td>
329
- <input name="<?php echo ROBO_GALLERY_PREFIX.'delay'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'delay'; ?>" value="<?php echo (int) get_option(ROBO_GALLERY_PREFIX.'delay', '1000'); ?>" class="small-text" type="text"> ms.
330
- </td>
331
- </tr>
332
- <tr>
333
- <th scope="row"><?php _e('Debug'); ?></th>
334
- <td>
335
- <fieldset>
336
- <legend class="screen-reader-text"><span><?php _e('Enable'); ?></span></legend>
337
- <label title='<?php _e('Enable'); ?>'>
338
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'debugEnable'; ?>' value='1' <?php if( get_option(ROBO_GALLERY_PREFIX.'debugEnable')==1 ) echo " checked='checked'"; ?> /> <?php _e('Enable'); ?>
339
- </label><br />
340
- <label title='<?php _e('Disable'); ?>'>
341
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'debugEnable'; ?>' value='0' <?php if( !get_option(ROBO_GALLERY_PREFIX.'debugEnable', '') ) echo " checked='checked'"; ?> /> <?php _e('Disable'); ?>
342
- </label><br />
343
- </fieldset>
344
- </td>
345
- </tr>
346
-
347
- <tr>
348
- <th scope="row"><?php _e('Express panel', 'robo-gallery'); ?></th>
349
- <td>
350
- <fieldset>
351
- <legend class="screen-reader-text"><span><?php _e('Enable'); ?></span></legend>
352
- <label title='<?php _e('Enable'); ?>'>
353
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'expressPanel'; ?>' value='1' <?php if( get_option(ROBO_GALLERY_PREFIX.'expressPanel')==1 ) echo " checked='checked'"; ?> /> <?php _e('Enable'); ?>
354
- </label><br />
355
- <label title='<?php _e('Disable'); ?>'>
356
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'expressPanel'; ?>' value='0' <?php if( !get_option(ROBO_GALLERY_PREFIX.'expressPanel', '') ) echo " checked='checked'"; ?> /> <?php _e('Disable'); ?>
357
- </label><br />
358
- </fieldset>
359
- </td>
360
- </tr>
361
- <?php
362
- }
363
-
364
-
365
- function postOptions(){
366
- ?>
367
- <tr>
368
- <th scope="row"><?php _e('Text Block', 'robo-gallery'); ?></th>
369
- <td>
370
- <fieldset>
371
- <legend class="screen-reader-text"><span><?php _e('Show Text', 'robo-gallery'); ?></span></legend>
372
- <label title='<?php _e('Show'); ?>'>
373
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'postShowText'; ?>' value='0' <?php if( !get_option(ROBO_GALLERY_PREFIX.'postShowText', '') ) echo " checked='checked'"; ?> /> <?php _e('Show'); ?>
374
- </label><br />
375
- <label title='<?php _e('Hide'); ?>'>
376
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'postShowText'; ?>' value='1' <?php if( get_option(ROBO_GALLERY_PREFIX.'postShowText')=='1' ) echo " checked='checked'"; ?> /> <?php _e('Hide'); ?>
377
- </label><br />
378
- </fieldset>
379
- </td>
380
- </tr>
381
-
382
- <tr>
383
- <th scope="row"><?php _e('Clone Block', 'robo-gallery'); ?></th>
384
- <td>
385
- <fieldset>
386
- <legend class="screen-reader-text"><span><?php _e('Show Clone Block', 'robo-gallery'); ?></span></legend>
387
- <label title='<?php _e('Show'); ?>'>
388
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'cloneBlock'; ?>' value='0' <?php if( !get_option(ROBO_GALLERY_PREFIX.'cloneBlock', '') ) echo " checked='checked'"; ?> /> <?php _e('Show'); ?>
389
- </label><br />
390
- <label title='<?php _e('Hide'); ?>'>
391
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'cloneBlock'; ?>' value='1' <?php if( get_option(ROBO_GALLERY_PREFIX.'cloneBlock')=='1' ) echo " checked='checked'"; ?> /> <?php _e('Hide'); ?>
392
- </label><br />
393
- </fieldset>
394
- </td>
395
- </tr>
396
- <?php
397
- }
398
-
399
-
400
- function seoOptions(){
401
- ?>
402
- <tr>
403
- <th scope="row"><?php _e('Add SEO content', 'robo-gallery'); ?></th>
404
- <td>
405
- <fieldset>
406
- <legend class="screen-reader-text"><span><?php _e('Enable [thumbs]', 'robo-gallery'); ?></span></legend>
407
- <label title='<?php _e('Enable [thumbs]', 'robo-gallery'); ?>'>
408
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'seo'; ?>' value='2' <?php if( get_option(ROBO_GALLERY_PREFIX.'seo')=='2' ) echo " checked='checked'"; ?> /> <?php _e('Enable [thumbs]', 'robo-gallery'); ?>
409
- </label><br />
410
-
411
- <legend class="screen-reader-text"><span><?php _e('Enable [thumbs + link]', 'robo-gallery'); ?></span></legend>
412
- <label title='<?php _e('Enable [thumbs + link]', 'robo-gallery'); ?>'>
413
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'seo'; ?>' value='1' <?php if( get_option(ROBO_GALLERY_PREFIX.'seo')=='1' ) echo " checked='checked'"; ?> /> <?php _e('Enable [thumbs + link]', 'robo-gallery'); ?>
414
- </label><br />
415
-
416
- <label title='<?php _e('Disable'); ?>'>
417
- <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'seo'; ?>' value='0' <?php if( !get_option(ROBO_GALLERY_PREFIX.'seo', '') ) echo " checked='checked'"; ?> /> <?php _e('Disable', 'robo-gallery'); ?>
418
- </label><br />
419
- </fieldset>
420
- </td>
421
- </tr>
422
-
423
- <?php
424
- }
425
-
426
- }
427
-
428
- $settings = new Robo_Gallery_Settings();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
8
  * Created: 2021
9
  * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
10
 
11
+ */
12
+
13
+ if (! defined('WPINC')) {
14
+ exit;
15
+ }
16
+
17
+ class RoboGallerySettings
18
+ {
19
+ private $active_tab = '';
20
+
21
+ public function __construct()
22
+ {
23
+ $this->init();
24
+ }
25
+
26
+ public function init()
27
+ {
28
+ $this->hooks();
29
+ }
30
+
31
+ public function hooks()
32
+ {
33
+ add_action('admin_init', array( $this, 'settings'));
34
+ add_action('admin_menu', array( $this, 'menu')) ;
35
+ }
36
+
37
+ public function menu()
38
+ {
39
+ add_submenu_page('edit.php?post_type=robo_gallery_table', 'Settings Robo Gallery', 'Settings', 'manage_options', 'robo-gallery-settings', array( $this, 'page'));
40
+ }
41
+
42
+ public function settings()
43
+ {
44
+ register_setting('robo_gallery_settings_cache', ROBO_GALLERY_PREFIX.'cache');
45
+
46
+ register_setting('robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'categoryShow');
47
+ register_setting('robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'jqueryVersion');
48
+ register_setting('robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'fontLoad');
49
+ register_setting('robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'delay');
50
+ register_setting('robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'debugEnable');
51
+ register_setting('robo_gallery_settings_comp', ROBO_GALLERY_PREFIX.'expressPanel');
52
+
53
+ register_setting('robo_gallery_settings_post', ROBO_GALLERY_PREFIX.'postShowText');
54
+ register_setting('robo_gallery_settings_post', ROBO_GALLERY_PREFIX.'cloneBlock');
55
+
56
+ register_setting('robo_gallery_settings_seo', ROBO_GALLERY_PREFIX.'seo');
57
+
58
+ register_setting('robo_gallery_settings_assets', ROBO_GALLERY_PREFIX.'cssFiles');
59
+ register_setting('robo_gallery_settings_assets', ROBO_GALLERY_PREFIX.'jsFiles');
60
+
61
+ register_setting('robo_gallery_settings_youtube', ROBO_GALLERY_PREFIX.'youtubeApiKey');
62
+ register_setting('robo_gallery_settings_youtube', ROBO_GALLERY_PREFIX.'youtubeCacheTime');
63
+
64
+ register_setting('robo_gallery_settings_protection', ROBO_GALLERY_PREFIX.'protectionEnable');
65
+
66
+ register_setting('robo_gallery_settings_watermark', ROBO_GALLERY_PREFIX.'watermarkEnable');
67
+ register_setting('robo_gallery_settings_watermark', ROBO_GALLERY_PREFIX.'watermarkPosition');
68
+ }
69
+
70
+ public function createTabs($name, $label)
71
+ {
72
+ echo '<a href="edit.php?post_type=robo_gallery_table&page=robo-gallery-settings&tab='.$name.'" class="nav-tab '.($this->active_tab == $name ? 'nav-tab-active' : '').'">'.$label.'</a>';
73
+ }
74
+
75
+ public function tabs()
76
+ {
77
+ echo '<h2 class="nav-tab-wrapper">';
78
+ $this->createTabs('cache', __('Cache Settings', 'robo-gallery'));
79
+ $this->createTabs('assets', __('Custom JS\CSS', 'robo-gallery'));
80
+ $this->createTabs('comp', __('Compatibility Settings', 'robo-gallery'));
81
+ $this->createTabs('post', __('Create Post Settings', 'robo-gallery'));
82
+ $this->createTabs('seo', __('SEO Optimization', 'robo-gallery'));
83
+ $this->createTabs('youtube', __('Youtube API', 'robo-gallery'));
84
+ $this->createTabs('protection', __('Content Protection', 'robo-gallery'));
85
+ // $this->createTabs('watermark', __('Watermark', 'robo-gallery'));
86
+ echo '</h2>';
87
+ }
88
+
89
+
90
+ public function page()
91
+ {
92
+ $this->active_tab = isset($_GET[ 'tab' ]) ? sanitize_title($_GET[ 'tab' ]) : 'cache' ;
93
+
94
+ echo '<div class="wrap">';
95
+ echo '<h1>'.__('Robo Gallery Settings', 'robo-gallery').'</h1>';
96
+
97
+ settings_errors();
98
+
99
+ $this->tabs();
100
+
101
+ echo '<form method="post" action="options.php?tab='.$this->active_tab.'">';
102
+
103
+ echo '<table class="form-table">';
104
+
105
+ if ($this->active_tab == 'cache') {
106
+ settings_fields('robo_gallery_settings_cache');
107
+ do_settings_sections('robo_gallery_settings_cache');
108
+ $this->cacheOptions();
109
+ } elseif ($this->active_tab == 'comp') {
110
+ settings_fields('robo_gallery_settings_comp');
111
+ do_settings_sections('robo_gallery_settings_comp');
112
+ $this->compOptions();
113
+ } elseif ($this->active_tab == 'assets') {
114
+ settings_fields('robo_gallery_settings_assets');
115
+ do_settings_sections('robo_gallery_settings_assets');
116
+ $this->assetsOptions();
117
+ } elseif ($this->active_tab == 'post') {
118
+ settings_fields('robo_gallery_settings_post');
119
+ do_settings_sections('robo_gallery_settings_post');
120
+ $this->postOptions();
121
+ } elseif ($this->active_tab == 'youtube') {
122
+ settings_fields('robo_gallery_settings_youtube');
123
+ do_settings_sections('robo_gallery_settings_youtube');
124
+ $this->youtubeOptions();
125
+ } elseif ($this->active_tab == 'protection') {
126
+ settings_fields('robo_gallery_settings_protection');
127
+ do_settings_sections('robo_gallery_settings_protection');
128
+ $this->protectionOptions();
129
+ } elseif ($this->active_tab == 'watermark') {
130
+ settings_fields('robo_gallery_settings_watermark');
131
+ do_settings_sections('robo_gallery_settings_watermark');
132
+ $this->watermarkOptions();
133
+ } else {
134
+ settings_fields('robo_gallery_settings_seo');
135
+ do_settings_sections('robo_gallery_settings_seo');
136
+ $this->seoOptions();
137
+ }
138
+
139
+ echo '</table>';
140
+
141
+ submit_button();
142
+
143
+ echo '</form>';
144
+ echo '</div>';
145
+ }
146
+
147
+ public function watermarkOptions()
148
+ {
149
+ $watermarkEnable = get_option(ROBO_GALLERY_PREFIX.'watermarkEnable', 0);
150
+ $watermarkPosition = get_option(ROBO_GALLERY_PREFIX.'watermarkPosition', 'bl');
151
+ $watermarkText = get_option(ROBO_GALLERY_PREFIX.'watermarkText', '');
152
+ ?>
153
+ <tr>
154
+ <th scope="row"><?php _e('Watermark', 'robo-gallery'); ?></th>
155
+ <td>
156
+ <fieldset>
157
+ <legend class="screen-reader-text"><span><?php _e('Enable'); ?></span></legend>
158
+ <label title='<?php _e('Enable'); ?>'>
159
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkEnable'; ?>' value='1' <?php if ($watermarkEnable) {
160
+ echo " checked='checked'";
161
+ } ?> /> <?php _e('Enable'); ?>
162
+ </label><br />
163
+ <label title='<?php _e('Disable'); ?>'>
164
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkEnable'; ?>' value='0' <?php if (!$watermarkEnable) {
165
+ echo " checked='checked'";
166
+ } ?> /> <?php _e('Disable'); ?>
167
+ </label><br />
168
+ </fieldset>
169
+ </td>
170
+ </tr>
171
+
172
+
173
+ <tr>
174
+ <th scope="row"><?php _e('Watermark Text', 'robo-gallery'); ?></th>
175
+ <td>
176
+ <fieldset>
177
+ <input name="<?php echo ROBO_GALLERY_PREFIX.'watermarkText'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'watermarkText'; ?>" value="<?php echo $watermarkText; ?>" class="regular-text code" type="text">
178
+ <span id="robo-watermark-text-preview"></span>
179
+ </fieldset>
180
+ </td>
181
+ </tr>
182
+ <tr>
183
+ <th scope="row"><?php _e('Watermark alignment', 'robo-gallery'); ?></th>
184
+ <td>
185
+ <fieldset>
186
+ <table style="border: 1px solid silver ;">
187
+ <tr>
188
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='tr' <?php if ($watermarkPosition=='tr') { echo " checked='checked'"; } ?> /></td>
189
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='tc' <?php if ($watermarkPosition=='tc') { echo " checked='checked'"; } ?> /></td>
190
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='tl' <?php if ($watermarkPosition=='tl') { echo " checked='checked'"; } ?> /></td>
191
+ </tr>
192
+ <tr>
193
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='cr' <?php if ($watermarkPosition=='cr') { echo " checked='checked'"; } ?> /></td>
194
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='cc' <?php if ($watermarkPosition=='cc') { echo " checked='checked'"; } ?> /></td>
195
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='cl' <?php if ($watermarkPosition=='cl') { echo " checked='checked'"; } ?> /></td>
196
+ </tr>
197
+ <tr>
198
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='br' <?php if ($watermarkPosition=='br') { echo " checked='checked'"; } ?> /></td>
199
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='bc' <?php if ($watermarkPosition=='bc') { echo " checked='checked'"; } ?> /></td>
200
+ <td><input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'watermarkPosition'; ?>' value='bl' <?php if ($watermarkPosition=='bl') { echo " checked='checked'"; } ?> /></td>
201
+ </tr>
202
+ </table>
203
+ </fieldset>
204
+ <p class="description">
205
+ <?php _e("Select the watermark alignment.", 'robo-gallery'); ?>
206
+ </p>
207
+ </td>
208
+ </tr>
209
+ <tr>
210
+ <td></td>
211
+ <td>
212
+
213
+ </td>
214
+ </tr>
215
+ <?php
216
+ }
217
+
218
+ public function protectionOptions()
219
+ {
220
+ $option_protection = get_option(ROBO_GALLERY_PREFIX.'protectionEnable', 0); ?>
221
+ <tr>
222
+ <th scope="row"><?php _e('Right click', 'robo-gallery'); ?></th>
223
+ <td>
224
+ <fieldset>
225
+ <legend class="screen-reader-text"><span><?php _e('Enable'); ?></span></legend>
226
+ <label title='<?php _e('Enable'); ?>'>
227
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'protectionEnable'; ?>' value='1' <?php if ($option_protection) {
228
+ echo " checked='checked'";
229
+ } ?> /> <?php _e('Enable'); ?>
230
+ </label><br />
231
+ <label title='<?php _e('Disable'); ?>'>
232
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'protectionEnable'; ?>' value='0' <?php if (!$option_protection) {
233
+ echo " checked='checked'";
234
+ } ?> /> <?php _e('Disable'); ?>
235
+ </label><br />
236
+ </fieldset>
237
+ </td>
238
+ </tr>
239
+ <?php
240
+ }
241
+
242
+ public function youtubeOptions()
243
+ {
244
+ $option_youtube = get_option(ROBO_GALLERY_PREFIX.'youtubeApiKey', ''); ?>
245
+ <tr>
246
+ <th scope="row"><?php _e('Youtube Api Key', 'robo-gallery'); ?></th>
247
+ <td>
248
+ <fieldset>
249
+ <input name="<?php echo ROBO_GALLERY_PREFIX.'youtubeApiKey'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'youtubeApiKey'; ?>" value="<?php echo $option_youtube; ?>" class="regular-text code" type="text">
250
+ <span id="robo-youtube-api-resultcheck"></span>
251
+ </fieldset>
252
+ </td>
253
+ </tr>
254
+ <tr>
255
+ <td colspan="2">
256
+ <p class="description">
257
+ <?php
258
+ echo sprintf(
259
+ '%s <a href="%s" target="_black">%s</a> %s',
260
+ __("If you don't know how to create Youtube API key please follow ", 'robo-gallery'),
261
+ 'https://developers.google.com/youtube/v3/getting-started',
262
+ __("this official instruction ", 'robo-gallery'),
263
+ __("for the google developers console", 'robo-gallery')
264
+ ); ?>
265
+ </p>
266
+ </td>
267
+ </tr>
268
+ <?php
269
+
270
+ $option_youtube_cache = (int) get_option(ROBO_GALLERY_PREFIX.'youtubeCacheTime', '12');
271
+
272
+ if (!$option_youtube_cache) {
273
+ $option_youtube_cache = 12;
274
+ } ?>
275
+ <tr id="robo-options-block-youtube-api">
276
+ <th scope="row"><?php _e('Clear cache timeout', 'robo-gallery'); ?></th>
277
+ <td>
278
+ <fieldset>
279
+ <input name="<?php echo ROBO_GALLERY_PREFIX.'youtubeCacheTime'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'youtubeCacheTime'; ?>" value="<?php echo $option_youtube_cache; ?>" class="small-text" type="text"> hours
280
+ </fieldset>
281
+ </td>
282
+ </tr>
283
+ <tr>
284
+ <td colspan="2">
285
+ <p class="description">
286
+ <?php _e("This is timeout for the clear youtube gallery cache option. Value in hours for the cleaning period of the cached resources.", 'robo-gallery'); ?>
287
+ </p>
288
+ </td>
289
+ </tr>
290
+ <?php
291
+ }
292
+
293
+ public function cacheOptions()
294
+ {
295
+ $option_cache = (int) get_option(ROBO_GALLERY_PREFIX.'cache', '12');
296
+
297
+ if (!$option_cache) {
298
+ $option_cache = 12;
299
+ } ?>
300
+ <tr>
301
+ <th scope="row"><?php _e('Clear cache timeout', 'robo-gallery'); ?></th>
302
+ <td>
303
+ <fieldset>
304
+ <input name="<?php echo ROBO_GALLERY_PREFIX.'cache'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'cache'; ?>" value="<?php echo $option_cache; ?>" class="small-text" type="text"> hours
305
+ </fieldset>
306
+ </td>
307
+ </tr>
308
+ <tr>
309
+ <td colspan="2">
310
+ <p class="description">
311
+ <?php _e("This is timeout for the clear gallery cache option. Value in hours for the cleaning period of the cached resources.", 'robo-gallery'); ?>
312
+ </p>
313
+ </td>
314
+ </tr>
315
+ <?php
316
+ }
317
+
318
+ public function assetsOptions()
319
+ {
320
+ $cssFiles = trim(get_option(ROBO_GALLERY_PREFIX.'cssFiles', ''));
321
+ $jsFiles = trim(get_option(ROBO_GALLERY_PREFIX.'jsFiles', '')); ?>
322
+ <tr>
323
+ <th scope="row"><?php _e('Css Files', 'robo-gallery'); ?></th>
324
+ <td>
325
+ <p>
326
+ <label>
327
+ <?php _e('Just add custom CSS files to this field.', 'robo-gallery'); ?>
328
+ </label>
329
+ </p>
330
+ <textarea
331
+ name="<?php echo ROBO_GALLERY_PREFIX.'cssFiles'; ?>"
332
+ id="<?php echo ROBO_GALLERY_PREFIX.'cssFiles'; ?>"
333
+ class="large-text code"
334
+ cols="50"
335
+ rows="5"><?php echo $cssFiles; ?></textarea>
336
+ <p class="description">
337
+ <?php _e('Path for included files from the WordPress Root Directory', 'robo-gallery'); ?><br/>
338
+ <?php _e('Sample path:', 'robo-gallery'); ?> <code>wp-content/plugins/robogallery/css/custom.css</code>
339
+ </p>
340
+ </td>
341
+ </tr>
342
+ <tr>
343
+ <th scope="row"><?php _e('JS Files', 'robo-gallery'); ?></th>
344
+ <td>
345
+ <p>
346
+ <label>
347
+ <?php _e('Just add custom JS files to this field.', 'robo-gallery'); ?>
348
+ </label>
349
+ </p>
350
+ <textarea
351
+ name="<?php echo ROBO_GALLERY_PREFIX.'jsFiles'; ?>"
352
+ id="<?php echo ROBO_GALLERY_PREFIX.'jsFiles'; ?>"
353
+ class="large-text code"
354
+ cols="50"
355
+ rows="5"><?php echo $jsFiles; ?></textarea>
356
+ <p class="description">
357
+ <?php _e('Path for included files from the WordPress Root Directory', 'robo-gallery'); ?><br/>
358
+ <?php _e('Sample path:', 'robo-gallery'); ?> <code>wp-content/plugins/robogallery/js/custom.js</code>
359
+ </p>
360
+ </td>
361
+ </tr>
362
+
363
+ <?php
364
+ }
365
+
366
+
367
+ public function compOptions()
368
+ {
369
+ ?>
370
+ <tr>
371
+ <th scope="row"><?php _e('Categories Manager', 'robo-gallery'); ?></th>
372
+ <td>
373
+ <fieldset>
374
+ <legend class="screen-reader-text"><span><?php _e('Show'); ?></span></legend>
375
+ <label title='<?php _e('Show'); ?>'>
376
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'categoryShow'; ?>' value='0' <?php if (!get_option(ROBO_GALLERY_PREFIX.'categoryShow', '')) {
377
+ echo " checked='checked'";
378
+ } ?> /> <?php _e('Show'); ?>
379
+ </label><br />
380
+ <label title='<?php _e('Hide'); ?>'>
381
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'categoryShow'; ?>' value='1' <?php if (get_option(ROBO_GALLERY_PREFIX.'categoryShow')==1) {
382
+ echo " checked='checked'";
383
+ } ?> /> <?php _e('Hide'); ?>
384
+ </label><br />
385
+ </fieldset>
386
+ </td>
387
+ </tr>
388
+ <tr>
389
+ <th scope="row"><?php _e('jQuery Version', 'robo-gallery'); ?></th>
390
+ <td>
391
+ <fieldset>
392
+ <legend class="screen-reader-text"><span><?php _e('jQuery Version', 'robo-gallery'); ?></span></legend>
393
+ <label title='<?php _e('Default'); ?>'>
394
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'jqueryVersion'; ?>' value='build' <?php if (get_option(ROBO_GALLERY_PREFIX.'jqueryVersion', 'build')=='build') {
395
+ echo " checked='checked'";
396
+ } ?> /> <?php _e('Default'); ?>
397
+ </label><br />
398
+ <label title='<?php _e('Alternative', 'robo-gallery'); ?>'>
399
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'jqueryVersion'; ?>' value='robo' <?php if (get_option(ROBO_GALLERY_PREFIX.'jqueryVersion')=='robo') {
400
+ echo " checked='checked'";
401
+ } ?> /> <?php _e('Alternative', 'robo-gallery'); ?>
402
+ </label>
403
+ <p class="description">[for the case if you have jQuery version conflicts on page]</p>
404
+ <br />
405
+ <label title='<?php _e('Forced include', 'robo-gallery'); ?>'>
406
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'jqueryVersion'; ?>' value='forced' <?php if (get_option(ROBO_GALLERY_PREFIX.'jqueryVersion')=='forced') {
407
+ echo " checked='checked'";
408
+ } ?> /> <?php _e('Forced include', 'robo-gallery'); ?>
409
+ </label>
410
+ <p class="description">[ for the case when Your theme do not use WordPress API ]</p>
411
+ </fieldset>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <th scope="row"><?php _e('Font Awesome', 'robo-gallery'); ?></th>
416
+ <td>
417
+ <fieldset>
418
+ <legend class="screen-reader-text"><span><?php _e('Font Awesome', 'robo-gallery'); ?></span></legend>
419
+ <label title='<?php _e('Load'); ?>'>
420
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'fontLoad'; ?>' value='on' <?php if (get_option(ROBO_GALLERY_PREFIX.'fontLoad', 'on')=='on') {
421
+ echo " checked='checked'";
422
+ } ?> /> <?php _e('Load'); ?>
423
+ </label><br />
424
+ <label title='<?php _e('Don\'t load', 'robo-gallery'); ?>'>
425
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'fontLoad'; ?>' value='off' <?php if (get_option(ROBO_GALLERY_PREFIX.'fontLoad')=='off') {
426
+ echo " checked='checked'";
427
+ } ?> /> <?php _e('Don\'t load', 'robo-gallery'); ?>
428
+ </label>
429
+ <p class="description">[ <?php _e('for the case if Your theme already have awesome fonts loaded', 'robo-gallery'); ?>' ]</p>
430
+ </fieldset>
431
+ </td>
432
+ </tr>
433
+
434
+ <tr>
435
+ <th scope="row"><?php _e('Size Calculations Delay', 'robo-gallery'); ?></th>
436
+ <td>
437
+ <input name="<?php echo ROBO_GALLERY_PREFIX.'delay'; ?>" id="<?php echo ROBO_GALLERY_PREFIX.'delay'; ?>" value="<?php echo (int) get_option(ROBO_GALLERY_PREFIX.'delay', '1000'); ?>" class="small-text" type="text"> ms.
438
+ </td>
439
+ </tr>
440
+ <tr>
441
+ <th scope="row"><?php _e('Debug'); ?></th>
442
+ <td>
443
+ <fieldset>
444
+ <legend class="screen-reader-text"><span><?php _e('Enable'); ?></span></legend>
445
+ <label title='<?php _e('Enable'); ?>'>
446
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'debugEnable'; ?>' value='1' <?php if (get_option(ROBO_GALLERY_PREFIX.'debugEnable')==1) {
447
+ echo " checked='checked'";
448
+ } ?> /> <?php _e('Enable'); ?>
449
+ </label><br />
450
+ <label title='<?php _e('Disable'); ?>'>
451
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'debugEnable'; ?>' value='0' <?php if (!get_option(ROBO_GALLERY_PREFIX.'debugEnable', '')) {
452
+ echo " checked='checked'";
453
+ } ?> /> <?php _e('Disable'); ?>
454
+ </label><br />
455
+ </fieldset>
456
+ </td>
457
+ </tr>
458
+
459
+ <tr>
460
+ <th scope="row"><?php _e('Express panel', 'robo-gallery'); ?></th>
461
+ <td>
462
+ <fieldset>
463
+ <legend class="screen-reader-text"><span><?php _e('Enable'); ?></span></legend>
464
+ <label title='<?php _e('Enable'); ?>'>
465
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'expressPanel'; ?>' value='1' <?php if (get_option(ROBO_GALLERY_PREFIX.'expressPanel')==1) {
466
+ echo " checked='checked'";
467
+ } ?> /> <?php _e('Enable'); ?>
468
+ </label><br />
469
+ <label title='<?php _e('Disable'); ?>'>
470
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'expressPanel'; ?>' value='0' <?php if (!get_option(ROBO_GALLERY_PREFIX.'expressPanel', '')) {
471
+ echo " checked='checked'";
472
+ } ?> /> <?php _e('Disable'); ?>
473
+ </label><br />
474
+ </fieldset>
475
+ </td>
476
+ </tr>
477
+ <?php
478
+ }
479
+
480
+
481
+ public function postOptions()
482
+ {
483
+ ?>
484
+ <tr>
485
+ <th scope="row"><?php _e('Text Block', 'robo-gallery'); ?></th>
486
+ <td>
487
+ <fieldset>
488
+ <legend class="screen-reader-text"><span><?php _e('Show Text', 'robo-gallery'); ?></span></legend>
489
+ <label title='<?php _e('Show'); ?>'>
490
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'postShowText'; ?>' value='0' <?php if (!get_option(ROBO_GALLERY_PREFIX.'postShowText', '')) {
491
+ echo " checked='checked'";
492
+ } ?> /> <?php _e('Show'); ?>
493
+ </label><br />
494
+ <label title='<?php _e('Hide'); ?>'>
495
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'postShowText'; ?>' value='1' <?php if (get_option(ROBO_GALLERY_PREFIX.'postShowText')=='1') {
496
+ echo " checked='checked'";
497
+ } ?> /> <?php _e('Hide'); ?>
498
+ </label><br />
499
+ </fieldset>
500
+ </td>
501
+ </tr>
502
+
503
+ <tr>
504
+ <th scope="row"><?php _e('Clone Block', 'robo-gallery'); ?></th>
505
+ <td>
506
+ <fieldset>
507
+ <legend class="screen-reader-text"><span><?php _e('Show Clone Block', 'robo-gallery'); ?></span></legend>
508
+ <label title='<?php _e('Show'); ?>'>
509
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'cloneBlock'; ?>' value='0' <?php if (!get_option(ROBO_GALLERY_PREFIX.'cloneBlock', '')) {
510
+ echo " checked='checked'";
511
+ } ?> /> <?php _e('Show'); ?>
512
+ </label><br />
513
+ <label title='<?php _e('Hide'); ?>'>
514
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'cloneBlock'; ?>' value='1' <?php if (get_option(ROBO_GALLERY_PREFIX.'cloneBlock')=='1') {
515
+ echo " checked='checked'";
516
+ } ?> /> <?php _e('Hide'); ?>
517
+ </label><br />
518
+ </fieldset>
519
+ </td>
520
+ </tr>
521
+ <?php
522
+ }
523
+
524
+
525
+ public function seoOptions()
526
+ {
527
+ ?>
528
+ <tr>
529
+ <th scope="row"><?php _e('Add SEO content', 'robo-gallery'); ?></th>
530
+ <td>
531
+ <fieldset>
532
+ <legend class="screen-reader-text"><span><?php _e('Enable [thumbs]', 'robo-gallery'); ?></span></legend>
533
+ <label title='<?php _e('Enable [thumbs]', 'robo-gallery'); ?>'>
534
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'seo'; ?>' value='2' <?php
535
+ echo get_option(ROBO_GALLERY_PREFIX.'seo')=='2' ? " checked='checked'" : '';
536
+ ?> /> <?php _e('Enable [thumbs]', 'robo-gallery'); ?>
537
+ </label><br />
538
+
539
+ <legend class="screen-reader-text"><span><?php _e('Enable [thumbs + link]', 'robo-gallery'); ?></span></legend>
540
+ <label title='<?php _e('Enable [thumbs + link]', 'robo-gallery'); ?>'>
541
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'seo'; ?>' value='1' <?php
542
+ echo get_option(ROBO_GALLERY_PREFIX.'seo')=='1' ? " checked='checked'" : ''; ?> />
543
+ <?php _e('Enable [thumbs + link]', 'robo-gallery'); ?>
544
+ </label><br />
545
+ <label title='<?php _e('Disable'); ?>'>
546
+ <input type='radio' name='<?php echo ROBO_GALLERY_PREFIX.'seo'; ?>' value='0' <?php
547
+ echo !get_option(ROBO_GALLERY_PREFIX.'seo') ? " checked='checked'" : ''; ?> />
548
+ <?php _e('Disable', 'robo-gallery'); ?>
549
+ </label><br />
550
+ </fieldset>
551
+ </td>
552
+ </tr>
553
+ <?php
554
+ }
555
+ }
556
+
557
+ $settings = new RoboGallerySettings();
includes/rbs_gallery_widget.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_widget_last.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.2 - 17786
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
js/admin/edit.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.2 - 17786
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
languages/rbs_gallery-pl_PL.mo CHANGED
Binary file
languages/rbs_gallery-pl_PL.po CHANGED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Robo Gallery\n"
4
  "POT-Creation-Date: 2016-05-06 07:00+0200\n"
5
- "PO-Revision-Date: 2016-05-06 07:02+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: RoboSoft Team <team@robosoft.co>\n"
8
  "Language: pl_PL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.6\n"
13
  "X-Poedit-Basepath: ../includes\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
15
  "|| n%100>=20) ? 1 : 2);\n"
@@ -252,7 +252,7 @@ msgstr ""
252
 
253
  #: extensions/rbs_create_post.php:17
254
  msgid "Loading . . . ."
255
- msgstr "Ładowanie"
256
 
257
  #: extensions/rbs_create_post_ajax.php:44
258
  #: extensions/rbs_create_post_ajax.php:51
@@ -276,7 +276,7 @@ msgstr ""
276
 
277
  #: extensions/rbs_create_post_ajax.php:59
278
  msgid "Category"
279
- msgstr "kategorią"
280
 
281
  #: extensions/rbs_create_post_ajax.php:64
282
  #: extensions/rbs_create_post_ajax.php:178
@@ -335,7 +335,7 @@ msgstr ""
335
 
336
  #: extensions/rbs_create_post_ajax.php:222
337
  msgid "Error: "
338
- msgstr "Błąd:"
339
 
340
  #: extensions/stats/stats.form.php:18
341
  msgid "Robo Gallery Statistics"
@@ -1193,7 +1193,7 @@ msgstr ""
1193
 
1194
  #: rbs_gallery_widget.php:35 rbs_gallery_widget.php:67
1195
  msgid "This widget available in Pro version"
1196
- msgstr ""
1197
 
1198
  #: rbs_gallery_widget.php:44
1199
  msgid "New gallery"
2
  msgstr ""
3
  "Project-Id-Version: Robo Gallery\n"
4
  "POT-Creation-Date: 2016-05-06 07:00+0200\n"
5
+ "PO-Revision-Date: 2021-11-23 13:59+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: RoboSoft Team <team@robosoft.co>\n"
8
  "Language: pl_PL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 3.0\n"
13
  "X-Poedit-Basepath: ../includes\n"
14
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
15
  "|| n%100>=20) ? 1 : 2);\n"
252
 
253
  #: extensions/rbs_create_post.php:17
254
  msgid "Loading . . . ."
255
+ msgstr "Ładowanie . . . ."
256
 
257
  #: extensions/rbs_create_post_ajax.php:44
258
  #: extensions/rbs_create_post_ajax.php:51
276
 
277
  #: extensions/rbs_create_post_ajax.php:59
278
  msgid "Category"
279
+ msgstr "Kategorią"
280
 
281
  #: extensions/rbs_create_post_ajax.php:64
282
  #: extensions/rbs_create_post_ajax.php:178
335
 
336
  #: extensions/rbs_create_post_ajax.php:222
337
  msgid "Error: "
338
+ msgstr "Błąd: "
339
 
340
  #: extensions/stats/stats.form.php:18
341
  msgid "Robo Gallery Statistics"
1193
 
1194
  #: rbs_gallery_widget.php:35 rbs_gallery_widget.php:67
1195
  msgid "This widget available in Pro version"
1196
+ msgstr "Ten widget dostępny w wersji Pro"
1197
 
1198
  #: rbs_gallery_widget.php:44
1199
  msgid "New gallery"
languages/robo-gallery.pot CHANGED
@@ -3,14 +3,14 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Robo Gallery\n"
6
- "POT-Creation-Date: 2018-09-03 21:10+0200\n"
7
  "PO-Revision-Date: 2017-05-15 11:19+0200\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.1.1\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: robogallery.php\n"
@@ -24,36 +24,30 @@ msgstr ""
24
  "X-Poedit-SearchPathExcluded-2: dist\n"
25
  "X-Poedit-SearchPathExcluded-3: node_modules\n"
26
 
27
- #: app/class.listing.php:52 includes/rbs_gallery_list.php:98
28
  msgid "Views"
29
  msgstr ""
30
 
31
- #: app/class.listing.php:53 includes/rbs_gallery_list.php:99
32
  msgid "Shortcode"
33
  msgstr ""
34
 
35
- #: app/class.listing.php:89 cmb2/fields/toolbox/cmb-field-toolbox.php:60
36
- #: includes/rbs_gallery_list.php:60
37
  msgid "Get Robo Gallery Pro version"
38
  msgstr ""
39
 
40
- #: app/class.listing.php:90 cmb2/fields/toolbox/cmb-field-toolbox.php:61
41
- #: cmb2/fields/toolbox/cmb-field-toolbox.php:74
42
  #: includes/extensions/rbs_create_post.php:11
43
- #: includes/rbs_gallery_button.php:28 includes/rbs_gallery_list.php:61
44
  msgid "Close"
45
  msgstr ""
46
 
47
- #: app/class.listing.php:91 cmb2/fields/toolbox/cmb-field-toolbox.php:62
48
- #: includes/options/rbs_gallery_options_info.php:19
49
- #: includes/options/rbs_gallery_options_info.php:31
50
- #: includes/options/rbs_gallery_options_infowide.php:19
51
- #: includes/rbs_gallery_about.php:66 includes/rbs_gallery_about.php:67
52
- #: includes/rbs_gallery_list.php:62 includes/rbs_gallery_topblock.php:23
53
  msgid "Get Pro version"
54
  msgstr ""
55
 
56
- #: app/class.listing.php:93 includes/rbs_gallery_list.php:64
57
  msgid ""
58
  "You can create only 3 galleries. Update to PRO to get unlimited galleries"
59
  msgstr ""
@@ -76,7 +70,7 @@ msgid "Help & Support"
76
  msgstr ""
77
 
78
  #: app/extensions/dashboard/class.dashboard.php:65
79
- #: app/extensions/dashboard/class.dashboard.php:130
80
  msgid "Demos"
81
  msgstr ""
82
 
@@ -84,29 +78,30 @@ msgstr ""
84
  msgid "Get Pro Version"
85
  msgstr ""
86
 
87
- #: app/extensions/dashboard/class.dashboard.php:131
88
  msgid "Pro version"
89
  msgstr ""
90
 
91
- #: app/extensions/dashboard/class.dashboard.php:137
92
  msgid "Robo Gallery is advanced responsive photo gallery plugin."
93
  msgstr ""
94
 
95
- #: app/extensions/dashboard/class.dashboard.php:139
96
  msgid ""
97
  "Flexible gallery images management tools. Links, videos and gallery lightbox "
98
  "support. "
99
  msgstr ""
100
 
101
- #: app/extensions/dashboard/class.dashboard.php:141
102
  msgid "In our gallery you can easily customize layouts and interface styles. "
103
  msgstr ""
104
 
105
- #: app/extensions/dashboard/class.dashboard.php:144
106
  #, php-format
107
  msgid ""
108
  "If you have some questions or any kind of problems with gallery installation "
109
- "or configuration feel free to <a href=\"%s\">post ticket here</a>"
 
110
  msgstr ""
111
 
112
  #: app/extensions/dashboard/overview.php:6
@@ -135,19 +130,57 @@ msgstr ""
135
  #: app/extensions/dashboard/overview.php:12
136
  msgid ""
137
  "After save of the Publish button, below title you can find Permalink field "
138
- "with direct link to hte created gallery on front end."
139
  msgstr ""
140
 
141
  #: app/extensions/dashboard/overview.php:15
142
  msgid "That's it! Your first Robo Gallery Created!"
143
  msgstr ""
144
 
145
- #: app/extensions/dashboard/overview.php:21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  #: app/extensions/dashboard/video_guide.php:5
147
  msgid "Need some Help ?"
148
  msgstr ""
149
 
150
- #: app/extensions/dashboard/overview.php:23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  #: app/extensions/dashboard/video_guide.php:7
152
  #, php-format
153
  msgid ""
@@ -155,7 +188,6 @@ msgid ""
155
  "or configuration feel free to <a href=\"%s\">post ticket here</a>. "
156
  msgstr ""
157
 
158
- #: app/extensions/dashboard/overview.php:25
159
  #: app/extensions/dashboard/video_guide.php:9
160
  #, php-format
161
  msgid ""
@@ -256,6 +288,418 @@ msgid ""
256
  "this new gallery item"
257
  msgstr ""
258
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  #: app/extensions/manager/class.addons.php:147
260
  msgid "Download"
261
  msgstr ""
@@ -318,7 +762,7 @@ msgid "Please confirm that you wish to install new Add-on:"
318
  msgstr ""
319
 
320
  #: app/extensions/manager/class.addons.php:167
321
- #: includes/extensions/category/category.class.php:104
322
  msgid "Cancel"
323
  msgstr ""
324
 
@@ -337,7 +781,7 @@ msgstr ""
337
  #: app/extensions/manager/templates/addon.tpl.php:106
338
  #, php-format
339
  msgid ""
340
- "Oops ... Something went wrong. Wordpress don't able to download add-on. "
341
  "Please try again later or download it manually from <a class='thickbox open-"
342
  "plugin-details-modal' href='%s'>[here]</a>. In the case if this situation "
343
  "repeat contact our [support team]"
@@ -356,7 +800,6 @@ msgid ""
356
  msgstr ""
357
 
358
  #: app/extensions/manager/templates/addons.tpl.php:22
359
- #: includes/options/rbs_gallery_options_button.php:26
360
  msgid "Menu"
361
  msgstr ""
362
 
@@ -369,53 +812,53 @@ msgid "Navigation"
369
  msgstr ""
370
 
371
  #: cmb2/fields/border/cmb-field-border.php:50
372
- #: includes/options/rbs_gallery_options_size.php:28
373
  msgid "Width"
374
  msgstr ""
375
 
376
  #: cmb2/fields/border/cmb-field-border.php:69
377
- #: includes/options/rbs_gallery_options_button.php:136
378
  msgid "Style"
379
  msgstr ""
380
 
381
  #: cmb2/fields/border/cmb-field-border.php:83
382
- #: includes/options/rbs_gallery_options_button.php:155
383
  msgid "Color"
384
  msgstr ""
385
 
386
  #: cmb2/fields/padding/rbs-padding.php:46
387
- #: includes/options/rbs_gallery_options_button.php:207
388
- #: includes/options/rbs_gallery_options_polaroid.php:70
389
  msgid "Left"
390
  msgstr ""
391
 
392
- #: cmb2/fields/padding/rbs-padding.php:60
393
  msgid "Top"
394
  msgstr ""
395
 
396
- #: cmb2/fields/padding/rbs-padding.php:78
397
- #: includes/options/rbs_gallery_options_button.php:209
398
- #: includes/options/rbs_gallery_options_polaroid.php:71
399
  msgid "Right"
400
  msgstr ""
401
 
402
- #: cmb2/fields/padding/rbs-padding.php:92
403
  msgid "Bottom"
404
  msgstr ""
405
 
406
- #: cmb2/fields/toolbox/cmb-field-toolbox.php:64
 
 
 
 
407
  msgid "This function available in PRO version"
408
  msgstr ""
409
 
410
- #: cmb2/fields/toolbox/cmb-field-toolbox.php:73
411
  msgid "Update Robo Gallery PRO Key"
412
  msgstr ""
413
 
414
- #: cmb2/fields/toolbox/cmb-field-toolbox.php:75
415
  msgid "Goto Clients section"
416
  msgstr ""
417
 
418
- #: cmb2/fields/toolbox/cmb-field-toolbox.php:77
419
  msgid ""
420
  "This function available in latest versions of the plugin. <br/>\n"
421
  "\t\t\t\t\t\t\tPlease login to <a href=\"https://robosoft.co/clients/\" "
@@ -429,7 +872,7 @@ msgid ""
429
  "latest functions implemented in new version of the plugin."
430
  msgstr ""
431
 
432
- #: cmb2/fields/toolbox/cmb-field-toolbox.php:128
433
  msgid "disabled because you select gallery clone option"
434
  msgstr ""
435
 
@@ -491,7 +934,7 @@ msgstr ""
491
 
492
  #: includes/extensions/backup/backup.form.php:189
493
  msgid ""
494
- "After EXPORT copy images from server folder: {Wordpress folder}/wp-content/"
495
  "uploads to the new location by FTP"
496
  msgstr ""
497
 
@@ -532,33 +975,38 @@ msgstr ""
532
  msgid "Upload XML or Zip"
533
  msgstr ""
534
 
535
- #: includes/extensions/category/category.class.php:46
536
- #: includes/options/rbs_gallery_options_button.php:52
 
 
 
 
 
537
  msgid "Categories"
538
  msgstr ""
539
 
540
- #: includes/extensions/category/category.class.php:101
541
  msgid "Save"
542
  msgstr ""
543
 
544
- #: includes/extensions/category/category.class.php:113
545
  #: includes/extensions/categoryPage/category.class.php:97
546
  msgid "Error"
547
  msgstr ""
548
 
549
- #: includes/extensions/category/category.class.php:116
550
  #: includes/extensions/categoryPage/category.class.php:98
551
  msgid "OK"
552
  msgstr ""
553
 
554
- #: includes/extensions/category/category.class.php:143
555
  msgid "Root Category"
556
  msgstr ""
557
 
558
- #: includes/extensions/category/category.class.php:155
559
- #: includes/extensions/rbs_create_post_ajax.php:143
560
- #: includes/extensions/rbs_create_post_ajax.php:201
561
- #: includes/extensions/rbs_create_post_ajax.php:202
562
  msgid "Edit"
563
  msgstr ""
564
 
@@ -604,12 +1052,11 @@ msgid "Category"
604
  msgstr ""
605
 
606
  #: includes/extensions/rbs_create_post_ajax.php:64
607
- #: includes/extensions/rbs_create_post_ajax.php:178
608
- #: includes/options/rbs_gallery_options_hover.php:129
609
- #: includes/options/rbs_gallery_options_lightbox.php:43
610
- #: includes/options/rbs_gallery_options_lightbox.php:187
611
- #: includes/options/rbs_gallery_options_polaroid.php:46
612
- #: includes/rbs_gallery_widget.php:165 includes/rbs_gallery_widget_last.php:75
613
  msgid "Title"
614
  msgstr ""
615
 
@@ -618,7 +1065,7 @@ msgid "Slug"
618
  msgstr ""
619
 
620
  #: includes/extensions/rbs_create_post_ajax.php:74
621
- #: includes/options/rbs_gallery_options_lightbox.php:26
622
  msgid "Text"
623
  msgstr ""
624
 
@@ -626,30 +1073,34 @@ msgstr ""
626
  msgid "Short tag of the gallery will be insert into created article."
627
  msgstr ""
628
 
629
- #: includes/extensions/rbs_create_post_ajax.php:140
630
  msgid "Post"
631
  msgstr ""
632
 
633
- #: includes/extensions/rbs_create_post_ajax.php:140
634
  msgid "created"
635
  msgstr ""
636
 
637
- #: includes/extensions/rbs_create_post_ajax.php:146
638
- #: includes/extensions/rbs_create_post_ajax.php:206
639
- #: includes/extensions/rbs_create_post_ajax.php:207
640
  msgid "Preview"
641
  msgstr ""
642
 
643
- #: includes/extensions/rbs_create_post_ajax.php:179
 
 
 
 
644
  msgid "Status"
645
  msgstr ""
646
 
647
- #: includes/extensions/rbs_create_post_ajax.php:197
648
  #: includes/extensions/stats/stats.form.php:118
649
  msgid "Published"
650
  msgstr ""
651
 
652
- #: includes/extensions/rbs_create_post_ajax.php:197
653
  msgid "publish"
654
  msgstr ""
655
 
@@ -702,40 +1153,31 @@ msgstr ""
702
  msgid "Trash"
703
  msgstr ""
704
 
705
- #: includes/frontend/rbs_gallery_class.php:830
706
- msgid "Robo Gallery :: Loading problems [error 768]"
707
- msgstr ""
708
-
709
- #: includes/frontend/rbs_gallery_class.php:831
710
- msgid ""
711
- "Looks like you have some loading problems or conflict of Robo Gallery with "
712
- "some other plugins or theme."
713
  msgstr ""
714
 
715
- #: includes/frontend/rbs_gallery_class.php:832
716
  msgid ""
717
- "Please open Settings section on the right side admin menu and use "
718
- "Compatibility Settings / jQuery option. "
719
  msgstr ""
720
 
721
- #: includes/frontend/rbs_gallery_class.php:833
722
  msgid ""
723
- "Try to switch jQuery option value to Forced include, save settings try to "
724
- "reload page. "
725
  msgstr ""
726
 
727
- #: includes/frontend/rbs_gallery_class.php:834
728
- msgid ""
729
- "If it's not gonna help please try Alternative option. User Guide: [ <a href="
730
- "\"https://robosoft.co/knowledgebase/2017/11/07/loading-problems-or-conflicts/"
731
- "\" target=\"_blank\">Fix conflict solution</a> ] "
732
  msgstr ""
733
 
734
- #: includes/frontend/rbs_gallery_class.php:836
735
  msgid ""
736
- "If it's not gonna help please <a href=\"https://robosoft.co/new-ticket\" "
737
- "target=\"_blank\">contact our support team</a> and we help you to find "
738
- "solution."
739
  msgstr ""
740
 
741
  #: includes/options/cache.php:12 includes/options/cache.php:20
@@ -756,209 +1198,43 @@ msgstr ""
756
  msgid "You can configure timeout for cleaning of the cached resources "
757
  msgstr ""
758
 
759
- #: includes/options/cache.php:44
760
- msgid "here"
761
- msgstr ""
762
-
763
- #: includes/options/rbs_gallery_options_button.php:19
764
  msgid "Menu Options"
765
  msgstr ""
766
 
767
- #: includes/options/rbs_gallery_options_button.php:42
768
- msgid "Menu mode"
 
 
 
 
 
769
  msgstr ""
770
 
771
- #: includes/options/rbs_gallery_options_button.php:51
772
- #: includes/rbs_gallery_media.php:56
773
- msgid "Tags"
774
  msgstr ""
775
 
776
- #: includes/options/rbs_gallery_options_button.php:53
777
- msgid "primary"
778
  msgstr ""
779
 
780
- #: includes/options/rbs_gallery_options_button.php:54
781
- msgid "info"
782
  msgstr ""
783
 
784
- #: includes/options/rbs_gallery_options_button.php:61
785
- msgid "Tags Ordering"
786
  msgstr ""
787
 
788
- #: includes/options/rbs_gallery_options_button.php:68
789
- msgid "No ordering"
 
 
 
790
  msgstr ""
791
 
792
- #: includes/options/rbs_gallery_options_button.php:69
793
- msgid "Alphabetical asc"
794
- msgstr ""
795
-
796
- #: includes/options/rbs_gallery_options_button.php:70
797
- msgid "Alphabetical desc"
798
- msgstr ""
799
-
800
- #: includes/options/rbs_gallery_options_button.php:77
801
- msgid "Self Images"
802
- msgstr ""
803
-
804
- #: includes/options/rbs_gallery_options_button.php:89
805
- msgid "Root Label"
806
- msgstr ""
807
-
808
- #: includes/options/rbs_gallery_options_button.php:99
809
- msgid "Menu Labels"
810
- msgstr ""
811
-
812
- #: includes/options/rbs_gallery_options_button.php:100
813
- msgid "Menu Style"
814
- msgstr ""
815
-
816
- #: includes/options/rbs_gallery_options_button.php:101
817
- #: includes/options/rbs_gallery_options_button.php:240
818
- msgid "Search"
819
- msgstr ""
820
-
821
- #: includes/options/rbs_gallery_options_button.php:110
822
- msgid "Root Label Text"
823
- msgstr ""
824
-
825
- #: includes/options/rbs_gallery_options_button.php:111
826
- msgid "All"
827
- msgstr ""
828
-
829
- #: includes/options/rbs_gallery_options_button.php:121
830
- msgid "Self Label"
831
- msgstr ""
832
-
833
- #: includes/options/rbs_gallery_options_button.php:143
834
- #: includes/options/rbs_gallery_options_button.php:178
835
- #: includes/options/rbs_gallery_options_button.php:194
836
- msgid "Normal"
837
- msgstr ""
838
-
839
- #: includes/options/rbs_gallery_options_button.php:144
840
- msgid "flat"
841
- msgstr ""
842
-
843
- #: includes/options/rbs_gallery_options_button.php:145
844
- msgid "3d"
845
- msgstr ""
846
-
847
- #: includes/options/rbs_gallery_options_button.php:146
848
- #: includes/options/rbs_gallery_options_view.php:127
849
- msgid "Border"
850
- msgstr ""
851
-
852
- #: includes/options/rbs_gallery_options_button.php:162
853
- msgid "Gray"
854
- msgstr ""
855
-
856
- #: includes/options/rbs_gallery_options_button.php:163
857
- #: includes/options/rbs_gallery_options_lightbox.php:204
858
- msgid "Blue"
859
- msgstr ""
860
-
861
- #: includes/options/rbs_gallery_options_button.php:164
862
- #: includes/options/rbs_gallery_options_lightbox.php:205
863
- msgid "Green"
864
- msgstr ""
865
-
866
- #: includes/options/rbs_gallery_options_button.php:165
867
- msgid "Orange"
868
- msgstr ""
869
-
870
- #: includes/options/rbs_gallery_options_button.php:166
871
- #: includes/options/rbs_gallery_options_lightbox.php:203
872
- msgid "Red"
873
- msgstr ""
874
-
875
- #: includes/options/rbs_gallery_options_button.php:167
876
- msgid "Purple"
877
- msgstr ""
878
-
879
- #: includes/options/rbs_gallery_options_button.php:172
880
- msgid "Rounds"
881
- msgstr ""
882
-
883
- #: includes/options/rbs_gallery_options_button.php:179
884
- msgid "Rounded"
885
- msgstr ""
886
-
887
- #: includes/options/rbs_gallery_options_button.php:180
888
- msgid "Pill"
889
- msgstr ""
890
-
891
- #: includes/options/rbs_gallery_options_button.php:181
892
- msgid "Circle "
893
- msgstr ""
894
-
895
- #: includes/options/rbs_gallery_options_button.php:186
896
- msgid "Size"
897
- msgstr ""
898
-
899
- #: includes/options/rbs_gallery_options_button.php:192
900
- msgid "Jumbo"
901
- msgstr ""
902
-
903
- #: includes/options/rbs_gallery_options_button.php:193
904
- msgid "Large"
905
- msgstr ""
906
-
907
- #: includes/options/rbs_gallery_options_button.php:195
908
- msgid "Small"
909
- msgstr ""
910
-
911
- #: includes/options/rbs_gallery_options_button.php:196
912
- msgid "Tiny "
913
- msgstr ""
914
-
915
- #: includes/options/rbs_gallery_options_button.php:201
916
- #: includes/options/rbs_gallery_options_polaroid.php:64
917
- #: includes/options/rbs_gallery_options_size.php:38
918
- msgid "Align"
919
- msgstr ""
920
-
921
- #: includes/options/rbs_gallery_options_button.php:208
922
- #: includes/options/rbs_gallery_options_polaroid.php:72
923
- msgid "Center"
924
- msgstr ""
925
-
926
- #: includes/options/rbs_gallery_options_button.php:214
927
- msgid "Left Padding"
928
- msgstr ""
929
-
930
- #: includes/options/rbs_gallery_options_button.php:225
931
- msgid "Bottom Padding"
932
- msgstr ""
933
-
934
- #: includes/options/rbs_gallery_options_button.php:251
935
- msgid "Search Color"
936
- msgstr ""
937
-
938
- #: includes/options/rbs_gallery_options_button.php:262
939
- msgid "Search Text"
940
- msgstr ""
941
-
942
- #: includes/options/rbs_gallery_options_button.php:263
943
- msgid "search"
944
- msgstr ""
945
-
946
- #: includes/options/rbs_gallery_options_copy.php:29
947
- msgid " Clone Gallery"
948
- msgstr ""
949
-
950
- #: includes/options/rbs_gallery_options_copy.php:37
951
- msgid "Source Gallery"
952
- msgstr ""
953
-
954
- #: includes/options/rbs_gallery_options_copy.php:38
955
- msgid ""
956
- "When you select here to inherit settings from another gallery you'll not be "
957
- "able to edit some of the options. Gallery will copy all settings from "
958
- "selected source."
959
- msgstr ""
960
-
961
- #: includes/options/rbs_gallery_options_copy.php:39
962
  msgid ""
963
  "Very useful option for the webmasters who planning to create a lot of "
964
  "galleries. You don't have to configure it every time. Just setup styles of "
@@ -967,315 +1243,176 @@ msgid ""
967
  "speed up your work flow!"
968
  msgstr ""
969
 
970
- #: includes/options/rbs_gallery_options_guides.php:22
971
- msgid "Video Guides"
972
- msgstr ""
973
-
974
- #: includes/options/rbs_gallery_options_hover.php:19
975
- msgid "Hover Options"
976
- msgstr ""
977
-
978
- #: includes/options/rbs_gallery_options_hover.php:26
979
- msgid "Click Thumbnail"
980
- msgstr ""
981
-
982
- #: includes/options/rbs_gallery_options_hover.php:32
983
- #: includes/rbs_gallery_media.php:88
984
- msgid "On"
985
- msgstr ""
986
-
987
- #: includes/options/rbs_gallery_options_hover.php:33
988
- #: includes/options/rbs_gallery_options_hover.php:47
989
- #: includes/rbs_gallery_media.php:89
990
- msgid "Off"
991
- msgstr ""
992
-
993
- #: includes/options/rbs_gallery_options_hover.php:40
994
- msgid "Hover Mode"
995
- msgstr ""
996
-
997
- #: includes/options/rbs_gallery_options_hover.php:48
998
- msgid "Options"
999
- msgstr ""
1000
-
1001
- #: includes/options/rbs_gallery_options_hover.php:49
1002
- msgid "Template"
1003
- msgstr ""
1004
-
1005
- #: includes/options/rbs_gallery_options_hover.php:63
1006
- msgid "No Hover for Mobile"
1007
- msgstr ""
1008
-
1009
- #: includes/options/rbs_gallery_options_hover.php:66
1010
- msgid "this option turn off hover effect only for mobile devices"
1011
- msgstr ""
1012
-
1013
- #: includes/options/rbs_gallery_options_hover.php:73
1014
- #: includes/options/rbs_gallery_options_lightbox.php:63
1015
- #: includes/options/rbs_gallery_options_loading.php:79
1016
- #: includes/options/rbs_gallery_options_polaroid.php:53
1017
- msgid "Bg Color"
1018
- msgstr ""
1019
-
1020
- #: includes/options/rbs_gallery_options_hover.php:87
1021
- #: includes/rbs_gallery_media.php:133
1022
- msgid "Effect"
1023
- msgstr ""
1024
-
1025
- #: includes/options/rbs_gallery_options_hover.php:93
1026
- #: includes/rbs_gallery_media.php:110
1027
- msgid "push-up"
1028
- msgstr ""
1029
-
1030
- #: includes/options/rbs_gallery_options_hover.php:94
1031
- #: includes/rbs_gallery_media.php:111
1032
- msgid "push-down"
1033
- msgstr ""
1034
-
1035
- #: includes/options/rbs_gallery_options_hover.php:95
1036
- #: includes/rbs_gallery_media.php:112
1037
- msgid "push-up-100%"
1038
  msgstr ""
1039
 
1040
- #: includes/options/rbs_gallery_options_hover.php:96
1041
- #: includes/rbs_gallery_media.php:113
1042
- msgid "push-down-100%"
1043
  msgstr ""
1044
 
1045
- #: includes/options/rbs_gallery_options_hover.php:97
1046
- #: includes/rbs_gallery_media.php:114
1047
- msgid "reveal-top"
1048
  msgstr ""
1049
 
1050
- #: includes/options/rbs_gallery_options_hover.php:98
1051
- #: includes/rbs_gallery_media.php:115
1052
- msgid "reveal-bottom"
1053
  msgstr ""
1054
 
1055
- #: includes/options/rbs_gallery_options_hover.php:99
1056
- #: includes/rbs_gallery_media.php:116
1057
- msgid "reveal-top-100%"
1058
  msgstr ""
1059
 
1060
- #: includes/options/rbs_gallery_options_hover.php:100
1061
- #: includes/rbs_gallery_media.php:117
1062
- msgid "reveal-bottom-100%"
1063
  msgstr ""
1064
 
1065
- #: includes/options/rbs_gallery_options_hover.php:101
1066
- #: includes/rbs_gallery_media.php:118
1067
- msgid "direction-aware"
1068
  msgstr ""
1069
 
1070
- #: includes/options/rbs_gallery_options_hover.php:102
1071
- #: includes/rbs_gallery_media.php:119
1072
- msgid "direction-aware-fade"
1073
  msgstr ""
1074
 
1075
- #: includes/options/rbs_gallery_options_hover.php:103
1076
- #: includes/rbs_gallery_media.php:120
1077
- msgid "direction-right"
1078
  msgstr ""
1079
 
1080
- #: includes/options/rbs_gallery_options_hover.php:104
1081
- #: includes/rbs_gallery_media.php:121
1082
- msgid "direction-left"
1083
  msgstr ""
1084
 
1085
- #: includes/options/rbs_gallery_options_hover.php:105
1086
- #: includes/rbs_gallery_media.php:122
1087
- msgid "direction-top"
 
1088
  msgstr ""
1089
 
1090
- #: includes/options/rbs_gallery_options_hover.php:106
1091
- #: includes/rbs_gallery_media.php:123
1092
- msgid "direction-bottom"
1093
  msgstr ""
1094
 
1095
- #: includes/options/rbs_gallery_options_hover.php:107
1096
- #: includes/rbs_gallery_media.php:124
1097
- msgid "fade"
1098
  msgstr ""
1099
 
1100
- #: includes/options/rbs_gallery_options_hover.php:114
1101
  msgid "Show Title"
1102
  msgstr ""
1103
 
1104
- #: includes/options/rbs_gallery_options_hover.php:130
1105
  msgid "Link Button"
1106
  msgstr ""
1107
 
1108
- #: includes/options/rbs_gallery_options_hover.php:131
1109
  msgid "Zoom Button"
1110
  msgstr ""
1111
 
1112
- #: includes/options/rbs_gallery_options_hover.php:132
1113
- #: includes/options/rbs_gallery_options_lightbox.php:44
1114
- #: includes/options/rbs_gallery_options_lightbox.php:188
1115
- msgid "Description"
1116
- msgstr ""
1117
-
1118
- #: includes/options/rbs_gallery_options_hover.php:141
1119
  msgid "Link Icon"
1120
  msgstr ""
1121
 
1122
- #: includes/options/rbs_gallery_options_hover.php:161
1123
  msgid "Zoom Icon"
1124
  msgstr ""
1125
 
1126
- #: includes/options/rbs_gallery_options_hover.php:184
1127
- msgid "Show Description"
1128
- msgstr ""
1129
-
1130
- #: includes/options/rbs_gallery_options_hover.php:205
1131
- msgid "Description Template"
1132
- msgstr ""
1133
-
1134
- #: includes/options/rbs_gallery_options_images.php:19
1135
- msgid "Images Manager"
1136
- msgstr ""
1137
-
1138
- #: includes/options/rbs_gallery_options_images.php:34
1139
- #: includes/options/rbs_gallery_options_images.php:36
1140
- msgid "Manage Images"
1141
- msgstr ""
1142
-
1143
- #: includes/options/rbs_gallery_options_images.php:35
1144
- msgid ""
1145
- "Click on Manage Images button to open Images Manager where you can upload, "
1146
- "edit or delete images from gallery. Also here you can edit settings of every "
1147
- "particular image, define alt, links, description text"
1148
- msgstr ""
1149
-
1150
- #: includes/options/rbs_gallery_options_info.php:29
1151
- #: includes/options/rbs_gallery_options_infowide.php:28
1152
- #: includes/rbs_gallery_topblock.php:24
1153
- msgid ""
1154
- "with PRO version you get more advanced functionality and even more "
1155
- "flexibility in settings"
1156
- msgstr ""
1157
-
1158
- #: includes/options/rbs_gallery_options_lightbox.php:19
1159
  msgid "Lightbox Options"
1160
  msgstr ""
1161
 
1162
- #: includes/options/rbs_gallery_options_lightbox.php:37
1163
  msgid "Text Source"
1164
  msgstr ""
1165
 
1166
- #: includes/options/rbs_gallery_options_lightbox.php:45
1167
- #: includes/options/rbs_gallery_options_lightbox.php:189
1168
- #: includes/options/rbs_gallery_options_polaroid.php:48
 
 
 
 
1169
  msgid "Caption"
1170
  msgstr ""
1171
 
1172
- #: includes/options/rbs_gallery_options_lightbox.php:52
1173
  msgid "Text Color"
1174
  msgstr ""
1175
 
1176
- #: includes/options/rbs_gallery_options_lightbox.php:76
1177
  msgid "Deep Linking"
1178
  msgstr ""
1179
 
1180
- #: includes/options/rbs_gallery_options_lightbox.php:79
1181
  msgid "This option enable linking for every particular image "
1182
  msgstr ""
1183
 
1184
- #: includes/options/rbs_gallery_options_lightbox.php:84
1185
  msgid " Images Counter"
1186
  msgstr ""
1187
 
1188
- #: includes/options/rbs_gallery_options_lightbox.php:95
1189
  msgid "Counter Divider"
1190
  msgstr ""
1191
 
1192
- #: includes/options/rbs_gallery_options_lightbox.php:105
1193
- msgid "Swipe"
1194
- msgstr ""
1195
-
1196
- #: includes/options/rbs_gallery_options_lightbox.php:113
1197
- msgid "Swipe direction"
1198
- msgstr ""
1199
-
1200
- #: includes/options/rbs_gallery_options_lightbox.php:119
1201
- msgid "Left (from left to right)"
1202
- msgstr ""
1203
-
1204
- #: includes/options/rbs_gallery_options_lightbox.php:120
1205
- msgid "Right (from right to left)"
1206
- msgstr ""
1207
-
1208
- #: includes/options/rbs_gallery_options_lightbox.php:128
1209
  msgid "Mobile Style"
1210
  msgstr ""
1211
 
1212
- #: includes/options/rbs_gallery_options_lightbox.php:135
1213
  msgid "Close Icon"
1214
  msgstr ""
1215
 
1216
- #: includes/options/rbs_gallery_options_lightbox.php:143
1217
  msgid "Control Buttons"
1218
  msgstr ""
1219
 
1220
- #: includes/options/rbs_gallery_options_lightbox.php:144
1221
  msgid "Lightbox Description Panel"
1222
  msgstr ""
1223
 
1224
- #: includes/options/rbs_gallery_options_lightbox.php:145
1225
- #: includes/options/rbs_gallery_options_lightbox.php:214
1226
- msgid "Social Buttons"
1227
- msgstr ""
1228
-
1229
- #: includes/options/rbs_gallery_options_lightbox.php:152
1230
  msgid "Arrow Icon"
1231
  msgstr ""
1232
 
1233
- #: includes/options/rbs_gallery_options_lightbox.php:160
1234
  msgid "Source Button "
1235
  msgstr ""
1236
 
1237
- #: includes/options/rbs_gallery_options_lightbox.php:170
1238
  msgid "Panel"
1239
  msgstr ""
1240
 
1241
- #: includes/options/rbs_gallery_options_lightbox.php:181
1242
  msgid "Description Source"
1243
  msgstr ""
1244
 
1245
- #: includes/options/rbs_gallery_options_lightbox.php:195
1246
  msgid "Description Style"
1247
  msgstr ""
1248
 
1249
- #: includes/options/rbs_gallery_options_lightbox.php:201
1250
  msgid "Light"
1251
  msgstr ""
1252
 
1253
- #: includes/options/rbs_gallery_options_lightbox.php:202
1254
  msgid "Dark"
1255
  msgstr ""
1256
 
1257
- #: includes/options/rbs_gallery_options_lightbox.php:206
1258
- msgid "Pink"
1259
- msgstr ""
1260
-
1261
- #: includes/options/rbs_gallery_options_lightbox.php:228
1262
- msgid "Facebook"
1263
- msgstr ""
1264
-
1265
- #: includes/options/rbs_gallery_options_lightbox.php:237
1266
- msgid "Twitter"
1267
  msgstr ""
1268
 
1269
- #: includes/options/rbs_gallery_options_lightbox.php:246
1270
- msgid "Google+"
1271
  msgstr ""
1272
 
1273
- #: includes/options/rbs_gallery_options_lightbox.php:255
1274
- msgid "Pinterest"
1275
  msgstr ""
1276
 
1277
- #: includes/options/rbs_gallery_options_lightbox.php:264
1278
- msgid "VK"
1279
  msgstr ""
1280
 
1281
  #: includes/options/rbs_gallery_options_loading.php:19
@@ -1295,79 +1432,79 @@ msgstr ""
1295
  msgid "Images Amount"
1296
  msgstr ""
1297
 
1298
- #: includes/options/rbs_gallery_options_loading.php:53
 
 
 
 
1299
  msgid "Load More Amount"
1300
  msgstr ""
1301
 
1302
- #: includes/options/rbs_gallery_options_loading.php:63
 
 
 
 
 
 
1303
  msgid "Wait Thumbs Load"
1304
  msgstr ""
1305
 
1306
- #: includes/options/rbs_gallery_options_loading.php:71
1307
  msgid "Wait No Matter What"
1308
  msgstr ""
1309
 
1310
- #: includes/options/rbs_gallery_options_loading.php:91
 
 
 
 
1311
  msgid "Loading Label"
1312
  msgstr ""
1313
 
1314
- #: includes/options/rbs_gallery_options_loading.php:101
1315
  msgid "Load More Label"
1316
  msgstr ""
1317
 
1318
- #: includes/options/rbs_gallery_options_loading.php:108
1319
  msgid "No More Entries Label"
1320
  msgstr ""
1321
 
1322
- #: includes/options/rbs_gallery_options_polaroid.php:19
1323
  msgid "Polaroid Style Options"
1324
  msgstr ""
1325
 
1326
- #: includes/options/rbs_gallery_options_polaroid.php:26
1327
- msgid "Polaroid Style"
1328
- msgstr ""
1329
-
1330
- #: includes/options/rbs_gallery_options_polaroid.php:40
1331
- msgid "Source"
1332
- msgstr ""
1333
-
1334
- #: includes/options/rbs_gallery_options_polaroid.php:47
1335
- msgid "Desc"
1336
  msgstr ""
1337
 
1338
- #: includes/options/rbs_gallery_options_shortcode.php:19
1339
- msgid "Gallery Shortcode"
1340
  msgstr ""
1341
 
1342
- #: includes/options/rbs_gallery_options_shortcode.php:30
1343
- msgid "use this shortcode to insert this gallery into page, post or widget"
 
 
 
1344
  msgstr ""
1345
 
1346
- #: includes/options/rbs_gallery_options_size.php:19
1347
- msgid "Gallery Size Options"
1348
  msgstr ""
1349
 
1350
- #: includes/options/rbs_gallery_options_size.php:51
1351
  msgid "Padding"
1352
  msgstr ""
1353
 
1354
- #: includes/options/rbs_gallery_options_size.php:60
1355
- #: includes/options/rbs_gallery_options_size.php:68
1356
  msgid "Thumbs Options"
1357
  msgstr ""
1358
 
1359
- #: includes/options/rbs_gallery_options_size.php:69
1360
- msgid "Size Options"
1361
- msgstr ""
1362
-
1363
- #: includes/options/rbs_gallery_options_size.php:76
1364
  msgid "Custom Ratio"
1365
  msgstr ""
1366
 
1367
- #: includes/options/rbs_gallery_options_size.php:87
1368
- msgid "Colums "
1369
- msgstr ""
1370
-
1371
  #: includes/options/rbs_gallery_options_text.php:19
1372
  msgid "Text Addons"
1373
  msgstr ""
@@ -1406,54 +1543,30 @@ msgstr ""
1406
  msgid "Success: Statistic successfully reset!"
1407
  msgstr ""
1408
 
1409
- #: includes/options/rbs_gallery_options_view.php:19
1410
  msgid "Thumbs View Options"
1411
  msgstr ""
1412
 
1413
- #: includes/options/rbs_gallery_options_view.php:28
1414
  msgid "Radius"
1415
  msgstr ""
1416
 
1417
- #: includes/options/rbs_gallery_options_view.php:41
1418
- msgid "Hor. Space"
1419
- msgstr ""
1420
-
1421
- #: includes/options/rbs_gallery_options_view.php:51
1422
- msgid "Ver. Space"
1423
- msgstr ""
1424
-
1425
- #: includes/options/rbs_gallery_options_view.php:64
1426
  msgid "Shadow"
1427
  msgstr ""
1428
 
1429
- #: includes/options/rbs_gallery_options_view.php:74
1430
- #: includes/options/rbs_gallery_options_view.php:81
1431
- #: includes/options/rbs_gallery_options_view.php:106
1432
  msgid "Shadow Options"
1433
  msgstr ""
1434
 
1435
- #: includes/options/rbs_gallery_options_view.php:82
1436
- msgid "Hover Shadow Options"
1437
- msgstr ""
1438
-
1439
- #: includes/options/rbs_gallery_options_view.php:92
1440
- msgid "Hover Shadow"
1441
  msgstr ""
1442
 
1443
- #: includes/options/rbs_gallery_options_view.php:137
1444
- #: includes/options/rbs_gallery_options_view.php:144
1445
- #: includes/options/rbs_gallery_options_view.php:171
1446
  msgid "Border Options"
1447
  msgstr ""
1448
 
1449
- #: includes/options/rbs_gallery_options_view.php:145
1450
- msgid "Hover Border Options"
1451
- msgstr ""
1452
-
1453
- #: includes/options/rbs_gallery_options_view.php:156
1454
- msgid "Hover Border"
1455
- msgstr ""
1456
-
1457
  #: includes/options/voting.php:12
1458
  msgid "Suggest Feature"
1459
  msgstr ""
@@ -1474,379 +1587,443 @@ msgstr ""
1474
  msgid "Contact Developer"
1475
  msgstr ""
1476
 
1477
- #: includes/rbs_gallery_about.php:25
1478
- msgid "Robo Gallery implemented by RoboSoft Team"
1479
  msgstr ""
1480
 
1481
- #: includes/rbs_gallery_about.php:28
1482
- msgid "More details about Robo Gallery you can see on our website"
1483
  msgstr ""
1484
 
1485
- #: includes/rbs_gallery_about.php:34
1486
- msgid "Robo Gallery Pro Features"
1487
  msgstr ""
1488
 
1489
- #: includes/rbs_gallery_about.php:37
1490
- msgid "Unlimited amount of the galleries"
 
1491
  msgstr ""
1492
 
1493
- #: includes/rbs_gallery_about.php:38
1494
- msgid "Unlimited amount of images in galleries"
 
1495
  msgstr ""
1496
 
1497
- #: includes/rbs_gallery_about.php:41
1498
- msgid "Custom hover style for border"
1499
  msgstr ""
1500
 
1501
- #: includes/rbs_gallery_about.php:42
1502
- msgid "Custom hover style for shadow"
1503
  msgstr ""
1504
 
1505
- #: includes/rbs_gallery_about.php:45
1506
- msgid "Unlimited multi-categories"
1507
  msgstr ""
1508
 
1509
- #: includes/rbs_gallery_about.php:46
1510
- msgid "High quality thumbnails"
1511
  msgstr ""
1512
 
1513
- #: includes/rbs_gallery_about.php:49
1514
- msgid "Gallery widget"
1515
  msgstr ""
1516
 
1517
- #: includes/rbs_gallery_about.php:50
1518
- msgid "Random ordering"
1519
  msgstr ""
1520
 
1521
- #: includes/rbs_gallery_about.php:53
1522
- msgid "Gallery menu colors"
1523
  msgstr ""
1524
 
1525
- #: includes/rbs_gallery_about.php:54
1526
- msgid "Gallery menu styles"
1527
  msgstr ""
1528
 
1529
- #: includes/rbs_gallery_about.php:57
1530
- msgid "Custom images ordering"
1531
  msgstr ""
1532
 
1533
- #: includes/rbs_gallery_about.php:58
1534
- msgid "Customizable hover style"
1535
  msgstr ""
1536
 
1537
- #: includes/rbs_gallery_about.php:61
1538
- msgid "Custom hover background color"
1539
  msgstr ""
1540
 
1541
- #: includes/rbs_gallery_about.php:62
1542
- msgid "Advanced images description settings"
1543
  msgstr ""
1544
 
1545
- #: includes/rbs_gallery_about.php:72
1546
- msgid "All Rights Reserved"
1547
  msgstr ""
1548
 
1549
- #. Plugin Name of the plugin/theme
1550
- #: includes/rbs_gallery_button.php:27 includes/rbs_gallery_init.php:84
1551
- #: includes/rbs_gallery_media.php:52 includes/rbs_gallery_widget.php:90
1552
- msgid "Robo Gallery"
1553
  msgstr ""
1554
 
1555
- #: includes/rbs_gallery_button.php:29
1556
- msgid "Insert"
1557
  msgstr ""
1558
 
1559
- #: includes/rbs_gallery_button.php:35
1560
- msgid "Add Robo Gallery"
1561
  msgstr ""
1562
 
1563
- #: includes/rbs_gallery_button.php:46
1564
- msgid "Select gallery"
1565
  msgstr ""
1566
 
1567
- #: includes/rbs_gallery_button.php:47 includes/rbs_gallery_widget.php:177
1568
- #: includes/rbs_gallery_widget_last.php:83
1569
- msgid "Configure it in"
1570
  msgstr ""
1571
 
1572
- #: includes/rbs_gallery_button.php:47 includes/rbs_gallery_widget.php:179
1573
- #: includes/rbs_gallery_widget_last.php:85
1574
- msgid "Robo Gallery plugin"
1575
  msgstr ""
1576
 
1577
- #: includes/rbs_gallery_config.php:22
1578
- msgid "How to install key?"
1579
  msgstr ""
1580
 
1581
- #: includes/rbs_gallery_config.php:27
1582
- msgid "How to make custom grid layout?"
1583
  msgstr ""
1584
 
1585
- #: includes/rbs_gallery_config.php:32
1586
- msgid "New Categories Manager"
 
1587
  msgstr ""
1588
 
1589
- #: includes/rbs_gallery_config.php:37
1590
- msgid "How to setup Polaroid style?"
 
1591
  msgstr ""
1592
 
1593
- #: includes/rbs_gallery_config.php:42
1594
- msgid "Install and configuration guide"
1595
  msgstr ""
1596
 
1597
- #: includes/rbs_gallery_config.php:47
1598
- msgid "How to manage gallery post?"
1599
  msgstr ""
1600
 
1601
- #: includes/rbs_gallery_config.php:52
1602
- msgid "How to upload gallery images?"
1603
  msgstr ""
1604
 
1605
- #: includes/rbs_gallery_config.php:57
1606
- msgid "How to create shortcode?"
1607
  msgstr ""
1608
 
1609
- #: includes/rbs_gallery_init.php:20
1610
- msgid "Available in"
1611
  msgstr ""
1612
 
1613
- #: includes/rbs_gallery_init.php:23
1614
- msgid "Please update "
1615
  msgstr ""
1616
 
1617
- #: includes/rbs_gallery_init.php:23
1618
- msgid " key"
1619
  msgstr ""
1620
 
1621
- #: includes/rbs_gallery_init.php:85
1622
- msgid "Manage Galleries"
1623
  msgstr ""
1624
 
1625
- #: includes/rbs_gallery_init.php:86
1626
- msgid "Add Gallery / Images"
1627
  msgstr ""
1628
 
1629
- #: includes/rbs_gallery_init.php:87
1630
- msgid "Add Gallery"
1631
  msgstr ""
1632
 
1633
- #: includes/rbs_gallery_init.php:88
1634
- msgid "Edit Gallery"
1635
  msgstr ""
1636
 
1637
- #: includes/rbs_gallery_media.php:73
1638
- msgid "Column"
1639
  msgstr ""
1640
 
1641
- #: includes/rbs_gallery_media.php:80
1642
- msgid "Link"
1643
  msgstr ""
1644
 
1645
- #: includes/rbs_gallery_media.php:93
1646
- msgid "Blank Link"
1647
  msgstr ""
1648
 
1649
- #: includes/rbs_gallery_media.php:101
1650
- msgid "Video"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1651
  msgstr ""
1652
 
1653
- #: includes/rbs_gallery_media.php:125
1654
  msgid "inherit"
1655
  msgstr ""
1656
 
1657
- #: includes/rbs_gallery_settings.php:61
 
 
 
 
1658
  msgid "Cache Settings"
1659
  msgstr ""
1660
 
1661
- #: includes/rbs_gallery_settings.php:64
 
 
 
 
1662
  msgid "Compatibility Settings"
1663
  msgstr ""
1664
 
1665
- #: includes/rbs_gallery_settings.php:67
1666
  msgid "Create Post Settings"
1667
  msgstr ""
1668
 
1669
- #: includes/rbs_gallery_settings.php:70
1670
  msgid "SEO Optimization"
1671
  msgstr ""
1672
 
1673
- #: includes/rbs_gallery_settings.php:89
 
 
 
 
1674
  msgid "Robo Gallery Settings"
1675
  msgstr ""
1676
 
1677
- #: includes/rbs_gallery_settings.php:140
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1678
  msgid "Clear cache timeout"
1679
  msgstr ""
1680
 
1681
- #: includes/rbs_gallery_settings.php:150
 
 
 
 
 
 
1682
  msgid ""
1683
  "This is timeout for the clear gallery cache option. Value in hours for the "
1684
  "cleaning period of the cached resources."
1685
  msgstr ""
1686
 
1687
- #: includes/rbs_gallery_settings.php:160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1688
  msgid "Categories Manager"
1689
  msgstr ""
1690
 
1691
- #: includes/rbs_gallery_settings.php:163 includes/rbs_gallery_settings.php:164
1692
- #: includes/rbs_gallery_settings.php:165 includes/rbs_gallery_settings.php:255
1693
- #: includes/rbs_gallery_settings.php:256 includes/rbs_gallery_settings.php:270
1694
- #: includes/rbs_gallery_settings.php:271
1695
  msgid "Show"
1696
  msgstr ""
1697
 
1698
- #: includes/rbs_gallery_settings.php:167 includes/rbs_gallery_settings.php:168
1699
- #: includes/rbs_gallery_settings.php:258 includes/rbs_gallery_settings.php:259
1700
- #: includes/rbs_gallery_settings.php:273 includes/rbs_gallery_settings.php:274
1701
  msgid "Hide"
1702
  msgstr ""
1703
 
1704
- #: includes/rbs_gallery_settings.php:174 includes/rbs_gallery_settings.php:177
1705
  msgid "jQuery Version"
1706
  msgstr ""
1707
 
1708
- #: includes/rbs_gallery_settings.php:178 includes/rbs_gallery_settings.php:179
1709
  msgid "Default"
1710
  msgstr ""
1711
 
1712
- #: includes/rbs_gallery_settings.php:181 includes/rbs_gallery_settings.php:182
1713
  msgid "Alternative"
1714
  msgstr ""
1715
 
1716
- #: includes/rbs_gallery_settings.php:186 includes/rbs_gallery_settings.php:187
1717
  msgid "Forced include"
1718
  msgstr ""
1719
 
1720
- #: includes/rbs_gallery_settings.php:194 includes/rbs_gallery_settings.php:197
1721
  msgid "Font Awesome"
1722
  msgstr ""
1723
 
1724
- #: includes/rbs_gallery_settings.php:198 includes/rbs_gallery_settings.php:199
1725
  msgid "Load"
1726
  msgstr ""
1727
 
1728
- #: includes/rbs_gallery_settings.php:201 includes/rbs_gallery_settings.php:202
1729
  msgid "Don't load"
1730
  msgstr ""
1731
 
1732
- #: includes/rbs_gallery_settings.php:204
1733
  msgid "for the case if Your theme already have awesome fonts loaded"
1734
  msgstr ""
1735
 
1736
- #: includes/rbs_gallery_settings.php:210
1737
  msgid "Size Calculations Delay"
1738
  msgstr ""
1739
 
1740
- #: includes/rbs_gallery_settings.php:216
1741
  msgid "Debug"
1742
  msgstr ""
1743
 
1744
- #: includes/rbs_gallery_settings.php:219 includes/rbs_gallery_settings.php:220
1745
- #: includes/rbs_gallery_settings.php:221 includes/rbs_gallery_settings.php:234
1746
- #: includes/rbs_gallery_settings.php:235 includes/rbs_gallery_settings.php:236
1747
  msgid "Enable"
1748
  msgstr ""
1749
 
1750
- #: includes/rbs_gallery_settings.php:223 includes/rbs_gallery_settings.php:224
1751
- #: includes/rbs_gallery_settings.php:238 includes/rbs_gallery_settings.php:239
1752
- #: includes/rbs_gallery_settings.php:299 includes/rbs_gallery_settings.php:300
1753
- msgid "Disable"
1754
- msgstr ""
1755
-
1756
- #: includes/rbs_gallery_settings.php:231
1757
  msgid "Express panel"
1758
  msgstr ""
1759
 
1760
- #: includes/rbs_gallery_settings.php:251
1761
  msgid "Text Block"
1762
  msgstr ""
1763
 
1764
- #: includes/rbs_gallery_settings.php:254
1765
  msgid "Show Text"
1766
  msgstr ""
1767
 
1768
- #: includes/rbs_gallery_settings.php:266
1769
  msgid "Clone Block"
1770
  msgstr ""
1771
 
1772
- #: includes/rbs_gallery_settings.php:269
1773
  msgid "Show Clone Block"
1774
  msgstr ""
1775
 
1776
- #: includes/rbs_gallery_settings.php:286
1777
  msgid "Add SEO content"
1778
  msgstr ""
1779
 
1780
- #: includes/rbs_gallery_settings.php:289 includes/rbs_gallery_settings.php:290
1781
- #: includes/rbs_gallery_settings.php:291
1782
  msgid "Enable [thumbs]"
1783
  msgstr ""
1784
 
1785
- #: includes/rbs_gallery_settings.php:294 includes/rbs_gallery_settings.php:295
1786
- #: includes/rbs_gallery_settings.php:296
1787
  msgid "Enable [thumbs + link]"
1788
  msgstr ""
1789
 
1790
- #: includes/rbs_gallery_topblock.php:41
1791
- msgid "Do You wish to get PRO version for FREE ?"
1792
- msgstr ""
1793
-
1794
- #: includes/rbs_gallery_topblock.php:46
1795
- msgid "Do You wish to get PRO version for translate?"
1796
- msgstr ""
1797
-
1798
- #: includes/rbs_gallery_widget.php:22 includes/rbs_gallery_widget_last.php:22
1799
  msgid "Robo Gallery Widget"
1800
  msgstr ""
1801
 
1802
- #: includes/rbs_gallery_widget.php:23 includes/rbs_gallery_widget_last.php:23
1803
  msgid "Publish gallery on your website."
1804
  msgstr ""
1805
 
1806
- #: includes/rbs_gallery_widget.php:92
1807
- msgid "Please install Image Widget to be able to publish it here"
1808
- msgstr ""
1809
-
1810
- #: includes/rbs_gallery_widget.php:120
1811
  msgid "Latest Gallery"
1812
  msgstr ""
1813
 
1814
- #: includes/rbs_gallery_widget.php:121
1815
  msgid "Random Gallery"
1816
  msgstr ""
1817
 
1818
- #: includes/rbs_gallery_widget.php:122
1819
  msgid "Most Viewed Gallery"
1820
  msgstr ""
1821
 
1822
- #: includes/rbs_gallery_widget.php:138
1823
  msgid "Gallery Widget"
1824
  msgstr ""
1825
 
1826
- #: includes/rbs_gallery_widget.php:153
1827
  msgid ""
1828
  "You need to install new version of the widget to make it work. Install free "
1829
  "or paid version of the Image Widget."
1830
  msgstr ""
1831
 
1832
- #: includes/rbs_gallery_widget.php:156
1833
  msgid "Install Free Version"
1834
  msgstr ""
1835
 
1836
- #: includes/rbs_gallery_widget.php:158
1837
  msgid "Install Paid Version"
1838
  msgstr ""
1839
 
1840
- #: includes/rbs_gallery_widget.php:170 includes/rbs_gallery_widget_last.php:80
1841
  msgid "Gallery:"
1842
  msgstr ""
1843
 
1844
- #: includes/rbs_gallery_widget_last.php:38
1845
- #: includes/rbs_gallery_widget_last.php:71
1846
  msgid "This widget available in Pro version"
1847
  msgstr ""
1848
 
1849
- #: includes/rbs_gallery_widget_last.php:47
1850
  msgid "New gallery"
1851
  msgstr ""
1852
 
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Robo Gallery\n"
6
+ "POT-Creation-Date: 2021-11-23 13:57+0100\n"
7
  "PO-Revision-Date: 2017-05-15 11:19+0200\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 3.0\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: robogallery.php\n"
24
  "X-Poedit-SearchPathExcluded-2: dist\n"
25
  "X-Poedit-SearchPathExcluded-3: node_modules\n"
26
 
27
+ #: app/class.listing.php:52
28
  msgid "Views"
29
  msgstr ""
30
 
31
+ #: app/class.listing.php:53
32
  msgid "Shortcode"
33
  msgstr ""
34
 
35
+ #: app/class.listing.php:86 cmb2/fields/toolbox/cmb-field-toolbox.php:61
 
36
  msgid "Get Robo Gallery Pro version"
37
  msgstr ""
38
 
39
+ #: app/class.listing.php:87 cmb2/fields/toolbox/cmb-field-toolbox.php:62
40
+ #: cmb2/fields/toolbox/cmb-field-toolbox.php:75
41
  #: includes/extensions/rbs_create_post.php:11
42
+ #: includes/rbs_gallery_button.php:28
43
  msgid "Close"
44
  msgstr ""
45
 
46
+ #: app/class.listing.php:88 cmb2/fields/toolbox/cmb-field-toolbox.php:63
 
 
 
 
 
47
  msgid "Get Pro version"
48
  msgstr ""
49
 
50
+ #: app/class.listing.php:90
51
  msgid ""
52
  "You can create only 3 galleries. Update to PRO to get unlimited galleries"
53
  msgstr ""
70
  msgstr ""
71
 
72
  #: app/extensions/dashboard/class.dashboard.php:65
73
+ #: app/extensions/dashboard/class.dashboard.php:134
74
  msgid "Demos"
75
  msgstr ""
76
 
78
  msgid "Get Pro Version"
79
  msgstr ""
80
 
81
+ #: app/extensions/dashboard/class.dashboard.php:135
82
  msgid "Pro version"
83
  msgstr ""
84
 
85
+ #: app/extensions/dashboard/class.dashboard.php:141
86
  msgid "Robo Gallery is advanced responsive photo gallery plugin."
87
  msgstr ""
88
 
89
+ #: app/extensions/dashboard/class.dashboard.php:143
90
  msgid ""
91
  "Flexible gallery images management tools. Links, videos and gallery lightbox "
92
  "support. "
93
  msgstr ""
94
 
95
+ #: app/extensions/dashboard/class.dashboard.php:145
96
  msgid "In our gallery you can easily customize layouts and interface styles. "
97
  msgstr ""
98
 
99
+ #: app/extensions/dashboard/class.dashboard.php:148
100
  #, php-format
101
  msgid ""
102
  "If you have some questions or any kind of problems with gallery installation "
103
+ "or configuration feel free to <a href=\"%s\" target=\"_blank\">post ticket "
104
+ "here</a>"
105
  msgstr ""
106
 
107
  #: app/extensions/dashboard/overview.php:6
130
  #: app/extensions/dashboard/overview.php:12
131
  msgid ""
132
  "After save of the Publish button, below title you can find Permalink field "
133
+ "with direct link to the created gallery on front end."
134
  msgstr ""
135
 
136
  #: app/extensions/dashboard/overview.php:15
137
  msgid "That's it! Your first Robo Gallery Created!"
138
  msgstr ""
139
 
140
+ #: app/extensions/dashboard/overview.php:20
141
+ msgid "Robo Gallery is Gutenberg ready!"
142
+ msgstr ""
143
+
144
+ #: app/extensions/dashboard/overview.php:22
145
+ msgid ""
146
+ " Current version tested and work properly in Gutenberg editor. Just create "
147
+ "gallery and copy / paste shortcode of the selected gallery into Gutenberg "
148
+ "post."
149
+ msgstr ""
150
+
151
+ #: app/extensions/dashboard/overview.php:27
152
+ msgid "Where to find Shortcode?"
153
+ msgstr ""
154
+
155
+ #: app/extensions/dashboard/overview.php:29
156
+ msgid ""
157
+ "In the gallery list last column contain shortcode of the every item in the "
158
+ "list. Just click on this field and Shortcode will be copied to the "
159
+ "clipboard. Another place where you can find shortcode - gallery settings / "
160
+ "right side column widget."
161
+ msgstr ""
162
+
163
+ #: app/extensions/dashboard/overview.php:34
164
  #: app/extensions/dashboard/video_guide.php:5
165
  msgid "Need some Help ?"
166
  msgstr ""
167
 
168
+ #: app/extensions/dashboard/overview.php:36
169
+ #, php-format
170
+ msgid ""
171
+ "If you have some questions or any kind of problems with gallery installation "
172
+ "or configuration feel free to <a href=\"%s\" target=\"_blank\">post ticket "
173
+ "here</a>. "
174
+ msgstr ""
175
+
176
+ #: app/extensions/dashboard/overview.php:38
177
+ #, php-format
178
+ msgid ""
179
+ "If you have some new features request or some functionality update for our "
180
+ "gallery plugin please <a href=\"%s\" target=\"_blank\">post some message</"
181
+ "a> with description."
182
+ msgstr ""
183
+
184
  #: app/extensions/dashboard/video_guide.php:7
185
  #, php-format
186
  msgid ""
188
  "or configuration feel free to <a href=\"%s\">post ticket here</a>. "
189
  msgstr ""
190
 
 
191
  #: app/extensions/dashboard/video_guide.php:9
192
  #, php-format
193
  msgid ""
288
  "this new gallery item"
289
  msgstr ""
290
 
291
+ #: app/extensions/duplicate/class.duplicate.php:27
292
+ msgid "Clone this item"
293
+ msgstr ""
294
+
295
+ #: app/extensions/duplicate/class.duplicate.php:27
296
+ msgid "Clone"
297
+ msgstr ""
298
+
299
+ #: app/extensions/duplicate/class.duplicate.php:28
300
+ msgid "Copy to a new draft"
301
+ msgstr ""
302
+
303
+ #: app/extensions/duplicate/class.duplicate.php:28
304
+ msgid "New Draft"
305
+ msgstr ""
306
+
307
+ #: app/extensions/duplicate/class.duplicate.php:77
308
+ msgid "No gallery to copy has been supplied!"
309
+ msgstr ""
310
+
311
+ #: app/extensions/duplicate/class.duplicate.php:100
312
+ msgid "Copy creation failed, could not find original:"
313
+ msgstr ""
314
+
315
+ #: app/extensions/duplicate/class.duplicate.php:142
316
+ msgid "Copy features for this gallery are not enabled"
317
+ msgstr ""
318
+
319
+ #: app/extensions/duplicate/class.duplicate.php:149
320
+ msgid "Untitled"
321
+ msgstr ""
322
+
323
+ #: app/extensions/fields/config/metabox/gallery_slider_animation.php:9
324
+ msgid "Animation Options"
325
+ msgstr ""
326
+
327
+ #: app/extensions/fields/config/metabox/gallery_slider_animation.php:24
328
+ msgid "Slider autoplay"
329
+ msgstr ""
330
+
331
+ #: app/extensions/fields/config/metabox/gallery_slider_animation.php:46
332
+ msgid "Delay"
333
+ msgstr ""
334
+
335
+ #: app/extensions/fields/config/metabox/gallery_slider_animation.php:62
336
+ msgid "Direction"
337
+ msgstr ""
338
+
339
+ #: app/extensions/fields/config/metabox/gallery_slider_content.php:10
340
+ msgid "Content Panel Settings "
341
+ msgstr ""
342
+
343
+ #: app/extensions/fields/config/metabox/gallery_slider_content.php:26
344
+ msgid "Content panel"
345
+ msgstr ""
346
+
347
+ #: app/extensions/fields/config/metabox/gallery_slider_content.php:46
348
+ msgid "Content panel source"
349
+ msgstr ""
350
+
351
+ #: app/extensions/fields/config/metabox/gallery_slider_content.php:70
352
+ msgid "Content panel theme"
353
+ msgstr ""
354
+
355
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:9
356
+ msgid "General Slider Options"
357
+ msgstr ""
358
+
359
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:24
360
+ msgid "Slider Auto Width"
361
+ msgstr ""
362
+
363
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:46
364
+ msgid "Slider Width "
365
+ msgstr ""
366
+
367
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:75
368
+ msgid "Slider Auto Height"
369
+ msgstr ""
370
+
371
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:97
372
+ msgid "Slider Height"
373
+ msgstr ""
374
+
375
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:98
376
+ msgid ""
377
+ "in our gallery we use smart algorithm for the size calculation. In Max Width "
378
+ "option you define maximum allowed size of the gallery box"
379
+ msgstr ""
380
+
381
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:137
382
+ msgid "Category &darr;"
383
+ msgstr ""
384
+
385
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:138
386
+ msgid "Category &uarr;"
387
+ msgstr ""
388
+
389
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:140
390
+ msgid "Title &darr;"
391
+ msgstr ""
392
+
393
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:141
394
+ msgid "Title &uarr;"
395
+ msgstr ""
396
+
397
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:143
398
+ msgid "Date &darr;"
399
+ msgstr ""
400
+
401
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:144
402
+ msgid "Date &uarr;"
403
+ msgstr ""
404
+
405
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:146
406
+ msgid "Random"
407
+ msgstr ""
408
+
409
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:159
410
+ msgid "Slider Images Quality"
411
+ msgstr ""
412
+
413
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:163
414
+ msgid ""
415
+ "here you can customize thumbnails quality, depend of this value you will "
416
+ "have different thumbnails resolution. Please check values for the thumbnails "
417
+ "resolutions"
418
+ msgstr ""
419
+
420
+ #: app/extensions/fields/config/metabox/gallery_slider_general.php:165
421
+ #: includes/options/cache.php:44
422
+ msgid "here"
423
+ msgstr ""
424
+
425
+ #: app/extensions/fields/config/metabox/gallery_slider_interface.php:9
426
+ msgid "Interface Options"
427
+ msgstr ""
428
+
429
+ #: app/extensions/fields/config/metabox/gallery_slider_interface.php:25
430
+ msgid "Navigation buttons"
431
+ msgstr ""
432
+
433
+ #: app/extensions/fields/config/metabox/gallery_slider_interface.php:45
434
+ msgid "Scrollbar"
435
+ msgstr ""
436
+
437
+ #: app/extensions/fields/config/metabox/gallery_slider_lazyload.php:10
438
+ msgid "Lazy Load Settings "
439
+ msgstr ""
440
+
441
+ #: app/extensions/fields/config/metabox/gallery_slider_lazyload.php:26
442
+ msgid "Preload"
443
+ msgstr ""
444
+
445
+ #: app/extensions/fields/config/metabox/gallery_type.php:12
446
+ msgid "Current Gallery Type"
447
+ msgstr ""
448
+
449
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:9
450
+ msgid "Youtube Gallery Settings"
451
+ msgstr ""
452
+
453
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:20
454
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:80
455
+ msgid "Please follow"
456
+ msgstr ""
457
+
458
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:22
459
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:82
460
+ msgid "this link"
461
+ msgstr ""
462
+
463
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:23
464
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:83
465
+ msgid "and set youtube API key"
466
+ msgstr ""
467
+
468
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:41
469
+ msgid "Add Youtube Channel & Playlist add-on"
470
+ msgstr ""
471
+
472
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:50
473
+ msgid ""
474
+ "Here you can setup youtube gallery in two simple steps. Select value for "
475
+ "youtube content mode and after that youtube content ids for the videos, "
476
+ "youtube playlist or youtube channel"
477
+ msgstr ""
478
+
479
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:51
480
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:62
481
+ msgid "Channel"
482
+ msgstr ""
483
+
484
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:52
485
+ msgid ""
486
+ "- mode import videos from youtube channels. You just need to specify id(s) "
487
+ "of the required youtube channels in the field below."
488
+ msgstr ""
489
+
490
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:53
491
+ msgid "Playlist"
492
+ msgstr ""
493
+
494
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:54
495
+ msgid ""
496
+ " - mode import videos from youtube playlists. You just need to specify "
497
+ "id(s) of the required youtube playlists in the field below."
498
+ msgstr ""
499
+
500
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:55
501
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:65
502
+ msgid "Videos by ID"
503
+ msgstr ""
504
+
505
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:56
506
+ msgid "- mode import all youtube videos with IDs from the field below."
507
+ msgstr ""
508
+
509
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:64
510
+ msgid "Playlist "
511
+ msgstr ""
512
+
513
+ #: app/extensions/fields/config/metabox/gallery_youtube.php:76
514
+ msgid "Youtube Content IDs"
515
+ msgstr ""
516
+
517
+ #: app/extensions/fields/config/metabox/image.php:9
518
+ msgid "Images"
519
+ msgstr ""
520
+
521
+ #: app/extensions/fields/config/metabox/shortcode.php:13
522
+ #: includes/options/rbs_gallery_options_shortcode.php:19
523
+ msgid "Gallery Shortcode"
524
+ msgstr ""
525
+
526
+ #: app/extensions/fields/config/metabox/shortcode.php:25
527
+ #: includes/options/rbs_gallery_options_shortcode.php:30
528
+ msgid "use this shortcode to insert this gallery into page, post or widget"
529
+ msgstr ""
530
+
531
+ #: app/extensions/fields/config/metabox/update_notice.php:11
532
+ msgid "Update license key file"
533
+ msgstr ""
534
+
535
+ #: app/extensions/fields/config/metabox/update_notice.php:26
536
+ msgid "Please update license key to the latest version."
537
+ msgstr ""
538
+
539
+ #: app/extensions/fields/config/metabox/update_notice.php:27
540
+ msgid ""
541
+ "With latest version of the license key you get access to the full list of "
542
+ "the latest functionality of the plugin."
543
+ msgstr ""
544
+
545
+ #: app/extensions/fields/config/metabox/update_notice.php:28
546
+ msgid "Update license key"
547
+ msgstr ""
548
+
549
+ #: app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php:14
550
+ #: app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php:9
551
+ #: includes/options/rbs_gallery_options_hover_base.php:33
552
+ #: includes/rbs_gallery_media.php:77
553
+ msgid "On"
554
+ msgstr ""
555
+
556
+ #: app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php:15
557
+ #: app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php:10
558
+ #: includes/options/rbs_gallery_options_hover_base.php:34
559
+ #: includes/rbs_gallery_media.php:78
560
+ msgid "Off"
561
+ msgstr ""
562
+
563
+ #: app/extensions/fields/template/content/gallery_type/type_grid.tpl.php:3
564
+ msgid "Gallery Grid"
565
+ msgstr ""
566
+
567
+ #: app/extensions/fields/template/content/gallery_type/type_grid.tpl.php:5
568
+ #: app/extensions/fields/template/content/gallery_type/type_gridpro.tpl.php:5
569
+ #: app/extensions/fields/template/content/gallery_type/type_masonry.tpl.php:5
570
+ #: app/extensions/fields/template/content/gallery_type/type_masonrypro.tpl.php:5
571
+ #: app/extensions/fields/template/content/gallery_type/type_mosaic.tpl.php:5
572
+ #: app/extensions/fields/template/content/gallery_type/type_mosaicpro.tpl.php:8
573
+ #: app/extensions/fields/template/content/gallery_type/type_polaroid.tpl.php:5
574
+ #: app/extensions/fields/template/content/gallery_type/type_polaroidpro.tpl.php:5
575
+ #: app/extensions/fields/template/content/gallery_type/type_slider.tpl.php:5
576
+ #: app/extensions/fields/template/content/gallery_type/type_wallstylepro.tpl.php:5
577
+ #: app/extensions/fields/template/content/gallery_type/type_youtube.tpl.php:5
578
+ #: app/extensions/fields/template/content/gallery_type/type_youtubepro.tpl.php:5
579
+ #: app/extensions/galleryType/init.php:154
580
+ msgid "Type"
581
+ msgstr ""
582
+
583
+ #: app/extensions/fields/template/content/gallery_type/type_gridpro.tpl.php:3
584
+ msgid "Gallery Grid Pro"
585
+ msgstr ""
586
+
587
+ #: app/extensions/fields/template/content/gallery_type/type_masonry.tpl.php:3
588
+ msgid "Gallery Masonry"
589
+ msgstr ""
590
+
591
+ #: app/extensions/fields/template/content/gallery_type/type_masonrypro.tpl.php:3
592
+ msgid "Gallery Masonry Pro"
593
+ msgstr ""
594
+
595
+ #: app/extensions/fields/template/content/gallery_type/type_mosaic.tpl.php:3
596
+ msgid "Gallery Mosaic"
597
+ msgstr ""
598
+
599
+ #: app/extensions/fields/template/content/gallery_type/type_mosaicpro.tpl.php:6
600
+ msgid "Gallery Mosaic Pro"
601
+ msgstr ""
602
+
603
+ #: app/extensions/fields/template/content/gallery_type/type_polaroid.tpl.php:3
604
+ msgid "Gallery Polaroid"
605
+ msgstr ""
606
+
607
+ #: app/extensions/fields/template/content/gallery_type/type_polaroidpro.tpl.php:3
608
+ msgid "Gallery Polaroid Pro"
609
+ msgstr ""
610
+
611
+ #: app/extensions/fields/template/content/gallery_type/type_slider.tpl.php:3
612
+ msgid "Slider"
613
+ msgstr ""
614
+
615
+ #: app/extensions/fields/template/content/gallery_type/type_wallstylepro.tpl.php:3
616
+ msgid "Gallery WallStyle Pro"
617
+ msgstr ""
618
+
619
+ #: app/extensions/fields/template/content/gallery_type/type_youtube.tpl.php:3
620
+ msgid "Gallery Youtube"
621
+ msgstr ""
622
+
623
+ #: app/extensions/fields/template/content/gallery_type/type_youtubepro.tpl.php:3
624
+ msgid "Gallery Youtube Pro"
625
+ msgstr ""
626
+
627
+ #: app/extensions/fields/template/element/label.tooltip.tpl.php:9
628
+ msgid "Click for information"
629
+ msgstr ""
630
+
631
+ #: app/extensions/fields/template/field/text/images.tpl.php:38
632
+ msgid "Manage Images"
633
+ msgstr ""
634
+
635
+ #: app/extensions/fields/template/field/text/images.tpl.php:52
636
+ msgid ""
637
+ "Open images manager and configure <strong>Link</strong>, <strong>Tags</"
638
+ "strong> and <strong>Video</strong> (YouTube, Vimeo) for every gallery image."
639
+ msgstr ""
640
+
641
+ #: app/extensions/fields/template/field/text/images.tpl.php:64
642
+ msgid "Add Link Add-on"
643
+ msgstr ""
644
+
645
+ #: app/extensions/fields/template/metabox/default.tpl.php:26
646
+ msgid "Premium function"
647
+ msgstr ""
648
+
649
+ #: app/extensions/fields/template/metabox/default.tpl.php:32
650
+ msgid "New Feature"
651
+ msgstr ""
652
+
653
+ #. Plugin Name of the plugin/theme
654
+ #: app/extensions/galleryType/init.php:104 includes/rbs_gallery_button.php:27
655
+ #: includes/rbs_gallery_init.php:66 includes/rbs_gallery_media.php:41
656
+ msgid "Robo Gallery"
657
+ msgstr ""
658
+
659
+ #: app/extensions/galleryType/init.php:127
660
+ #: app/extensions/galleryType/init.php:130
661
+ msgid "Robo Gallery updated."
662
+ msgstr ""
663
+
664
+ #: app/extensions/galleryType/init.php:128
665
+ msgid "Custom field updated."
666
+ msgstr ""
667
+
668
+ #: app/extensions/galleryType/init.php:129
669
+ msgid "Custom field deleted."
670
+ msgstr ""
671
+
672
+ #. translators: %s: date and time of the revision
673
+ #: app/extensions/galleryType/init.php:133
674
+ #, php-format
675
+ msgid "Robo Gallery restored to revision from %s"
676
+ msgstr ""
677
+
678
+ #: app/extensions/galleryType/init.php:135
679
+ msgid "Robo Gallery published."
680
+ msgstr ""
681
+
682
+ #: app/extensions/galleryType/init.php:136
683
+ msgid "Robo Gallery saved."
684
+ msgstr ""
685
+
686
+ #: app/extensions/galleryType/init.php:137
687
+ msgid "Robo Gallery submitted."
688
+ msgstr ""
689
+
690
+ #: app/extensions/galleryType/init.php:139
691
+ #, php-format
692
+ msgid "Robo Gallery scheduled for: <strong>%1$s</strong>."
693
+ msgstr ""
694
+
695
+ #: app/extensions/galleryType/init.php:140
696
+ msgid "M j, Y @ G:i"
697
+ msgstr ""
698
+
699
+ #: app/extensions/galleryType/init.php:144
700
+ msgid "Robo Gallery draft updated."
701
+ msgstr ""
702
+
703
  #: app/extensions/manager/class.addons.php:147
704
  msgid "Download"
705
  msgstr ""
762
  msgstr ""
763
 
764
  #: app/extensions/manager/class.addons.php:167
765
+ #: includes/extensions/category/category.class.php:112
766
  msgid "Cancel"
767
  msgstr ""
768
 
781
  #: app/extensions/manager/templates/addon.tpl.php:106
782
  #, php-format
783
  msgid ""
784
+ "Oops ... Something went wrong. WordPress don't able to download add-on. "
785
  "Please try again later or download it manually from <a class='thickbox open-"
786
  "plugin-details-modal' href='%s'>[here]</a>. In the case if this situation "
787
  "repeat contact our [support team]"
800
  msgstr ""
801
 
802
  #: app/extensions/manager/templates/addons.tpl.php:22
 
803
  msgid "Menu"
804
  msgstr ""
805
 
812
  msgstr ""
813
 
814
  #: cmb2/fields/border/cmb-field-border.php:50
815
+ #: includes/options/rbs_gallery_options_size_base.php:28
816
  msgid "Width"
817
  msgstr ""
818
 
819
  #: cmb2/fields/border/cmb-field-border.php:69
 
820
  msgid "Style"
821
  msgstr ""
822
 
823
  #: cmb2/fields/border/cmb-field-border.php:83
 
824
  msgid "Color"
825
  msgstr ""
826
 
827
  #: cmb2/fields/padding/rbs-padding.php:46
828
+ #: includes/options/rbs_gallery_options_size_base.php:42
 
829
  msgid "Left"
830
  msgstr ""
831
 
832
+ #: cmb2/fields/padding/rbs-padding.php:61
833
  msgid "Top"
834
  msgstr ""
835
 
836
+ #: cmb2/fields/padding/rbs-padding.php:80
837
+ #: includes/options/rbs_gallery_options_size_base.php:44
 
838
  msgid "Right"
839
  msgstr ""
840
 
841
+ #: cmb2/fields/padding/rbs-padding.php:95
842
  msgid "Bottom"
843
  msgstr ""
844
 
845
+ #: cmb2/fields/rbsgallery/cmb-field-rbsgallery.php:9
846
+ msgid "none"
847
+ msgstr ""
848
+
849
+ #: cmb2/fields/toolbox/cmb-field-toolbox.php:65
850
  msgid "This function available in PRO version"
851
  msgstr ""
852
 
853
+ #: cmb2/fields/toolbox/cmb-field-toolbox.php:74
854
  msgid "Update Robo Gallery PRO Key"
855
  msgstr ""
856
 
857
+ #: cmb2/fields/toolbox/cmb-field-toolbox.php:76
858
  msgid "Goto Clients section"
859
  msgstr ""
860
 
861
+ #: cmb2/fields/toolbox/cmb-field-toolbox.php:78
862
  msgid ""
863
  "This function available in latest versions of the plugin. <br/>\n"
864
  "\t\t\t\t\t\t\tPlease login to <a href=\"https://robosoft.co/clients/\" "
872
  "latest functions implemented in new version of the plugin."
873
  msgstr ""
874
 
875
+ #: cmb2/fields/toolbox/cmb-field-toolbox.php:131
876
  msgid "disabled because you select gallery clone option"
877
  msgstr ""
878
 
934
 
935
  #: includes/extensions/backup/backup.form.php:189
936
  msgid ""
937
+ "After EXPORT copy images from server folder: {WordPress folder}/wp-content/"
938
  "uploads to the new location by FTP"
939
  msgstr ""
940
 
975
  msgid "Upload XML or Zip"
976
  msgstr ""
977
 
978
+ #: includes/extensions/block/src/init.php:84
979
+ msgid ""
980
+ "You didn't select any Robo Gallery item in editor. Please select one from "
981
+ "the list or create new gallery"
982
+ msgstr ""
983
+
984
+ #: includes/extensions/category/category.class.php:55
985
  msgid "Categories"
986
  msgstr ""
987
 
988
+ #: includes/extensions/category/category.class.php:109
989
  msgid "Save"
990
  msgstr ""
991
 
992
+ #: includes/extensions/category/category.class.php:121
993
  #: includes/extensions/categoryPage/category.class.php:97
994
  msgid "Error"
995
  msgstr ""
996
 
997
+ #: includes/extensions/category/category.class.php:124
998
  #: includes/extensions/categoryPage/category.class.php:98
999
  msgid "OK"
1000
  msgstr ""
1001
 
1002
+ #: includes/extensions/category/category.class.php:151
1003
  msgid "Root Category"
1004
  msgstr ""
1005
 
1006
+ #: includes/extensions/category/category.class.php:163
1007
+ #: includes/extensions/rbs_create_post_ajax.php:150
1008
+ #: includes/extensions/rbs_create_post_ajax.php:210
1009
+ #: includes/extensions/rbs_create_post_ajax.php:211
1010
  msgid "Edit"
1011
  msgstr ""
1012
 
1052
  msgstr ""
1053
 
1054
  #: includes/extensions/rbs_create_post_ajax.php:64
1055
+ #: includes/extensions/rbs_create_post_ajax.php:187
1056
+ #: includes/options/rbs_gallery_options_hover_base.php:88
1057
+ #: includes/options/rbs_gallery_options_lightbox_base.php:43
1058
+ #: includes/options/rbs_gallery_options_lightbox_base.php:157
1059
+ #: includes/rbs_gallery_widget.php:134 includes/rbs_gallery_widget_last.php:64
 
1060
  msgid "Title"
1061
  msgstr ""
1062
 
1065
  msgstr ""
1066
 
1067
  #: includes/extensions/rbs_create_post_ajax.php:74
1068
+ #: includes/options/rbs_gallery_options_lightbox_base.php:26
1069
  msgid "Text"
1070
  msgstr ""
1071
 
1073
  msgid "Short tag of the gallery will be insert into created article."
1074
  msgstr ""
1075
 
1076
+ #: includes/extensions/rbs_create_post_ajax.php:147
1077
  msgid "Post"
1078
  msgstr ""
1079
 
1080
+ #: includes/extensions/rbs_create_post_ajax.php:147
1081
  msgid "created"
1082
  msgstr ""
1083
 
1084
+ #: includes/extensions/rbs_create_post_ajax.php:153
1085
+ #: includes/extensions/rbs_create_post_ajax.php:215
1086
+ #: includes/extensions/rbs_create_post_ajax.php:216
1087
  msgid "Preview"
1088
  msgstr ""
1089
 
1090
+ #: includes/extensions/rbs_create_post_ajax.php:180
1091
+ msgid "No post"
1092
+ msgstr ""
1093
+
1094
+ #: includes/extensions/rbs_create_post_ajax.php:188
1095
  msgid "Status"
1096
  msgstr ""
1097
 
1098
+ #: includes/extensions/rbs_create_post_ajax.php:206
1099
  #: includes/extensions/stats/stats.form.php:118
1100
  msgid "Published"
1101
  msgstr ""
1102
 
1103
+ #: includes/extensions/rbs_create_post_ajax.php:206
1104
  msgid "publish"
1105
  msgstr ""
1106
 
1153
  msgid "Trash"
1154
  msgstr ""
1155
 
1156
+ #: includes/frontend/rbs_gallery_class.php:99
1157
+ msgid "No Images."
 
 
 
 
 
 
1158
  msgstr ""
1159
 
1160
+ #: includes/frontend/rbs_gallery_class.php:100
1161
  msgid ""
1162
+ "Please upload images in images manager section. Click on Manage Images "
1163
+ "button on the right side of the gallery settings."
1164
  msgstr ""
1165
 
1166
+ #: includes/frontend/rbs_gallery_class.php:103
1167
  msgid ""
1168
+ "Please make sure that you didn't enabled option: Images of the Current "
1169
+ "Gallery. Option should have Show value to show images."
1170
  msgstr ""
1171
 
1172
+ #: includes/frontend/rbs_gallery_class.php:110
1173
+ msgid "No Youtube Videos."
 
 
 
1174
  msgstr ""
1175
 
1176
+ #: includes/frontend/rbs_gallery_class.php:111
1177
  msgid ""
1178
+ "Please make sure that you setup Youtube API key in gallery settings. Check "
1179
+ "values of the video content IDs. Please contact Robo Gallery support if you "
1180
+ "can't find the reason of this problem."
1181
  msgstr ""
1182
 
1183
  #: includes/options/cache.php:12 includes/options/cache.php:20
1198
  msgid "You can configure timeout for cleaning of the cached resources "
1199
  msgstr ""
1200
 
1201
+ #: includes/options/rbs_gallery_options_button_base.php:7
 
 
 
 
1202
  msgid "Menu Options"
1203
  msgstr ""
1204
 
1205
+ #: includes/options/rbs_gallery_options_button_base.php:21
1206
+ #: includes/options/rbs_gallery_options_hover_base.php:146
1207
+ #: includes/options/rbs_gallery_options_lightbox_base.php:187
1208
+ #: includes/options/rbs_gallery_options_polaroid_base.php:20
1209
+ #: includes/options/rbs_gallery_options_size_base.php:85
1210
+ #: includes/options/rbs_gallery_options_view_base.php:121
1211
+ msgid "Additional Functionality available in Pro version"
1212
  msgstr ""
1213
 
1214
+ #: includes/options/rbs_gallery_options_button_base.php:66
1215
+ msgid "All"
 
1216
  msgstr ""
1217
 
1218
+ #: includes/options/rbs_gallery_options_button_base.php:132
1219
+ msgid "search"
1220
  msgstr ""
1221
 
1222
+ #: includes/options/rbs_gallery_options_copy.php:22
1223
+ msgid " Clone Gallery"
1224
  msgstr ""
1225
 
1226
+ #: includes/options/rbs_gallery_options_copy.php:30
1227
+ msgid "Source Gallery"
1228
  msgstr ""
1229
 
1230
+ #: includes/options/rbs_gallery_options_copy.php:31
1231
+ msgid ""
1232
+ "When you select here to inherit settings from another gallery you'll not be "
1233
+ "able to edit some of the options. Gallery will copy all settings from "
1234
+ "selected source."
1235
  msgstr ""
1236
 
1237
+ #: includes/options/rbs_gallery_options_copy.php:32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1238
  msgid ""
1239
  "Very useful option for the webmasters who planning to create a lot of "
1240
  "galleries. You don't have to configure it every time. Just setup styles of "
1243
  "speed up your work flow!"
1244
  msgstr ""
1245
 
1246
+ #: includes/options/rbs_gallery_options_css.php:9
1247
+ msgid "Custom CSS"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1248
  msgstr ""
1249
 
1250
+ #: includes/options/rbs_gallery_options_css.php:22
1251
+ msgid "Css Style"
 
1252
  msgstr ""
1253
 
1254
+ #: includes/options/rbs_gallery_options_css.php:32
1255
+ msgid "For example"
 
1256
  msgstr ""
1257
 
1258
+ #: includes/options/rbs_gallery_options_css.php:37
1259
+ msgid "Add any custom CSS to target this specific gallery."
 
1260
  msgstr ""
1261
 
1262
+ #: includes/options/rbs_gallery_options_css.php:38
1263
+ msgid "General custom CSS possible to define in "
 
1264
  msgstr ""
1265
 
1266
+ #: includes/options/rbs_gallery_options_css.php:39
1267
+ msgid "gallery general settings"
 
1268
  msgstr ""
1269
 
1270
+ #: includes/options/rbs_gallery_options_css.php:51
1271
+ msgid "Please save gallery first, to apply custom CSS"
 
1272
  msgstr ""
1273
 
1274
+ #: includes/options/rbs_gallery_options_guides.php:22
1275
+ msgid "Video Guides"
 
1276
  msgstr ""
1277
 
1278
+ #: includes/options/rbs_gallery_options_hover_base.php:19
1279
+ msgid "Hover Options"
 
1280
  msgstr ""
1281
 
1282
+ #: includes/options/rbs_gallery_options_hover_base.php:26
1283
+ msgid "Clickable Thumbnails"
 
1284
  msgstr ""
1285
 
1286
+ #: includes/options/rbs_gallery_options_hover_base.php:30
1287
+ msgid ""
1288
+ "When you enable this mode entire thumbnail get clickable, not only hover "
1289
+ "buttons"
1290
  msgstr ""
1291
 
1292
+ #: includes/options/rbs_gallery_options_hover_base.php:51
1293
+ msgid "No Hover for Mobile"
 
1294
  msgstr ""
1295
 
1296
+ #: includes/options/rbs_gallery_options_hover_base.php:54
1297
+ msgid "this option turn off hover effect only for mobile devices"
 
1298
  msgstr ""
1299
 
1300
+ #: includes/options/rbs_gallery_options_hover_base.php:72
1301
  msgid "Show Title"
1302
  msgstr ""
1303
 
1304
+ #: includes/options/rbs_gallery_options_hover_base.php:89
1305
  msgid "Link Button"
1306
  msgstr ""
1307
 
1308
+ #: includes/options/rbs_gallery_options_hover_base.php:90
1309
  msgid "Zoom Button"
1310
  msgstr ""
1311
 
1312
+ #: includes/options/rbs_gallery_options_hover_base.php:99
 
 
 
 
 
 
1313
  msgid "Link Icon"
1314
  msgstr ""
1315
 
1316
+ #: includes/options/rbs_gallery_options_hover_base.php:119
1317
  msgid "Zoom Icon"
1318
  msgstr ""
1319
 
1320
+ #: includes/options/rbs_gallery_options_lightbox_base.php:19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1321
  msgid "Lightbox Options"
1322
  msgstr ""
1323
 
1324
+ #: includes/options/rbs_gallery_options_lightbox_base.php:37
1325
  msgid "Text Source"
1326
  msgstr ""
1327
 
1328
+ #: includes/options/rbs_gallery_options_lightbox_base.php:44
1329
+ #: includes/options/rbs_gallery_options_lightbox_base.php:158
1330
+ msgid "Description"
1331
+ msgstr ""
1332
+
1333
+ #: includes/options/rbs_gallery_options_lightbox_base.php:45
1334
+ #: includes/options/rbs_gallery_options_lightbox_base.php:159
1335
  msgid "Caption"
1336
  msgstr ""
1337
 
1338
+ #: includes/options/rbs_gallery_options_lightbox_base.php:52
1339
  msgid "Text Color"
1340
  msgstr ""
1341
 
1342
+ #: includes/options/rbs_gallery_options_lightbox_base.php:70
1343
  msgid "Deep Linking"
1344
  msgstr ""
1345
 
1346
+ #: includes/options/rbs_gallery_options_lightbox_base.php:73
1347
  msgid "This option enable linking for every particular image "
1348
  msgstr ""
1349
 
1350
+ #: includes/options/rbs_gallery_options_lightbox_base.php:78
1351
  msgid " Images Counter"
1352
  msgstr ""
1353
 
1354
+ #: includes/options/rbs_gallery_options_lightbox_base.php:89
1355
  msgid "Counter Divider"
1356
  msgstr ""
1357
 
1358
+ #: includes/options/rbs_gallery_options_lightbox_base.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1359
  msgid "Mobile Style"
1360
  msgstr ""
1361
 
1362
+ #: includes/options/rbs_gallery_options_lightbox_base.php:106
1363
  msgid "Close Icon"
1364
  msgstr ""
1365
 
1366
+ #: includes/options/rbs_gallery_options_lightbox_base.php:114
1367
  msgid "Control Buttons"
1368
  msgstr ""
1369
 
1370
+ #: includes/options/rbs_gallery_options_lightbox_base.php:115
1371
  msgid "Lightbox Description Panel"
1372
  msgstr ""
1373
 
1374
+ #: includes/options/rbs_gallery_options_lightbox_base.php:122
 
 
 
 
 
1375
  msgid "Arrow Icon"
1376
  msgstr ""
1377
 
1378
+ #: includes/options/rbs_gallery_options_lightbox_base.php:130
1379
  msgid "Source Button "
1380
  msgstr ""
1381
 
1382
+ #: includes/options/rbs_gallery_options_lightbox_base.php:140
1383
  msgid "Panel"
1384
  msgstr ""
1385
 
1386
+ #: includes/options/rbs_gallery_options_lightbox_base.php:151
1387
  msgid "Description Source"
1388
  msgstr ""
1389
 
1390
+ #: includes/options/rbs_gallery_options_lightbox_base.php:165
1391
  msgid "Description Style"
1392
  msgstr ""
1393
 
1394
+ #: includes/options/rbs_gallery_options_lightbox_base.php:171
1395
  msgid "Light"
1396
  msgstr ""
1397
 
1398
+ #: includes/options/rbs_gallery_options_lightbox_base.php:172
1399
  msgid "Dark"
1400
  msgstr ""
1401
 
1402
+ #: includes/options/rbs_gallery_options_lightbox_base.php:173
1403
+ msgid "Red"
 
 
 
 
 
 
 
 
1404
  msgstr ""
1405
 
1406
+ #: includes/options/rbs_gallery_options_lightbox_base.php:174
1407
+ msgid "Blue"
1408
  msgstr ""
1409
 
1410
+ #: includes/options/rbs_gallery_options_lightbox_base.php:175
1411
+ msgid "Green"
1412
  msgstr ""
1413
 
1414
+ #: includes/options/rbs_gallery_options_lightbox_base.php:176
1415
+ msgid "Pink"
1416
  msgstr ""
1417
 
1418
  #: includes/options/rbs_gallery_options_loading.php:19
1432
  msgid "Images Amount"
1433
  msgstr ""
1434
 
1435
+ #: includes/options/rbs_gallery_options_loading.php:48
1436
+ msgid "Amount of the images which gallery load on start by default"
1437
+ msgstr ""
1438
+
1439
+ #: includes/options/rbs_gallery_options_loading.php:54
1440
  msgid "Load More Amount"
1441
  msgstr ""
1442
 
1443
+ #: includes/options/rbs_gallery_options_loading.php:57
1444
+ msgid ""
1445
+ "Amount of the image in load more pagination step. After click on Load more "
1446
+ "button gallery load this amount of new images"
1447
+ msgstr ""
1448
+
1449
+ #: includes/options/rbs_gallery_options_loading.php:65
1450
  msgid "Wait Thumbs Load"
1451
  msgstr ""
1452
 
1453
+ #: includes/options/rbs_gallery_options_loading.php:73
1454
  msgid "Wait No Matter What"
1455
  msgstr ""
1456
 
1457
+ #: includes/options/rbs_gallery_options_loading.php:81
1458
+ msgid "Bg Color"
1459
+ msgstr ""
1460
+
1461
+ #: includes/options/rbs_gallery_options_loading.php:93
1462
  msgid "Loading Label"
1463
  msgstr ""
1464
 
1465
+ #: includes/options/rbs_gallery_options_loading.php:103
1466
  msgid "Load More Label"
1467
  msgstr ""
1468
 
1469
+ #: includes/options/rbs_gallery_options_loading.php:110
1470
  msgid "No More Entries Label"
1471
  msgstr ""
1472
 
1473
+ #: includes/options/rbs_gallery_options_polaroid_base.php:7
1474
  msgid "Polaroid Style Options"
1475
  msgstr ""
1476
 
1477
+ #: includes/options/rbs_gallery_options_size_base.php:19
1478
+ msgid "Gallery Size Options"
 
 
 
 
 
 
 
 
1479
  msgstr ""
1480
 
1481
+ #: includes/options/rbs_gallery_options_size_base.php:38
1482
+ msgid "Gallery Alignment"
1483
  msgstr ""
1484
 
1485
+ #: includes/options/rbs_gallery_options_size_base.php:41
1486
+ #: includes/rbs_gallery_settings.php:331 includes/rbs_gallery_settings.php:332
1487
+ #: includes/rbs_gallery_settings.php:346 includes/rbs_gallery_settings.php:347
1488
+ #: includes/rbs_gallery_settings.php:407 includes/rbs_gallery_settings.php:408
1489
+ msgid "Disable"
1490
  msgstr ""
1491
 
1492
+ #: includes/options/rbs_gallery_options_size_base.php:43
1493
+ msgid "Center"
1494
  msgstr ""
1495
 
1496
+ #: includes/options/rbs_gallery_options_size_base.php:51
1497
  msgid "Padding"
1498
  msgstr ""
1499
 
1500
+ #: includes/options/rbs_gallery_options_size_base.php:60
 
1501
  msgid "Thumbs Options"
1502
  msgstr ""
1503
 
1504
+ #: includes/options/rbs_gallery_options_size_base.php:74
 
 
 
 
1505
  msgid "Custom Ratio"
1506
  msgstr ""
1507
 
 
 
 
 
1508
  #: includes/options/rbs_gallery_options_text.php:19
1509
  msgid "Text Addons"
1510
  msgstr ""
1543
  msgid "Success: Statistic successfully reset!"
1544
  msgstr ""
1545
 
1546
+ #: includes/options/rbs_gallery_options_view_base.php:19
1547
  msgid "Thumbs View Options"
1548
  msgstr ""
1549
 
1550
+ #: includes/options/rbs_gallery_options_view_base.php:28
1551
  msgid "Radius"
1552
  msgstr ""
1553
 
1554
+ #: includes/options/rbs_gallery_options_view_base.php:54
 
 
 
 
 
 
 
 
1555
  msgid "Shadow"
1556
  msgstr ""
1557
 
1558
+ #: includes/options/rbs_gallery_options_view_base.php:64
 
 
1559
  msgid "Shadow Options"
1560
  msgstr ""
1561
 
1562
+ #: includes/options/rbs_gallery_options_view_base.php:100
1563
+ msgid "Border"
 
 
 
 
1564
  msgstr ""
1565
 
1566
+ #: includes/options/rbs_gallery_options_view_base.php:110
 
 
1567
  msgid "Border Options"
1568
  msgstr ""
1569
 
 
 
 
 
 
 
 
 
1570
  #: includes/options/voting.php:12
1571
  msgid "Suggest Feature"
1572
  msgstr ""
1587
  msgid "Contact Developer"
1588
  msgstr ""
1589
 
1590
+ #: includes/rbs_gallery_button.php:29
1591
+ msgid "Insert"
1592
  msgstr ""
1593
 
1594
+ #: includes/rbs_gallery_button.php:35
1595
+ msgid "Add Robo Gallery"
1596
  msgstr ""
1597
 
1598
+ #: includes/rbs_gallery_button.php:46
1599
+ msgid "Select gallery"
1600
  msgstr ""
1601
 
1602
+ #: includes/rbs_gallery_button.php:47 includes/rbs_gallery_widget.php:146
1603
+ #: includes/rbs_gallery_widget_last.php:72
1604
+ msgid "Configure it in"
1605
  msgstr ""
1606
 
1607
+ #: includes/rbs_gallery_button.php:47 includes/rbs_gallery_widget.php:148
1608
+ #: includes/rbs_gallery_widget_last.php:74
1609
+ msgid "Robo Gallery plugin"
1610
  msgstr ""
1611
 
1612
+ #: includes/rbs_gallery_config.php:22
1613
+ msgid "How to install key?"
1614
  msgstr ""
1615
 
1616
+ #: includes/rbs_gallery_config.php:27
1617
+ msgid "How to make custom grid layout?"
1618
  msgstr ""
1619
 
1620
+ #: includes/rbs_gallery_config.php:32
1621
+ msgid "New Categories Manager"
1622
  msgstr ""
1623
 
1624
+ #: includes/rbs_gallery_config.php:37
1625
+ msgid "How to setup Polaroid style?"
1626
  msgstr ""
1627
 
1628
+ #: includes/rbs_gallery_config.php:42
1629
+ msgid "Install and configuration guide"
1630
  msgstr ""
1631
 
1632
+ #: includes/rbs_gallery_config.php:47
1633
+ msgid "How to manage gallery post?"
1634
  msgstr ""
1635
 
1636
+ #: includes/rbs_gallery_config.php:52
1637
+ msgid "How to upload gallery images?"
1638
  msgstr ""
1639
 
1640
+ #: includes/rbs_gallery_config.php:57
1641
+ msgid "How to create shortcode?"
1642
  msgstr ""
1643
 
1644
+ #: includes/rbs_gallery_init.php:9
1645
+ msgid "Available in"
1646
  msgstr ""
1647
 
1648
+ #: includes/rbs_gallery_init.php:12
1649
+ msgid "Please update "
1650
  msgstr ""
1651
 
1652
+ #: includes/rbs_gallery_init.php:12
1653
+ msgid " key"
1654
  msgstr ""
1655
 
1656
+ #: includes/rbs_gallery_init.php:67
1657
+ msgid "Manage Galleries"
1658
  msgstr ""
1659
 
1660
+ #: includes/rbs_gallery_init.php:68
1661
+ msgid "Add Gallery / Images"
1662
  msgstr ""
1663
 
1664
+ #: includes/rbs_gallery_init.php:69
1665
+ msgid "Add Gallery"
 
 
1666
  msgstr ""
1667
 
1668
+ #: includes/rbs_gallery_init.php:70
1669
+ msgid "Edit Gallery"
1670
  msgstr ""
1671
 
1672
+ #: includes/rbs_gallery_init.php:72
1673
+ msgid "Add New Robo Gallery"
1674
  msgstr ""
1675
 
1676
+ #: includes/rbs_gallery_init.php:73
1677
+ msgid "View Robo Gallery"
1678
  msgstr ""
1679
 
1680
+ #: includes/rbs_gallery_init.php:75
1681
+ msgid "Search Robo Galleries"
 
1682
  msgstr ""
1683
 
1684
+ #: includes/rbs_gallery_init.php:76
1685
+ msgid "Parent Robo Galleries:"
 
1686
  msgstr ""
1687
 
1688
+ #: includes/rbs_gallery_init.php:77
1689
+ msgid "No galleries found."
1690
  msgstr ""
1691
 
1692
+ #: includes/rbs_gallery_init.php:78
1693
+ msgid "No galleries found in Trash."
1694
  msgstr ""
1695
 
1696
+ #: includes/rbs_gallery_init.php:80
1697
+ msgctxt "admin menu"
1698
+ msgid "Robo Gallery"
1699
  msgstr ""
1700
 
1701
+ #: includes/rbs_gallery_init.php:81
1702
+ msgctxt "add new on admin bar"
1703
+ msgid "Robo Gallery"
1704
  msgstr ""
1705
 
1706
+ #: includes/rbs_gallery_init.php:95
1707
+ msgid "Description. text la la "
1708
  msgstr ""
1709
 
1710
+ #: includes/rbs_gallery_media.php:45
1711
+ msgid "Tags"
1712
  msgstr ""
1713
 
1714
+ #: includes/rbs_gallery_media.php:62
1715
+ msgid "Column"
1716
  msgstr ""
1717
 
1718
+ #: includes/rbs_gallery_media.php:69
1719
+ msgid "Link"
1720
  msgstr ""
1721
 
1722
+ #: includes/rbs_gallery_media.php:82
1723
+ msgid "Blank Link"
1724
  msgstr ""
1725
 
1726
+ #: includes/rbs_gallery_media.php:90
1727
+ msgid "Video"
1728
  msgstr ""
1729
 
1730
+ #: includes/rbs_gallery_media.php:99
1731
+ msgid "push-up"
1732
  msgstr ""
1733
 
1734
+ #: includes/rbs_gallery_media.php:100
1735
+ msgid "push-down"
1736
  msgstr ""
1737
 
1738
+ #: includes/rbs_gallery_media.php:101
1739
+ msgid "push-up-100%"
1740
  msgstr ""
1741
 
1742
+ #: includes/rbs_gallery_media.php:102
1743
+ msgid "push-down-100%"
1744
  msgstr ""
1745
 
1746
+ #: includes/rbs_gallery_media.php:103
1747
+ msgid "reveal-top"
1748
  msgstr ""
1749
 
1750
+ #: includes/rbs_gallery_media.php:104
1751
+ msgid "reveal-bottom"
1752
  msgstr ""
1753
 
1754
+ #: includes/rbs_gallery_media.php:105
1755
+ msgid "reveal-top-100%"
1756
  msgstr ""
1757
 
1758
+ #: includes/rbs_gallery_media.php:106
1759
+ msgid "reveal-bottom-100%"
1760
  msgstr ""
1761
 
1762
+ #: includes/rbs_gallery_media.php:107
1763
+ msgid "direction-aware"
1764
+ msgstr ""
1765
+
1766
+ #: includes/rbs_gallery_media.php:108
1767
+ msgid "direction-aware-fade"
1768
+ msgstr ""
1769
+
1770
+ #: includes/rbs_gallery_media.php:109
1771
+ msgid "direction-right"
1772
+ msgstr ""
1773
+
1774
+ #: includes/rbs_gallery_media.php:110
1775
+ msgid "direction-left"
1776
+ msgstr ""
1777
+
1778
+ #: includes/rbs_gallery_media.php:111
1779
+ msgid "direction-top"
1780
+ msgstr ""
1781
+
1782
+ #: includes/rbs_gallery_media.php:112
1783
+ msgid "direction-bottom"
1784
+ msgstr ""
1785
+
1786
+ #: includes/rbs_gallery_media.php:113
1787
+ msgid "fade"
1788
  msgstr ""
1789
 
1790
+ #: includes/rbs_gallery_media.php:114
1791
  msgid "inherit"
1792
  msgstr ""
1793
 
1794
+ #: includes/rbs_gallery_media.php:122
1795
+ msgid "Effect"
1796
+ msgstr ""
1797
+
1798
+ #: includes/rbs_gallery_settings.php:57
1799
  msgid "Cache Settings"
1800
  msgstr ""
1801
 
1802
+ #: includes/rbs_gallery_settings.php:60
1803
+ msgid "Custom JS\\CSS"
1804
+ msgstr ""
1805
+
1806
+ #: includes/rbs_gallery_settings.php:63
1807
  msgid "Compatibility Settings"
1808
  msgstr ""
1809
 
1810
+ #: includes/rbs_gallery_settings.php:66
1811
  msgid "Create Post Settings"
1812
  msgstr ""
1813
 
1814
+ #: includes/rbs_gallery_settings.php:69
1815
  msgid "SEO Optimization"
1816
  msgstr ""
1817
 
1818
+ #: includes/rbs_gallery_settings.php:72
1819
+ msgid "Youtube API Settings"
1820
+ msgstr ""
1821
+
1822
+ #: includes/rbs_gallery_settings.php:83
1823
  msgid "Robo Gallery Settings"
1824
  msgstr ""
1825
 
1826
+ #: includes/rbs_gallery_settings.php:145
1827
+ msgid "Youtube Api Key"
1828
+ msgstr ""
1829
+
1830
+ #: includes/rbs_gallery_settings.php:159
1831
+ msgid "If you don't know how to create Youtube API key please follow "
1832
+ msgstr ""
1833
+
1834
+ #: includes/rbs_gallery_settings.php:161
1835
+ msgid "this official instruction "
1836
+ msgstr ""
1837
+
1838
+ #: includes/rbs_gallery_settings.php:162
1839
+ msgid "for the google developers console"
1840
+ msgstr ""
1841
+
1842
+ #: includes/rbs_gallery_settings.php:175 includes/rbs_gallery_settings.php:198
1843
  msgid "Clear cache timeout"
1844
  msgstr ""
1845
 
1846
+ #: includes/rbs_gallery_settings.php:185
1847
+ msgid ""
1848
+ "This is timeout for the clear youtube gallery cache option. Value in hours "
1849
+ "for the cleaning period of the cached resources."
1850
+ msgstr ""
1851
+
1852
+ #: includes/rbs_gallery_settings.php:208
1853
  msgid ""
1854
  "This is timeout for the clear gallery cache option. Value in hours for the "
1855
  "cleaning period of the cached resources."
1856
  msgstr ""
1857
 
1858
+ #: includes/rbs_gallery_settings.php:221
1859
+ msgid "Css Files"
1860
+ msgstr ""
1861
+
1862
+ #: includes/rbs_gallery_settings.php:225
1863
+ msgid "Just add custom CSS files to this field."
1864
+ msgstr ""
1865
+
1866
+ #: includes/rbs_gallery_settings.php:235 includes/rbs_gallery_settings.php:255
1867
+ msgid "Path for included files from the WordPress Root Directory"
1868
+ msgstr ""
1869
+
1870
+ #: includes/rbs_gallery_settings.php:236 includes/rbs_gallery_settings.php:256
1871
+ msgid "Sample path:"
1872
+ msgstr ""
1873
+
1874
+ #: includes/rbs_gallery_settings.php:241
1875
+ msgid "JS Files"
1876
+ msgstr ""
1877
+
1878
+ #: includes/rbs_gallery_settings.php:245
1879
+ msgid "Just add custom JS files to this field."
1880
+ msgstr ""
1881
+
1882
+ #: includes/rbs_gallery_settings.php:268
1883
  msgid "Categories Manager"
1884
  msgstr ""
1885
 
1886
+ #: includes/rbs_gallery_settings.php:271 includes/rbs_gallery_settings.php:272
1887
+ #: includes/rbs_gallery_settings.php:273 includes/rbs_gallery_settings.php:363
1888
+ #: includes/rbs_gallery_settings.php:364 includes/rbs_gallery_settings.php:378
1889
+ #: includes/rbs_gallery_settings.php:379
1890
  msgid "Show"
1891
  msgstr ""
1892
 
1893
+ #: includes/rbs_gallery_settings.php:275 includes/rbs_gallery_settings.php:276
1894
+ #: includes/rbs_gallery_settings.php:366 includes/rbs_gallery_settings.php:367
1895
+ #: includes/rbs_gallery_settings.php:381 includes/rbs_gallery_settings.php:382
1896
  msgid "Hide"
1897
  msgstr ""
1898
 
1899
+ #: includes/rbs_gallery_settings.php:282 includes/rbs_gallery_settings.php:285
1900
  msgid "jQuery Version"
1901
  msgstr ""
1902
 
1903
+ #: includes/rbs_gallery_settings.php:286 includes/rbs_gallery_settings.php:287
1904
  msgid "Default"
1905
  msgstr ""
1906
 
1907
+ #: includes/rbs_gallery_settings.php:289 includes/rbs_gallery_settings.php:290
1908
  msgid "Alternative"
1909
  msgstr ""
1910
 
1911
+ #: includes/rbs_gallery_settings.php:294 includes/rbs_gallery_settings.php:295
1912
  msgid "Forced include"
1913
  msgstr ""
1914
 
1915
+ #: includes/rbs_gallery_settings.php:302 includes/rbs_gallery_settings.php:305
1916
  msgid "Font Awesome"
1917
  msgstr ""
1918
 
1919
+ #: includes/rbs_gallery_settings.php:306 includes/rbs_gallery_settings.php:307
1920
  msgid "Load"
1921
  msgstr ""
1922
 
1923
+ #: includes/rbs_gallery_settings.php:309 includes/rbs_gallery_settings.php:310
1924
  msgid "Don't load"
1925
  msgstr ""
1926
 
1927
+ #: includes/rbs_gallery_settings.php:312
1928
  msgid "for the case if Your theme already have awesome fonts loaded"
1929
  msgstr ""
1930
 
1931
+ #: includes/rbs_gallery_settings.php:318
1932
  msgid "Size Calculations Delay"
1933
  msgstr ""
1934
 
1935
+ #: includes/rbs_gallery_settings.php:324
1936
  msgid "Debug"
1937
  msgstr ""
1938
 
1939
+ #: includes/rbs_gallery_settings.php:327 includes/rbs_gallery_settings.php:328
1940
+ #: includes/rbs_gallery_settings.php:329 includes/rbs_gallery_settings.php:342
1941
+ #: includes/rbs_gallery_settings.php:343 includes/rbs_gallery_settings.php:344
1942
  msgid "Enable"
1943
  msgstr ""
1944
 
1945
+ #: includes/rbs_gallery_settings.php:339
 
 
 
 
 
 
1946
  msgid "Express panel"
1947
  msgstr ""
1948
 
1949
+ #: includes/rbs_gallery_settings.php:359
1950
  msgid "Text Block"
1951
  msgstr ""
1952
 
1953
+ #: includes/rbs_gallery_settings.php:362
1954
  msgid "Show Text"
1955
  msgstr ""
1956
 
1957
+ #: includes/rbs_gallery_settings.php:374
1958
  msgid "Clone Block"
1959
  msgstr ""
1960
 
1961
+ #: includes/rbs_gallery_settings.php:377
1962
  msgid "Show Clone Block"
1963
  msgstr ""
1964
 
1965
+ #: includes/rbs_gallery_settings.php:394
1966
  msgid "Add SEO content"
1967
  msgstr ""
1968
 
1969
+ #: includes/rbs_gallery_settings.php:397 includes/rbs_gallery_settings.php:398
1970
+ #: includes/rbs_gallery_settings.php:399
1971
  msgid "Enable [thumbs]"
1972
  msgstr ""
1973
 
1974
+ #: includes/rbs_gallery_settings.php:402 includes/rbs_gallery_settings.php:403
1975
+ #: includes/rbs_gallery_settings.php:404
1976
  msgid "Enable [thumbs + link]"
1977
  msgstr ""
1978
 
1979
+ #: includes/rbs_gallery_widget.php:11 includes/rbs_gallery_widget_last.php:11
 
 
 
 
 
 
 
 
1980
  msgid "Robo Gallery Widget"
1981
  msgstr ""
1982
 
1983
+ #: includes/rbs_gallery_widget.php:12 includes/rbs_gallery_widget_last.php:12
1984
  msgid "Publish gallery on your website."
1985
  msgstr ""
1986
 
1987
+ #: includes/rbs_gallery_widget.php:89
 
 
 
 
1988
  msgid "Latest Gallery"
1989
  msgstr ""
1990
 
1991
+ #: includes/rbs_gallery_widget.php:90
1992
  msgid "Random Gallery"
1993
  msgstr ""
1994
 
1995
+ #: includes/rbs_gallery_widget.php:91
1996
  msgid "Most Viewed Gallery"
1997
  msgstr ""
1998
 
1999
+ #: includes/rbs_gallery_widget.php:107
2000
  msgid "Gallery Widget"
2001
  msgstr ""
2002
 
2003
+ #: includes/rbs_gallery_widget.php:122
2004
  msgid ""
2005
  "You need to install new version of the widget to make it work. Install free "
2006
  "or paid version of the Image Widget."
2007
  msgstr ""
2008
 
2009
+ #: includes/rbs_gallery_widget.php:125
2010
  msgid "Install Free Version"
2011
  msgstr ""
2012
 
2013
+ #: includes/rbs_gallery_widget.php:127
2014
  msgid "Install Paid Version"
2015
  msgstr ""
2016
 
2017
+ #: includes/rbs_gallery_widget.php:139 includes/rbs_gallery_widget_last.php:69
2018
  msgid "Gallery:"
2019
  msgstr ""
2020
 
2021
+ #: includes/rbs_gallery_widget_last.php:27
2022
+ #: includes/rbs_gallery_widget_last.php:60
2023
  msgid "This widget available in Pro version"
2024
  msgstr ""
2025
 
2026
+ #: includes/rbs_gallery_widget_last.php:36
2027
  msgid "New gallery"
2028
  msgstr ""
2029
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://robosoft.co/robogallery
4
  Tags: gallery, photo gallery, image gallery, wordpress gallery plugin, responsive gallery
5
  Requires at least: 3.3
6
  Tested up to: 5.8
7
- Stable tag: 3.1.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -12,39 +12,40 @@ Rbs Image Gallery is advanced responsive photo gallery plugin. Flexible gallery
12
 
13
  == Description ==
14
 
15
- Gallery on your website it's really attractive and very important part of your pages. If you looking for fast, easy plugin with simple and very beautiful, highly customizable design [ALL DEMOS YOU CAN FIND HERE](https://www.robogallery.co/demo/) With our plugin even newbie in WordPress will be able to create your first gallery in few minutes and at the same time Wordpress professionals get advanced tools and freedom of creativity. Just download this plugin and you'll not look for any other plugin any more! [Gallery Showcase with the previews of all views](https://www.robogallery.co/demo/)
16
 
17
  > #### Demos
18
  >
19
- >[All Gallery Demos](https://www.robogallery.co/demo/)
20
  >
21
- >[Portfolio Gallery](https://robosoft.co/demo/gallery/portfolio-gallery/)
22
  >
23
- >[Hash Tags](https://robosoft.co/demo/gallery/hashtags/)
24
  >
25
- >[Masonry Gallery](https://robosoft.co/demo/gallery/masonry-gallery/)
26
  >
27
- >[Youtube Video](https://robosoft.co/demo/gallery/youtube-video-gallery/)
28
  >
29
- >[Blog Style](https://robosoft.co/demo/gallery/blog-style-gallery/)
30
  >
31
- >[Vimeo Video](https://robosoft.co/demo/gallery/vimeo-video-gallery/)
32
  >
33
- >[Multi Categories Cars Demo](https://robosoft.co/demo/gallery/cars-gallery-demo/)
34
  >
35
- >[Grid Layout Demo with Fade hover effect](https://robosoft.co/demo/gallery/custom-layout/)
36
  >
37
- >[Multi Categories Polaroid style Movie Demo with classic layout](https://robosoft.co/demo/gallery/gallery-demo-movie/)
38
  >
39
- >[Design Sketch Demo with grid layout](https://robosoft.co/demo/gallery/gallery-design/)
40
  >
41
- >[Multi Categories Demo with custom interface colors and classic layout](https://robosoft.co/demo/gallery/push-effect-demo/)
42
  >
43
- >[Video Demo with grid layout](https://robosoft.co/demo/gallery/design-video-gallery)
44
 
45
 
46
  = Key Features =
47
-
 
48
  * **One click setup** - implemented one click wizard with the 5 types: image grid, mosaic, masonry, polaroid, youtube gallery.
49
  * **No limits** - no limits for amount of instances with 5 free types: photo grid, mosaic, masonry, polaroid, youtube grid.
50
  * **No limits for images / photos** - no limits for amount of the images / photos in every album.
@@ -234,6 +235,11 @@ If any problem occurs, please contact us.
234
 
235
  == Changelog ==
236
 
 
 
 
 
 
237
  = 3.1.3 =
238
  * Small interface fixes, tested on 5.8.2
239
 
@@ -646,5 +652,7 @@ If any problem occurs, please contact us.
646
 
647
  == Upgrade Notice ==
648
 
649
- = 3.1.3 =
650
- Small interface fixes, tested on 5.8.2
 
 
4
  Tags: gallery, photo gallery, image gallery, wordpress gallery plugin, responsive gallery
5
  Requires at least: 3.3
6
  Tested up to: 5.8
7
+ Stable tag: 3.1.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ Gallery on your website it's really attractive and very important part of your pages. If you looking for fast, easy plugin with simple and very beautiful, highly customizable design [ALL DEMOS YOU CAN FIND HERE](https://www.robogallery.co/gallery-showcase/) With our plugin even newbie in WordPress will be able to create your first gallery in few minutes and at the same time Wordpress professionals get advanced tools and freedom of creativity. Just download this plugin and you'll not look for any other plugin any more! [Gallery Showcase with the previews of all views](https://www.robogallery.co/gallery-showcase/)
16
 
17
  > #### Demos
18
  >
19
+ >[All Gallery Demos](https://www.robogallery.co/gallery-showcase/)
20
  >
21
+ >[Portfolio Gallery](https://robogallery.co/demo/gallery/portfolio-gallery/)
22
  >
23
+ >[Hash Tags](https://robogallery.co/demo/gallery/hashtags/)
24
  >
25
+ >[Masonry Gallery](https://robogallery.co/demo/gallery/masonry-gallery/)
26
  >
27
+ >[Youtube Video](https://robogallery.co/demo/gallery/youtube-video-gallery/)
28
  >
29
+ >[Blog Style](https://robogallery.co/demo/gallery/blog-style-gallery/)
30
  >
31
+ >[Vimeo Video](https://robogallery.co/demo/gallery/vimeo-video-gallery/)
32
  >
33
+ >[Multi Categories Cars Demo](https://robogallery.co/demo/gallery/cars-gallery-demo/)
34
  >
35
+ >[Grid Layout Demo with Fade hover effect](https://robogallery.co/demo/gallery/custom-layout/)
36
  >
37
+ >[Multi Categories Polaroid style Movie Demo with classic layout](https://robogallery.co/demo/gallery/gallery-demo-movie/)
38
  >
39
+ >[Design Sketch Demo with grid layout](https://robogallery.co/demo/gallery/gallery-design/)
40
  >
41
+ >[Multi Categories Demo with custom interface colors and classic layout](https://robogallery.co/demo/gallery/push-effect-demo/)
42
  >
43
+ >[Video Demo with grid layout](https://robogallery.co/demo/gallery/design-video-gallery/)
44
 
45
 
46
  = Key Features =
47
+ * **No Right click / Content protection** - in Robo gallery possible to disable right click to prevent copy of the gallery content. Content copy protection is very important for every photographer's portfolio photos.
48
+ * **Lightbox no right click / Content protection ** - in Robo gallery possible to disable right click to prevent copy of the gallery lightbox content. Content copy protection is very important for every photographer's portfolio photos.
49
  * **One click setup** - implemented one click wizard with the 5 types: image grid, mosaic, masonry, polaroid, youtube gallery.
50
  * **No limits** - no limits for amount of instances with 5 free types: photo grid, mosaic, masonry, polaroid, youtube grid.
51
  * **No limits for images / photos** - no limits for amount of the images / photos in every album.
235
 
236
  == Changelog ==
237
 
238
+ = 3.1.4 =
239
+ * Right click protection for the gallery and lightbox
240
+ * Fix of the PHP warnings
241
+ * Plugin admin section modifications and fixes
242
+
243
  = 3.1.3 =
244
  * Small interface fixes, tested on 5.8.2
245
 
652
 
653
  == Upgrade Notice ==
654
 
655
+ = 3.1.4 =
656
+ Right click protection for the gallery and lightbox
657
+ Fix of the PHP warnings
658
+ Plugin admin section modifications and fixes
robogallery.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Robo Gallery
4
  Plugin URI: https://robosoft.co/gallery
5
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
6
- Version: 3.1.3
7
  Author: RoboSoft
8
  Author URI: https://robosoft.co/gallery
9
  License: GPLv3 or later
@@ -14,7 +14,7 @@ Domain Path: /languages
14
  if( !defined('WPINC') ) die;
15
  if( !defined("ABSPATH") ) exit;
16
 
17
- define("ROBO_GALLERY_VERSION", '3.1.3' );
18
 
19
 
20
  define("ROBO_GALLERY", 1 );
3
  Plugin Name: Robo Gallery
4
  Plugin URI: https://robosoft.co/gallery
5
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
6
+ Version: 3.1.4
7
  Author: RoboSoft
8
  Author URI: https://robosoft.co/gallery
9
  License: GPLv3 or later
14
  if( !defined('WPINC') ) die;
15
  if( !defined("ABSPATH") ) exit;
16
 
17
+ define("ROBO_GALLERY_VERSION", '3.1.4' );
18
 
19
 
20
  define("ROBO_GALLERY", 1 );