Gallery – Photo Gallery and Images Gallery - Version 2.6.15

Version Description

  • Modification of the admin interface
  • Changed notification mode in settings section
Download this release

Release Info

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

Code changes from version 2.6.14 to 2.6.15

includes/options/rbs_gallery_options_button.php CHANGED
@@ -16,14 +16,14 @@ if ( ! defined( 'ABSPATH' ) ) exit;
16
 
17
  $button_group = new_cmb2_box( array(
18
  'id' => ROBO_GALLERY_PREFIX . 'button_metabox',
19
- 'title' => '<span class="dashicons dashicons-format-gallery"></span> '.__( 'Menu Options', 'rbs_gallery' ),
20
  'object_types' => array( ROBO_GALLERY_TYPE_POST ),
21
  'show_names' => false,
22
  'context' => 'normal',
23
  ));
24
 
25
  $button_group->add_field( array(
26
- 'name' => __('Menu', 'rbs_gallery' ),
27
  'id' => ROBO_GALLERY_PREFIX . 'menu',
28
  'type' => 'switch',
29
  'level' => !ROBO_GALLERY_PRO,
@@ -39,7 +39,7 @@ $button_group->add_field( array(
39
  ));
40
 
41
  $button_group->add_field( array(
42
- 'name' => __('Menu mode', 'rbs_gallery' ),
43
  'id' => ROBO_GALLERY_PREFIX . 'menuTag',
44
  'default' => rbs_gallery_set_checkbox_default_for_new_post(0),
45
  'type' => 'switch',
@@ -48,33 +48,33 @@ $button_group->add_field( array(
48
 
49
  'depends' => '.menuTagOptions',
50
 
51
- 'onText' => __('Tags', 'rbs_gallery' ),
52
- 'offText' => __('Categories', 'rbs_gallery' ),
53
- 'onStyle' => __('primary', 'rbs_gallery' ),
54
- 'offStyle' => __('info', 'rbs_gallery' ),
55
  'bootstrap_style'=> 1,
56
  'after_row' => '
57
  <div class="menuTagOptions">'
58
  ));
59
 
60
  $button_group->add_field( array(
61
- 'name' => __('Tags Ordering', 'rbs_gallery' ),
62
  'id' => ROBO_GALLERY_PREFIX . 'menuTagSort',
63
  'type' => 'rbsradiobutton',
64
  'show_option_none' => false,
65
  'update' => '1.5',
66
  'default' => '',
67
  'options' => array(
68
- '' => __( 'No ordering' , 'rbs_gallery' ),
69
- 'asc' => __( 'Alphabetical asc' , 'rbs_gallery' ),
70
- 'desc' => __( 'Alphabetical desc' ,'rbs_gallery' ),
71
  ),
72
  'after_row' => '
73
  </div>',
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',
@@ -86,7 +86,7 @@ $button_group->add_field( array(
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',
@@ -96,9 +96,9 @@ $button_group->add_field( array(
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/>',
@@ -107,8 +107,8 @@ $button_group->add_field( array(
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' => '
@@ -118,7 +118,7 @@ $button_group->add_field( array(
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',
@@ -133,7 +133,7 @@ $button_group->add_field( array(
133
 
134
 
135
  $button_group->add_field( array(
136
- 'name' => __( 'Style', 'rbs_gallery' ),
137
  'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
138
  'type' => 'rbsselect',
139
  'show_option_none' => false,
@@ -152,7 +152,7 @@ $button_group->add_field( array(
152
  ));
153
 
154
  $button_group->add_field( array(
155
- 'name' => __( 'Color', 'rbs_gallery' ),
156
  'id' => ROBO_GALLERY_PREFIX . 'buttonColor',
157
  'type' => 'rbsselect',
158
  'show_option_none' => false,
@@ -169,7 +169,7 @@ $button_group->add_field( array(
169
  ));
170
 
171
  $button_group->add_field( array(
172
- 'name' => __( 'Rounds', 'rbs_gallery' ),
173
  'id' => ROBO_GALLERY_PREFIX . 'buttonType',
174
  'type' => 'rbsselect',
175
  'show_option_none' => false,
@@ -183,7 +183,7 @@ $button_group->add_field( array(
183
  ));
184
 
185
  $button_group->add_field( array(
186
- 'name' => __( 'Size', 'rbs_gallery' ),
187
  'id' => ROBO_GALLERY_PREFIX . 'buttonSize',
188
  'type' => 'rbsselect',
189
  'show_option_none' => false,
@@ -198,7 +198,7 @@ $button_group->add_field( array(
198
  ));
199
 
200
  $button_group->add_field( array(
201
- 'name' => __( 'Align', 'rbs_gallery' ),
202
  'id' => ROBO_GALLERY_PREFIX . 'buttonAlign',
203
  'type' => 'rbsselect',
204
  'show_option_none' => false,
@@ -211,7 +211,7 @@ $button_group->add_field( array(
211
  ));
212
 
213
  $button_group->add_field( array(
214
- 'name' => __( 'Left Padding', 'rbs_gallery' ),
215
  'id' => ROBO_GALLERY_PREFIX . 'paddingLeft',
216
  'type' => 'slider',
217
  'bootstrap_style'=> 1,
@@ -222,7 +222,7 @@ $button_group->add_field( array(
222
  ));
223
 
224
  $button_group->add_field( array(
225
- 'name' => __( 'Bottom Padding', 'rbs_gallery' ),
226
  'id' => ROBO_GALLERY_PREFIX . 'paddingBottom',
227
  'type' => 'slider',
228
  'bootstrap_style'=> 1,
@@ -237,7 +237,7 @@ $button_group->add_field( array(
237
 
238
 
239
  $button_group->add_field( array(
240
- 'name' => __('Search', 'rbs_gallery' ),
241
  'id' => ROBO_GALLERY_PREFIX . 'searchEnable',
242
  'default' => rbs_gallery_set_checkbox_default_for_new_post(0),
243
  'type' => 'switch',
@@ -246,8 +246,8 @@ $button_group->add_field( array(
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' => '
16
 
17
  $button_group = new_cmb2_box( array(
18
  'id' => ROBO_GALLERY_PREFIX . 'button_metabox',
19
+ 'title' => '<span class="dashicons dashicons-format-gallery"></span> '.__( 'Menu Options', 'robo-gallery' ),
20
  'object_types' => array( ROBO_GALLERY_TYPE_POST ),
21
  'show_names' => false,
22
  'context' => 'normal',
23
  ));
24
 
25
  $button_group->add_field( array(
26
+ 'name' => __('Menu', 'robo-gallery' ),
27
  'id' => ROBO_GALLERY_PREFIX . 'menu',
28
  'type' => 'switch',
29
  'level' => !ROBO_GALLERY_PRO,
39
  ));
40
 
41
  $button_group->add_field( array(
42
+ 'name' => __('Menu mode', 'robo-gallery' ),
43
  'id' => ROBO_GALLERY_PREFIX . 'menuTag',
44
  'default' => rbs_gallery_set_checkbox_default_for_new_post(0),
45
  'type' => 'switch',
48
 
49
  'depends' => '.menuTagOptions',
50
 
51
+ 'onText' => __('Tags', 'robo-gallery' ),
52
+ 'offText' => __('Categories', 'robo-gallery' ),
53
+ 'onStyle' => __('primary', 'robo-gallery' ),
54
+ 'offStyle' => __('info', 'robo-gallery' ),
55
  'bootstrap_style'=> 1,
56
  'after_row' => '
57
  <div class="menuTagOptions">'
58
  ));
59
 
60
  $button_group->add_field( array(
61
+ 'name' => __('Tags Ordering', 'robo-gallery' ),
62
  'id' => ROBO_GALLERY_PREFIX . 'menuTagSort',
63
  'type' => 'rbsradiobutton',
64
  'show_option_none' => false,
65
  'update' => '1.5',
66
  'default' => '',
67
  'options' => array(
68
+ '' => __( 'No ordering' , 'robo-gallery' ),
69
+ 'asc' => __( 'Alphabetical asc' , 'robo-gallery' ),
70
+ 'desc' => __( 'Alphabetical desc' ,'robo-gallery' ),
71
  ),
72
  'after_row' => '
73
  </div>',
74
  ));
75
 
76
  $button_group->add_field( array(
77
+ 'name' => __('Self Images', 'robo-gallery' ),
78
  'id' => ROBO_GALLERY_PREFIX . 'menuSelfImages',
79
  'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
80
  'type' => 'switch',
86
 
87
 
88
  $button_group->add_field( array(
89
+ 'name' => __('Root Label', 'robo-gallery' ),
90
  'id' => ROBO_GALLERY_PREFIX . 'menuRoot',
91
  'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
92
  'type' => 'switch',
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', 'robo-gallery' ).'</a></li>
100
+ <li role="presentation"><a href="#menu_render" aria-controls="menu_render" role="tab" data-toggle="tab">'.__('Menu Style', 'robo-gallery' ).'</a></li>
101
+ <li role="presentation"><a href="#menu_search" aria-controls="menu_search" role="tab" data-toggle="tab">'.__('Search', 'robo-gallery' ).'</a></li>
102
  </ul>
103
  <div class="tab-content">
104
  <div role="tabpanel" class="tab-pane active" id="menu_label"><br/>',
107
  ));
108
 
109
  $button_group->add_field( array(
110
+ 'name' => __('Root Label Text','robo-gallery'),
111
+ 'default' => __('All', 'robo-gallery' ),
112
  'id' => ROBO_GALLERY_PREFIX .'menuRootLabel',
113
  'type' => 'rbstext',
114
  'after_row' => '
118
 
119
 
120
  $button_group->add_field( array(
121
+ 'name' => __('Self Label', 'robo-gallery' ),
122
  'id' => ROBO_GALLERY_PREFIX . 'menuSelf',
123
  'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
124
  'type' => 'switch',
133
 
134
 
135
  $button_group->add_field( array(
136
+ 'name' => __( 'Style', 'robo-gallery' ),
137
  'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
138
  'type' => 'rbsselect',
139
  'show_option_none' => false,
152
  ));
153
 
154
  $button_group->add_field( array(
155
+ 'name' => __( 'Color', 'robo-gallery' ),
156
  'id' => ROBO_GALLERY_PREFIX . 'buttonColor',
157
  'type' => 'rbsselect',
158
  'show_option_none' => false,
169
  ));
170
 
171
  $button_group->add_field( array(
172
+ 'name' => __( 'Rounds', 'robo-gallery' ),
173
  'id' => ROBO_GALLERY_PREFIX . 'buttonType',
174
  'type' => 'rbsselect',
175
  'show_option_none' => false,
183
  ));
184
 
185
  $button_group->add_field( array(
186
+ 'name' => __( 'Size', 'robo-gallery' ),
187
  'id' => ROBO_GALLERY_PREFIX . 'buttonSize',
188
  'type' => 'rbsselect',
189
  'show_option_none' => false,
198
  ));
199
 
200
  $button_group->add_field( array(
201
+ 'name' => __( 'Align', 'robo-gallery' ),
202
  'id' => ROBO_GALLERY_PREFIX . 'buttonAlign',
203
  'type' => 'rbsselect',
204
  'show_option_none' => false,
211
  ));
212
 
213
  $button_group->add_field( array(
214
+ 'name' => __( 'Left Padding', 'robo-gallery' ),
215
  'id' => ROBO_GALLERY_PREFIX . 'paddingLeft',
216
  'type' => 'slider',
217
  'bootstrap_style'=> 1,
222
  ));
223
 
224
  $button_group->add_field( array(
225
+ 'name' => __( 'Bottom Padding', 'robo-gallery' ),
226
  'id' => ROBO_GALLERY_PREFIX . 'paddingBottom',
227
  'type' => 'slider',
228
  'bootstrap_style'=> 1,
237
 
238
 
239
  $button_group->add_field( array(
240
+ 'name' => __('Search', 'robo-gallery' ),
241
  'id' => ROBO_GALLERY_PREFIX . 'searchEnable',
242
  'default' => rbs_gallery_set_checkbox_default_for_new_post(0),
243
  'type' => 'switch',
246
 
247
  ));
248
  $button_group->add_field( array(
249
+ 'name' => __('Search Text','robo-gallery'),
250
+ 'default' => __('search', 'robo-gallery' ),
251
  'id' => ROBO_GALLERY_PREFIX .'searchLabel',
252
  'type' => 'rbstext',
253
  'after_row' => '
includes/rbs_gallery_init.php CHANGED
@@ -116,6 +116,19 @@ if(!function_exists('rbs_gallery_main_init')){
116
  rbs_gallery_include('rbs_gallery_topblock.php', ROBO_GALLERY_INCLUDES_PATH);
117
  }
118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  if( rbs_gallery_get_current_post_type() == ROBO_GALLERY_TYPE_POST && ( rbs_gallery_is_edit_page('new') || rbs_gallery_is_edit_page('edit') ) ){
120
 
121
  // Adding the Metabox class
116
  rbs_gallery_include('rbs_gallery_topblock.php', ROBO_GALLERY_INCLUDES_PATH);
117
  }
118
 
119
+ if( rbs_gallery_get_current_post_type() == ROBO_GALLERY_TYPE_POST && rbs_gallery_is_edit_page('new') && !ROBO_GALLERY_PRO ){
120
+ if(!function_exists('rbs_gallery_redirect')){
121
+ function rbs_gallery_redirect (){
122
+ $n=1;
123
+ $my_wp_query = new WP_Query();
124
+ ++$n;
125
+ $all_wp_pages = $my_wp_query->query(array('post_type' => ROBO_GALLERY_TYPE_POST,'post_status' => array('any','trash')));
126
+ if( count($all_wp_pages) >= ++$n ) wp_redirect( "edit.php?post_type=robo_gallery_table&showproinfo=1" );
127
+ }
128
+ add_action( 'load-post-new.php', 'rbs_gallery_redirect' );
129
+ }
130
+ }
131
+
132
  if( rbs_gallery_get_current_post_type() == ROBO_GALLERY_TYPE_POST && ( rbs_gallery_is_edit_page('new') || rbs_gallery_is_edit_page('edit') ) ){
133
 
134
  // Adding the Metabox class
includes/rbs_gallery_settings.php CHANGED
@@ -16,6 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
16
  wp_enqueue_style ( 'robosoft-gallery-about', ROBO_GALLERY_URL.'css/admin/about.css', array( ), ROBO_GALLERY_VERSION );
17
  ?>
18
  <div class="wrap">
 
19
  <h2><?php _e('Compatibility Settings', 'robo-gallery'); ?></h2>
20
 
21
  <form method="post" action="options.php" novalidate="novalidate">
16
  wp_enqueue_style ( 'robosoft-gallery-about', ROBO_GALLERY_URL.'css/admin/about.css', array( ), ROBO_GALLERY_VERSION );
17
  ?>
18
  <div class="wrap">
19
+ <h1><?php _e('Robo Gallery', 'robo-gallery'); ?></h1>
20
  <h2><?php _e('Compatibility Settings', 'robo-gallery'); ?></h2>
21
 
22
  <form method="post" action="options.php" novalidate="novalidate">
includes/rbs_gallery_topblock.php CHANGED
@@ -20,8 +20,8 @@ if(!function_exists('rbs_gallery_topblock')){
20
  wp_enqueue_style ( 'toolbox-gallery-topblock', ROBO_GALLERY_URL.'css/admin/topblock.css', array( ), ROBO_GALLERY_VERSION );
21
  $editNew = rbs_gallery_is_edit_page('new') || rbs_gallery_is_edit_page('edit');
22
  echo '<div class="rbsTopBlock rbs_getproversion_blank">
23
- <div class="rbsTopBig"><span class="dashicons dashicons-cart"></span>'. __( 'Get Pro version' , 'rbs_gallery' ).'</div>
24
- <div class="rbsTopSmall">'.__( 'with PRO version you get more advanced functionality and even more flexibility in settings' , 'rbs_gallery' ).' </div>
25
  </div>';
26
 
27
  if(
@@ -38,12 +38,12 @@ if(!function_exists('rbs_gallery_topblock')){
38
  ){
39
  if( ROBO_GALLERY_SPECIAL==1 ){
40
  echo '<div class="rbsTopBlockFree rbs_getproversionfree_blank">
41
- <div class="rbsTopSmall"><span class="dashicons dashicons-carrot"></span> '.__( 'Do You wish to get PRO version for FREE ?' , 'rbs_gallery' ).' </div>
42
  </div>';
43
  }
44
  if(ROBO_GALLERY_SPECIAL==2){
45
  echo '<div class="rbsTopBlockFree rbs_getproversiontrans_blank">
46
- <div class="rbsTopSmall"><span class="dashicons dashicons-carrot"></span> '.__( 'Do You wish to get PRO version for translate?' , 'rbs_gallery' ).' </div>
47
  </div>';
48
  }
49
  }
20
  wp_enqueue_style ( 'toolbox-gallery-topblock', ROBO_GALLERY_URL.'css/admin/topblock.css', array( ), ROBO_GALLERY_VERSION );
21
  $editNew = rbs_gallery_is_edit_page('new') || rbs_gallery_is_edit_page('edit');
22
  echo '<div class="rbsTopBlock rbs_getproversion_blank">
23
+ <div class="rbsTopBig"><span class="dashicons dashicons-cart"></span>'. __( 'Get Pro version' , 'robo-gallery' ).'</div>
24
+ <div class="rbsTopSmall">'.__( 'with PRO version you get more advanced functionality and even more flexibility in settings' , 'robo-gallery' ).' </div>
25
  </div>';
26
 
27
  if(
38
  ){
39
  if( ROBO_GALLERY_SPECIAL==1 ){
40
  echo '<div class="rbsTopBlockFree rbs_getproversionfree_blank">
41
+ <div class="rbsTopSmall"><span class="dashicons dashicons-carrot"></span> '.__( 'Do You wish to get PRO version for FREE ?' , 'robo-gallery' ).' </div>
42
  </div>';
43
  }
44
  if(ROBO_GALLERY_SPECIAL==2){
45
  echo '<div class="rbsTopBlockFree rbs_getproversiontrans_blank">
46
+ <div class="rbsTopSmall"><span class="dashicons dashicons-carrot"></span> '.__( 'Do You wish to get PRO version for translate?' , 'robo-gallery' ).' </div>
47
  </div>';
48
  }
49
  }
includes/rbs_gallery_widget.php CHANGED
@@ -19,8 +19,8 @@ class rbs_widget extends WP_Widget {
19
  function __construct(){
20
  parent::__construct(
21
  'rbs_widget',
22
- __( 'Robo Gallery Widget' , 'rbs_gallery' ),
23
- array( 'description' => __( "Publish gallery on your website.", 'rbs_gallery' ), )
24
  );
25
  }
26
 
@@ -53,7 +53,7 @@ class rbs_widget extends WP_Widget {
53
  rbs_pro_widget($galleryId);
54
  }
55
 
56
- if(!ROBO_GALLERY_PRO) echo _e( 'This widget available in Pro version','rbs_gallery');
57
 
58
  echo $args['after_widget'];
59
  }
@@ -63,7 +63,7 @@ class rbs_widget extends WP_Widget {
63
  if ( isset( $instance[ 'title' ] ) ) {
64
  $title = $instance[ 'title' ];
65
  } else {
66
- $title = __( 'New gallery', 'rbs_gallery' );
67
  }
68
 
69
  if ( isset( $instance[ 'galleryId' ] ) ) {
@@ -88,7 +88,7 @@ class rbs_widget extends WP_Widget {
88
  ?>
89
  <?php
90
  if(!ROBO_GALLERY_PRO){ ?>
91
- <p><a href="https://robosoft.co/go.php?product=gallery&task=gopro" target="_blank"> <?php _e( 'This widget available in Pro version','rbs_gallery');?> </a></p>
92
  <?php } ?>
93
  <p>
94
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
@@ -101,9 +101,9 @@ class rbs_widget extends WP_Widget {
101
  <?php wp_dropdown_pages( $args ); ?>
102
  </p>
103
 
104
- <p><?php _e( 'Configure it in','rbs_gallery');?>
105
  <a href="edit.php?post_type=robo_gallery_table">
106
- <?php _e( 'Robo Gallery plugin','rbs_gallery');?>
107
  </a>
108
  </p>
109
  <script type="text/javascript">jQuery(function(){ jQuery('#<?php echo $this->get_field_id( 'galleryId' ); ?>').addClass('widefat'); });</script>
19
  function __construct(){
20
  parent::__construct(
21
  'rbs_widget',
22
+ __( 'Robo Gallery Widget' , 'robo-gallery' ),
23
+ array( 'description' => __( "Publish gallery on your website.", 'robo-gallery' ), )
24
  );
25
  }
26
 
53
  rbs_pro_widget($galleryId);
54
  }
55
 
56
+ if(!ROBO_GALLERY_PRO) echo _e( 'This widget available in Pro version','robo-gallery');
57
 
58
  echo $args['after_widget'];
59
  }
63
  if ( isset( $instance[ 'title' ] ) ) {
64
  $title = $instance[ 'title' ];
65
  } else {
66
+ $title = __( 'New gallery', 'robo-gallery' );
67
  }
68
 
69
  if ( isset( $instance[ 'galleryId' ] ) ) {
88
  ?>
89
  <?php
90
  if(!ROBO_GALLERY_PRO){ ?>
91
+ <p><a href="https://robosoft.co/go.php?product=gallery&task=gopro" target="_blank"> <?php _e( 'This widget available in Pro version','robo-gallery');?> </a></p>
92
  <?php } ?>
93
  <p>
94
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
101
  <?php wp_dropdown_pages( $args ); ?>
102
  </p>
103
 
104
+ <p><?php _e( 'Configure it in','robo-gallery');?>
105
  <a href="edit.php?post_type=robo_gallery_table">
106
+ <?php _e( 'Robo Gallery plugin','robo-gallery');?>
107
  </a>
108
  </p>
109
  <script type="text/javascript">jQuery(function(){ jQuery('#<?php echo $this->get_field_id( 'galleryId' ); ?>').addClass('widefat'); });</script>
includes/rbs_gallery_widget_last.php CHANGED
@@ -19,8 +19,8 @@ class rbs_widget_last extends WP_Widget {
19
  function __construct(){
20
  parent::__construct(
21
  'rbs_widget',
22
- __( 'Robo Gallery Widget' , 'rbs_gallery' ),
23
- array( 'description' => __( "Publish gallery on your website.", 'rbs_gallery' ), )
24
  );
25
  }
26
 
@@ -35,7 +35,7 @@ class rbs_widget_last extends WP_Widget {
35
  rbs_pro_widget($galleryId);
36
  }
37
 
38
- if(!ROBO_GALLERY_PRO) echo _e( 'This widget available in Pro version','rbs_gallery');
39
  echo $args['after_widget'];
40
  }
41
 
@@ -44,7 +44,7 @@ class rbs_widget_last extends WP_Widget {
44
  if ( isset( $instance[ 'title' ] ) ) {
45
  $title = $instance[ 'title' ];
46
  } else {
47
- $title = __( 'New gallery', 'rbs_gallery' );
48
  }
49
 
50
  if ( isset( $instance[ 'galleryId' ] ) ) {
@@ -68,7 +68,7 @@ class rbs_widget_last extends WP_Widget {
68
  ?>
69
  <?php
70
  if(!ROBO_GALLERY_PRO){ ?>
71
- <p><a href="https://robosoft.co/go.php?product=gallery&task=gopro" target="_blank"> <?php _e( 'This widget available in Pro version','rbs_gallery');?> </a></p>
72
  <?php } ?>
73
  <p>
74
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
@@ -80,9 +80,9 @@ class rbs_widget_last extends WP_Widget {
80
  <label for="<?php echo $this->get_field_id( 'galleryId' ); ?>"><?php _e( 'Gallery:' ); ?></label>
81
  <?php wp_dropdown_pages( $args ); ?>
82
  </p>
83
- <p><?php _e( 'Configure it in','rbs_gallery');?>
84
  <a href="edit.php?post_type=robo_gallery_table">
85
- <?php _e( 'Robo Gallery plugin','rbs_gallery');?>
86
  </a>
87
  </p>
88
  <script type="text/javascript">jQuery(function(){ jQuery('#<?php echo $this->get_field_id( 'galleryId' ); ?>').addClass('widefat'); });</script>
19
  function __construct(){
20
  parent::__construct(
21
  'rbs_widget',
22
+ __( 'Robo Gallery Widget' , 'robo-gallery' ),
23
+ array( 'description' => __( "Publish gallery on your website.", 'robo-gallery' ), )
24
  );
25
  }
26
 
35
  rbs_pro_widget($galleryId);
36
  }
37
 
38
+ if(!ROBO_GALLERY_PRO) echo _e( 'This widget available in Pro version','robo-gallery');
39
  echo $args['after_widget'];
40
  }
41
 
44
  if ( isset( $instance[ 'title' ] ) ) {
45
  $title = $instance[ 'title' ];
46
  } else {
47
+ $title = __( 'New gallery', 'robo-gallery' );
48
  }
49
 
50
  if ( isset( $instance[ 'galleryId' ] ) ) {
68
  ?>
69
  <?php
70
  if(!ROBO_GALLERY_PRO){ ?>
71
+ <p><a href="https://robosoft.co/go.php?product=gallery&task=gopro" target="_blank"> <?php _e( 'This widget available in Pro version','robo-gallery');?> </a></p>
72
  <?php } ?>
73
  <p>
74
  <label for="<?php echo $this->get_field_id( 'title' ); ?>">
80
  <label for="<?php echo $this->get_field_id( 'galleryId' ); ?>"><?php _e( 'Gallery:' ); ?></label>
81
  <?php wp_dropdown_pages( $args ); ?>
82
  </p>
83
+ <p><?php _e( 'Configure it in','robo-gallery');?>
84
  <a href="edit.php?post_type=robo_gallery_table">
85
+ <?php _e( 'Robo Gallery plugin','robo-gallery');?>
86
  </a>
87
  </p>
88
  <script type="text/javascript">jQuery(function(){ jQuery('#<?php echo $this->get_field_id( 'galleryId' ); ?>').addClass('widefat'); });</script>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: gallerysupport, robosoft
3
  Donate link: https://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.14
8
  License: GPLv2 or later
9
  License URI: https://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.14 =
258
  * Fixed conflict with another plugin
259
  * Fixed media manager conflict
@@ -385,6 +389,10 @@ If any problem occurs, please contact us.
385
 
386
  == Upgrade Notice ==
387
 
 
 
 
 
388
  = 2.6.14 =
389
  Fixed conflict with another plugin
390
  Fixed media manager conflict
3
  Donate link: https://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.8
7
+ Stable tag: 2.6.15
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
254
 
255
  == Changelog ==
256
 
257
+ = 2.6.15 =
258
+ * Modification of the admin interface
259
+ * Changed notification mode in settings section
260
+
261
  = 2.6.14 =
262
  * Fixed conflict with another plugin
263
  * Fixed media manager conflict
389
 
390
  == Upgrade Notice ==
391
 
392
+ = 2.6.15 =
393
+ Modification of the admin interface
394
+ Changed notification mode in settings section
395
+
396
  = 2.6.14 =
397
  Fixed conflict with another plugin
398
  Fixed media manager conflict
robogallery.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
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.14
6
  Author: RoboSoft
7
- Plugin URI: https://robosoft.co/gallery
8
  Author URI: https://robosoft.co/gallery
9
  License: GPLv3 or later
10
  Text Domain: robo-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.14');
19
 
20
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
21
 
22
- define("ROBO_GALLERY_SPECIAL", 0);
23
- define("ROBO_GALLERY_EVENT_DATE", '2016-12-08');
24
- define("ROBO_GALLERY_EVENT_HOUR", 20);
25
 
26
  add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
27
  function rbs_gallery_load_textdomain() {
1
  <?php
2
  /*
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: 2.6.15
7
  Author: RoboSoft
 
8
  Author URI: https://robosoft.co/gallery
9
  License: GPLv3 or later
10
  Text Domain: robo-gallery
15
  if(!defined("ABSPATH"))exit;
16
 
17
  define("ROBO_GALLERY", 1);
18
+ define("ROBO_GALLERY_VERSION", '2.6.15');
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-06-14');
24
+ define("ROBO_GALLERY_EVENT_HOUR", 24);
25
 
26
  add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
27
  function rbs_gallery_load_textdomain() {