Version Description
- Added new tags ordering option
- Added ordering modes No ordering, Alphabetical asc, Alphabetical desc
Download this release
Release Info
Developer | robosoft |
Plugin | Gallery – Photo Gallery and Images Gallery |
Version | 2.5.5 |
Comparing to | |
See all releases |
Code changes from version 2.5.4 to 2.5.5
cmb2/fields/rbsradiobutton/rbs-radiobutton.php
CHANGED
@@ -37,6 +37,11 @@ function rbsradiobutton_field_callback( $field, $value, $object_id, $object_type
|
|
37 |
$level = $field->args('level')?1:0;
|
38 |
|
39 |
$value = $value?$value:$field->args('default');
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
?>
|
42 |
<div class="form-horizontal">
|
@@ -44,7 +49,7 @@ function rbsradiobutton_field_callback( $field, $value, $object_id, $object_type
|
|
44 |
<div class="<?php echo $field_type_object->_id( 'optionsBlok' );?>">
|
45 |
<div class="form-group">
|
46 |
<label class="col-sm-2 control-label" for="<?php echo $field_type_object->_id( ); ?>'"><?php echo esc_html($field->args('name') ); ?></label>
|
47 |
-
<div class="col-sm-<?php echo $level?'
|
48 |
|
49 |
<div class="btn-group " data-toggle="buttons">
|
50 |
<?php
|
@@ -58,6 +63,9 @@ function rbsradiobutton_field_callback( $field, $value, $object_id, $object_type
|
|
58 |
<?php echo ROBO_GALLERY_LABEL_PRO; ?>
|
59 |
</div>
|
60 |
<?php } ?>
|
|
|
|
|
|
|
61 |
|
62 |
</div>
|
63 |
|
37 |
$level = $field->args('level')?1:0;
|
38 |
|
39 |
$value = $value?$value:$field->args('default');
|
40 |
+
|
41 |
+
$update = $field->args('update');
|
42 |
+
if( !$level && ROBO_GALLERY_PRO && $update && version_compare( ROBO_GALLERY_KEY_VERSION , $update, '<') ){
|
43 |
+
$update = '1';
|
44 |
+
} else $update = 0;
|
45 |
|
46 |
?>
|
47 |
<div class="form-horizontal">
|
49 |
<div class="<?php echo $field_type_object->_id( 'optionsBlok' );?>">
|
50 |
<div class="form-group">
|
51 |
<label class="col-sm-2 control-label" for="<?php echo $field_type_object->_id( ); ?>'"><?php echo esc_html($field->args('name') ); ?></label>
|
52 |
+
<div class="col-sm-<?php echo ($level||$update) ?'7 rbs_disabled':'10'; ?>">
|
53 |
|
54 |
<div class="btn-group " data-toggle="buttons">
|
55 |
<?php
|
63 |
<?php echo ROBO_GALLERY_LABEL_PRO; ?>
|
64 |
</div>
|
65 |
<?php } ?>
|
66 |
+
<?php if($update){ ?>
|
67 |
+
<div class="col-sm-3 rbs-block-update-pro"><?php echo ROBO_GALLERY_LABEL_UPDATE_PRO; ?></div>
|
68 |
+
<?php } ?>
|
69 |
|
70 |
</div>
|
71 |
|
css/admin/edit.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/*
|
2 |
z-index: 1000;
|
3 |
opacity: 0.4;
|
4 |
pointer-events: none;
|
5 |
z-index: 1000;
|
6 |
opacity: 0.1;
|
7 |
pointer-events: none;
|
8 |
padding-top: 7px;
|
9 |
text-align: right;
|
10 |
cursor: pointer;
|
|
|
11 |
z-index: 1000;
|
12 |
opacity: 0.4;
|
13 |
pointer-events: none;
|
14 |
z-index: 1000;
|
15 |
opacity: 0.1;
|
16 |
pointer-events: none;
|
17 |
padding-top: 7px;
|
18 |
text-align: right;
|
19 |
cursor: pointer;
|
|
|
1 |
z-index: 1000;
|
2 |
opacity: 0.4;
|
3 |
pointer-events: none;
|
4 |
z-index: 1000;
|
5 |
opacity: 0.1;
|
6 |
pointer-events: none;
|
7 |
padding-top: 7px;
|
8 |
text-align: right;
|
9 |
cursor: pointer;
|
10 |
+
/*
|
11 |
z-index: 1000;
|
12 |
opacity: 0.4;
|
13 |
pointer-events: none;
|
14 |
z-index: 1000;
|
15 |
opacity: 0.1;
|
16 |
pointer-events: none;
|
17 |
padding-top: 7px;
|
18 |
text-align: right;
|
19 |
cursor: pointer;
|
includes/options/rbs_gallery_options_button.php
CHANGED
@@ -66,11 +66,32 @@ $button_group->add_field( array(
|
|
66 |
'type' => 'switch',
|
67 |
'level' => !ROBO_GALLERY_PRO,
|
68 |
'update' => '1.4',
|
|
|
|
|
|
|
69 |
'onText' => __('Tags', 'rbs_gallery' ),
|
70 |
'offText' => __('Categories', 'rbs_gallery' ),
|
71 |
'onStyle' => __('primary', 'rbs_gallery' ),
|
72 |
'offStyle' => __('info', 'rbs_gallery' ),
|
73 |
'bootstrap_style'=> 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
));
|
75 |
|
76 |
|
66 |
'type' => 'switch',
|
67 |
'level' => !ROBO_GALLERY_PRO,
|
68 |
'update' => '1.4',
|
69 |
+
|
70 |
+
'depends' => '.menuTagOptions',
|
71 |
+
|
72 |
'onText' => __('Tags', 'rbs_gallery' ),
|
73 |
'offText' => __('Categories', 'rbs_gallery' ),
|
74 |
'onStyle' => __('primary', 'rbs_gallery' ),
|
75 |
'offStyle' => __('info', 'rbs_gallery' ),
|
76 |
'bootstrap_style'=> 1,
|
77 |
+
'after_row' => '
|
78 |
+
<div class="menuTagOptions">'
|
79 |
+
));
|
80 |
+
|
81 |
+
$button_group->add_field( array(
|
82 |
+
'name' => __('Tags Ordering', 'rbs_gallery' ),
|
83 |
+
'id' => ROBO_GALLERY_PREFIX . 'menuTagSort',
|
84 |
+
'type' => 'rbsradiobutton',
|
85 |
+
'show_option_none' => false,
|
86 |
+
'update' => '1.5',
|
87 |
+
'default' => '',
|
88 |
+
'options' => array(
|
89 |
+
'' => __( 'No ordering' , 'rbs_gallery' ),
|
90 |
+
'asc' => __( 'Alphabetical asc' , 'rbs_gallery' ),
|
91 |
+
'desc' => __( 'Alphabetical desc' ,'rbs_gallery' ),
|
92 |
+
),
|
93 |
+
'after_row' => '
|
94 |
+
</div>',
|
95 |
));
|
96 |
|
97 |
|
includes/rbs_gallery_topblock.php
CHANGED
@@ -26,7 +26,7 @@ if(!function_exists('rbs_gallery_topblock')){
|
|
26 |
|
27 |
if( defined('ROBO_GALLERY_SPECIAL') && ROBO_GALLERY_SPECIAL ){
|
28 |
|
29 |
-
if( ( time() - strtotime('2016-11-
|
30 |
if( ROBO_GALLERY_SPECIAL==1 ){
|
31 |
echo '<div class="rbsTopBlockFree rbs_getproversionfree_blank">
|
32 |
<div class="rbsTopSmall"><span class="dashicons dashicons-carrot"></span> '.__( 'Do You wish to get PRO version for FREE ?' , 'rbs_gallery' ).' </div>
|
26 |
|
27 |
if( defined('ROBO_GALLERY_SPECIAL') && ROBO_GALLERY_SPECIAL ){
|
28 |
|
29 |
+
if( ( time() - strtotime('2016-11-09') ) < 48*60*60 ){
|
30 |
if( ROBO_GALLERY_SPECIAL==1 ){
|
31 |
echo '<div class="rbsTopBlockFree rbs_getproversionfree_blank">
|
32 |
<div class="rbsTopSmall"><span class="dashicons dashicons-carrot"></span> '.__( 'Do You wish to get PRO version for FREE ?' , 'rbs_gallery' ).' </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.6
|
7 |
-
Stable tag: 2.5.
|
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.5.4 =
|
258 |
* Fix for Facebook sharing images function
|
259 |
|
@@ -948,6 +952,10 @@ If any problem occurs, please contact us.
|
|
948 |
|
949 |
== Upgrade Notice ==
|
950 |
|
|
|
|
|
|
|
|
|
951 |
= 2.5.4 =
|
952 |
Fix for Facebook sharing images function
|
953 |
|
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.6
|
7 |
+
Stable tag: 2.5.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.5.5 =
|
258 |
+
* Added new tags ordering option
|
259 |
+
* Added ordering modes No ordering, Alphabetical asc, Alphabetical desc
|
260 |
+
|
261 |
= 2.5.4 =
|
262 |
* Fix for Facebook sharing images function
|
263 |
|
952 |
|
953 |
== Upgrade Notice ==
|
954 |
|
955 |
+
= 2.5.5 =
|
956 |
+
Added new tags ordering option
|
957 |
+
Added ordering modes No ordering, Alphabetical asc, Alphabetical desc
|
958 |
+
|
959 |
= 2.5.4 =
|
960 |
Fix for Facebook sharing images function
|
961 |
|
robogallery.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Robo Gallery
|
|
4 |
Plugin URI: http://robosoft.co/gallery
|
5 |
Description: Gallery it's easy and elegant way to publish images on page. Responsive, stylish and simple gallery.
|
6 |
Author: RoboSoft
|
7 |
-
Version: 2.5.
|
8 |
Author URI: http://robosoft.co/gallery
|
9 |
License: GPLv3 or later
|
10 |
*/
|
@@ -13,11 +13,11 @@ if(!defined('WPINC'))die;
|
|
13 |
if(!defined("ABSPATH"))exit;
|
14 |
|
15 |
define("ROBO_GALLERY", 1);
|
16 |
-
define("ROBO_GALLERY_VERSION", '2.5.
|
17 |
|
18 |
if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
19 |
|
20 |
-
define("ROBO_GALLERY_SPECIAL",
|
21 |
|
22 |
add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
|
23 |
function rbs_gallery_load_textdomain() {
|
4 |
Plugin URI: http://robosoft.co/gallery
|
5 |
Description: Gallery it's easy and elegant way to publish images on page. Responsive, stylish and simple gallery.
|
6 |
Author: RoboSoft
|
7 |
+
Version: 2.5.5
|
8 |
Author URI: http://robosoft.co/gallery
|
9 |
License: GPLv3 or later
|
10 |
*/
|
13 |
if(!defined("ABSPATH"))exit;
|
14 |
|
15 |
define("ROBO_GALLERY", 1);
|
16 |
+
define("ROBO_GALLERY_VERSION", '2.5.5');
|
17 |
|
18 |
if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
|
19 |
|
20 |
+
define("ROBO_GALLERY_SPECIAL", 0);
|
21 |
|
22 |
add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
|
23 |
function rbs_gallery_load_textdomain() {
|