Version Description
- Added new search field label customization option
- Optimization of the admin interface options
Download this release
Release Info
Developer | robosoft |
Plugin | Gallery – Photo Gallery and Images Gallery |
Version | 2.6.5 |
Comparing to | |
See all releases |
Code changes from version 2.6.4 to 2.6.5
- includes/frontend/rbs_gallery_class.php +1 -1
- includes/options/rbs_gallery_options_button.php +50 -33
- readme.txt +9 -1
- robogallery.php +4 -4
includes/frontend/rbs_gallery_class.php
CHANGED
@@ -604,7 +604,7 @@ class roboGallery extends roboGalleryUtils{
|
|
604 |
|
605 |
if( get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'searchEnable', true ) ){
|
606 |
$retHtml .= '<div class="rbs_search_wrap">';
|
607 |
-
$retHtml .= '<input type="text" class="rbs-search" placeholder="'.
|
608 |
$retHtml .= '</div>';
|
609 |
$this->helper->setValue( 'search', '#'.$this->galleryId.'filter .rbs-search' );
|
610 |
$this->helper->setValue( 'searchTarget', '.rbs-img-image' );
|
604 |
|
605 |
if( get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'searchEnable', true ) ){
|
606 |
$retHtml .= '<div class="rbs_search_wrap">';
|
607 |
+
$retHtml .= '<input type="text" class="rbs-search" placeholder="'.get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'searchLabel', true ).'">';
|
608 |
$retHtml .= '</div>';
|
609 |
$this->helper->setValue( 'search', '#'.$this->galleryId.'filter .rbs-search' );
|
610 |
$this->helper->setValue( 'searchTarget', '.rbs-img-image' );
|
includes/options/rbs_gallery_options_button.php
CHANGED
@@ -38,27 +38,6 @@ $button_group->add_field( array(
|
|
38 |
<div class="rbs_menu_options">',
|
39 |
));
|
40 |
|
41 |
-
$button_group->add_field( array(
|
42 |
-
'name' => __('Root Label', 'rbs_gallery' ),
|
43 |
-
'id' => ROBO_GALLERY_PREFIX . 'menuRoot',
|
44 |
-
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
45 |
-
'type' => 'switch',
|
46 |
-
'bootstrap_style'=> 1,
|
47 |
-
'depends' => '.rbs_menu_root_text',
|
48 |
-
'showhide' => 1,
|
49 |
-
'after_row' => '
|
50 |
-
<div class="rbs_menu_root_text">',
|
51 |
-
));
|
52 |
-
|
53 |
-
$button_group->add_field( array(
|
54 |
-
'name' => __('Root Label Text','rbs_gallery'),
|
55 |
-
'default' => 'All',
|
56 |
-
'id' => ROBO_GALLERY_PREFIX .'menuRootLabel',
|
57 |
-
'type' => 'rbstext',
|
58 |
-
'after_row' => '
|
59 |
-
</div>',
|
60 |
-
));
|
61 |
-
|
62 |
$button_group->add_field( array(
|
63 |
'name' => __('Menu mode', 'rbs_gallery' ),
|
64 |
'id' => ROBO_GALLERY_PREFIX . 'menuTag',
|
@@ -95,18 +74,52 @@ $button_group->add_field( array(
|
|
95 |
));
|
96 |
|
97 |
$button_group->add_field( array(
|
98 |
-
'name' => __('Self
|
99 |
-
'id' => ROBO_GALLERY_PREFIX . '
|
100 |
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
101 |
'type' => 'switch',
|
102 |
'showhide' => 1,
|
103 |
'bootstrap_style'=> 1,
|
|
|
|
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
));
|
106 |
|
107 |
$button_group->add_field( array(
|
108 |
-
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
111 |
'type' => 'switch',
|
112 |
'showhide' => 1,
|
@@ -117,6 +130,8 @@ $button_group->add_field( array(
|
|
117 |
|
118 |
|
119 |
|
|
|
|
|
120 |
$button_group->add_field( array(
|
121 |
'name' => __( 'Style', 'rbs_gallery' ),
|
122 |
'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
|
@@ -131,13 +146,8 @@ $button_group->add_field( array(
|
|
131 |
'border' => __( 'Border' , 'cmb' ),
|
132 |
),
|
133 |
'before_row'=> '
|
134 |
-
|
135 |
-
|
136 |
-
<li role="presentation" class="active"><a href="#menu_render" aria-controls="menu_render" role="tab" data-toggle="tab">'.__('Menu Style', 'rbs_gallery' ).'</a></li>
|
137 |
-
<li role="presentation"><a href="#menu_search" aria-controls="menu_search" role="tab" data-toggle="tab">'.__('Search', 'rbs_gallery' ).'</a></li>
|
138 |
-
</ul>
|
139 |
-
<div class="tab-content">
|
140 |
-
<div role="tabpanel" class="tab-pane active" id="menu_render"><br/>',
|
141 |
|
142 |
));
|
143 |
|
@@ -233,7 +243,14 @@ $button_group->add_field( array(
|
|
233 |
'type' => 'switch',
|
234 |
'showhide' => 1,
|
235 |
'bootstrap_style'=> 1,
|
236 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
</div>
|
238 |
</div>
|
239 |
</div>
|
38 |
<div class="rbs_menu_options">',
|
39 |
));
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
$button_group->add_field( array(
|
42 |
'name' => __('Menu mode', 'rbs_gallery' ),
|
43 |
'id' => ROBO_GALLERY_PREFIX . 'menuTag',
|
74 |
));
|
75 |
|
76 |
$button_group->add_field( array(
|
77 |
+
'name' => __('Self Images', 'rbs_gallery' ),
|
78 |
+
'id' => ROBO_GALLERY_PREFIX . 'menuSelfImages',
|
79 |
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
80 |
'type' => 'switch',
|
81 |
'showhide' => 1,
|
82 |
'bootstrap_style'=> 1,
|
83 |
+
));
|
84 |
+
|
85 |
|
86 |
+
|
87 |
+
|
88 |
+
$button_group->add_field( array(
|
89 |
+
'name' => __('Root Label', 'rbs_gallery' ),
|
90 |
+
'id' => ROBO_GALLERY_PREFIX . 'menuRoot',
|
91 |
+
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
92 |
+
'type' => 'switch',
|
93 |
+
'bootstrap_style'=> 1,
|
94 |
+
'depends' => '.rbs_menu_root_text',
|
95 |
+
'showhide' => 1,
|
96 |
+
'before_row' =>'
|
97 |
+
<div role="tabpanel">
|
98 |
+
<ul class="nav nav-tabs" role="tablist">
|
99 |
+
<li role="presentation" class="active"><a href="#menu_label" aria-controls="menu_label" role="tab" data-toggle="tab">'.__('Menu Labels', 'rbs_gallery' ).'</a></li>
|
100 |
+
<li role="presentation"><a href="#menu_render" aria-controls="menu_render" role="tab" data-toggle="tab">'.__('Menu Style', 'rbs_gallery' ).'</a></li>
|
101 |
+
<li role="presentation"><a href="#menu_search" aria-controls="menu_search" role="tab" data-toggle="tab">'.__('Search', 'rbs_gallery' ).'</a></li>
|
102 |
+
</ul>
|
103 |
+
<div class="tab-content">
|
104 |
+
<div role="tabpanel" class="tab-pane active" id="menu_label"><br/>',
|
105 |
+
'after_row' =>'
|
106 |
+
<div class="rbs_menu_root_text">',
|
107 |
));
|
108 |
|
109 |
$button_group->add_field( array(
|
110 |
+
'name' => __('Root Label Text','rbs_gallery'),
|
111 |
+
'default' => __('All', 'rbs_gallery' ),
|
112 |
+
'id' => ROBO_GALLERY_PREFIX .'menuRootLabel',
|
113 |
+
'type' => 'rbstext',
|
114 |
+
'after_row' => '
|
115 |
+
</div>',
|
116 |
+
));
|
117 |
+
|
118 |
+
|
119 |
+
|
120 |
+
$button_group->add_field( array(
|
121 |
+
'name' => __('Self Label', 'rbs_gallery' ),
|
122 |
+
'id' => ROBO_GALLERY_PREFIX . 'menuSelf',
|
123 |
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
124 |
'type' => 'switch',
|
125 |
'showhide' => 1,
|
130 |
|
131 |
|
132 |
|
133 |
+
|
134 |
+
|
135 |
$button_group->add_field( array(
|
136 |
'name' => __( 'Style', 'rbs_gallery' ),
|
137 |
'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
|
146 |
'border' => __( 'Border' , 'cmb' ),
|
147 |
),
|
148 |
'before_row'=> '
|
149 |
+
</div>
|
150 |
+
<div role="tabpanel" class="tab-pane" id="menu_render"><br/>',
|
|
|
|
|
|
|
|
|
|
|
151 |
|
152 |
));
|
153 |
|
243 |
'type' => 'switch',
|
244 |
'showhide' => 1,
|
245 |
'bootstrap_style'=> 1,
|
246 |
+
|
247 |
+
));
|
248 |
+
$button_group->add_field( array(
|
249 |
+
'name' => __('Search Text','rbs_gallery'),
|
250 |
+
'default' => __('search', 'rbs_gallery' ),
|
251 |
+
'id' => ROBO_GALLERY_PREFIX .'searchLabel',
|
252 |
+
'type' => 'rbstext',
|
253 |
+
'after_row' => '
|
254 |
</div>
|
255 |
</div>
|
256 |
</div>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://robosoft.co/robogallery
|
|
4 |
Tags: gallery, photo gallery, images gallery, gallery images, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 2.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -254,6 +254,10 @@ If any problem occurs, please contact us.
|
|
254 |
|
255 |
== Changelog ==
|
256 |
|
|
|
|
|
|
|
|
|
257 |
= 2.6.4 =
|
258 |
* Changed galleries management algorithm
|
259 |
* Added additional galleries checks
|
@@ -348,6 +352,10 @@ If any problem occurs, please contact us.
|
|
348 |
|
349 |
== Upgrade Notice ==
|
350 |
|
|
|
|
|
|
|
|
|
351 |
= 2.6.4 =
|
352 |
Changed galleries management algorithm
|
353 |
Added additional galleries checks
|
4 |
Tags: gallery, photo gallery, images gallery, gallery images, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 2.6.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
254 |
|
255 |
== Changelog ==
|
256 |
|
257 |
+
= 2.6.5 =
|
258 |
+
* Added new search field label customization option
|
259 |
+
* Optimization of the admin interface options
|
260 |
+
|
261 |
= 2.6.4 =
|
262 |
* Changed galleries management algorithm
|
263 |
* Added additional galleries checks
|
352 |
|
353 |
== Upgrade Notice ==
|
354 |
|
355 |
+
= 2.6.5 =
|
356 |
+
Added new search field label customization option
|
357 |
+
Optimization of the admin interface options
|
358 |
+
|
359 |
= 2.6.4 =
|
360 |
Changed galleries management algorithm
|
361 |
Added additional galleries checks
|
robogallery.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Robo Gallery
|
4 |
Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
|
5 |
-
Version: 2.6.
|
6 |
Author: RoboSoft
|
7 |
Plugin URI: http://robosoft.co/gallery
|
8 |
Author URI: http://robosoft.co/gallery
|
@@ -15,13 +15,13 @@ if(!defined('WPINC'))die;
|
|
15 |
if(!defined("ABSPATH"))exit;
|
16 |
|
17 |
define("ROBO_GALLERY", 1);
|
18 |
-
define("ROBO_GALLERY_VERSION", '2.6.
|
19 |
|
20 |
if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
21 |
|
22 |
define("ROBO_GALLERY_SPECIAL", 1);
|
23 |
-
define("ROBO_GALLERY_EVENT_DATE", '2017-
|
24 |
-
define("ROBO_GALLERY_EVENT_HOUR",
|
25 |
|
26 |
add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
|
27 |
function rbs_gallery_load_textdomain() {
|
2 |
/*
|
3 |
Plugin Name: Robo Gallery
|
4 |
Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
|
5 |
+
Version: 2.6.5
|
6 |
Author: RoboSoft
|
7 |
Plugin URI: http://robosoft.co/gallery
|
8 |
Author URI: http://robosoft.co/gallery
|
15 |
if(!defined("ABSPATH"))exit;
|
16 |
|
17 |
define("ROBO_GALLERY", 1);
|
18 |
+
define("ROBO_GALLERY_VERSION", '2.6.5');
|
19 |
|
20 |
if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
21 |
|
22 |
define("ROBO_GALLERY_SPECIAL", 1);
|
23 |
+
define("ROBO_GALLERY_EVENT_DATE", '2017-03-17');
|
24 |
+
define("ROBO_GALLERY_EVENT_HOUR", 12);
|
25 |
|
26 |
add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
|
27 |
function rbs_gallery_load_textdomain() {
|