Slider by Nivo – Responsive WordPress Image Slider - Version 2.0.2

Version Description

  • Removed redundant code
    • Added future support for carousels.
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Slider by Nivo – Responsive WordPress Image Slider
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
 
2
- ### v2.0.1 - 2017-05-02
3
  **Changes:**
4
- - Solves an issue with styles for other post types
5
  ### v2.0.1 - 2017-05-02
6
 
7
  **Changes:**
1
 
2
+ ### v2.0.2 - 2017-05-06
3
  **Changes:**
4
+ - Removed redundant code.
5
  ### v2.0.1 - 2017-05-02
6
 
7
  **Changes:**
assets/css/admin.css CHANGED
@@ -55,28 +55,31 @@
55
  float: left;
56
  }
57
 
58
- .nivo-upsell-box {
59
  text-align: center;
60
  }
61
- .nivo-upsell-box h3{
 
62
  text-align: left;
63
  }
64
- .nivo-upsell-box ul{
 
 
65
  text-align: left;
66
  list-style-type: disc;
67
- padding-left: 10px;
68
  }
69
- .nivo-upsell-box{
70
- padding-left:20px;
 
71
  }
72
 
73
  /* The switch - the box around the slider */
74
  .nivo-switch {
75
- margin-left: 20px;
76
  display: inline-block;
77
  position: relative;
78
  width: 30px;
79
  height: 18px;
 
80
  }
81
 
82
  /* Hide default HTML checkbox */
@@ -156,10 +159,10 @@ input:checked + .nivo-slider:before {
156
  font-size: 14px;
157
  font-weight: bold;
158
  }
159
- .nivo-plugin-thumbs li{
160
 
 
161
  display: inline-block;
162
  float: left;
163
  margin-left: 3px;
164
  border: 1px #ccc solid;
165
- }
55
  float: left;
56
  }
57
 
58
+ .nivo-upsell-box {
59
  text-align: center;
60
  }
61
+
62
+ .nivo-upsell-box h3 {
63
  text-align: left;
64
  }
65
+
66
+ .nivo-upsell-box ul {
67
+ padding-left: 10px;
68
  text-align: left;
69
  list-style-type: disc;
 
70
  }
71
+
72
+ .nivo-upsell-box {
73
+ padding-left: 20px;
74
  }
75
 
76
  /* The switch - the box around the slider */
77
  .nivo-switch {
 
78
  display: inline-block;
79
  position: relative;
80
  width: 30px;
81
  height: 18px;
82
+ margin-left: 20px;
83
  }
84
 
85
  /* Hide default HTML checkbox */
159
  font-size: 14px;
160
  font-weight: bold;
161
  }
 
162
 
163
+ .nivo-plugin-thumbs li {
164
  display: inline-block;
165
  float: left;
166
  margin-left: 3px;
167
  border: 1px #ccc solid;
168
+ }
assets/css/nivo-slider.css CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * jQuery Nivo Slider v3.2
3
  * http://nivo.dev7studios.com
4
- * Version: 2.0.1
5
  * Copyright 2012, Dev7studios
6
  * Free to use and abuse under the MIT license.
7
  * http://www.opensource.org/licenses/mit-license.php
1
  /*
2
  * jQuery Nivo Slider v3.2
3
  * http://nivo.dev7studios.com
4
+ * Version: 2.0.2
5
  * Copyright 2012, Dev7studios
6
  * Free to use and abuse under the MIT license.
7
  * http://www.opensource.org/licenses/mit-license.php
includes/abstract/class-nivo-core-abstract.php CHANGED
@@ -43,9 +43,9 @@ abstract class Nivo_Core_Abstract extends Nivo_Core_Settings_Abstract {
43
  */
44
  public function __construct() {
45
  $plugin_settings = self::get_plugin_settings();
46
- $labels = $plugin_settings->get_labels();
47
  if ( isset( $plugin_settings ) && ! empty( $labels ) ) {
48
- $this->labels = $plugin_settings->get_labels();
49
  $this->is_lite = $plugin_settings->get_lite();
50
  }
51
  $this->after_core_construct();
@@ -57,7 +57,8 @@ abstract class Nivo_Core_Abstract extends Nivo_Core_Settings_Abstract {
57
  * @since 3.0.0
58
  * @access public
59
  */
60
- public function after_core_construct() {}
 
61
 
62
  /**
63
  * Checks if Media Manager Plus is installed and active
@@ -73,63 +74,83 @@ abstract class Nivo_Core_Abstract extends Nivo_Core_Settings_Abstract {
73
  }
74
 
75
  /**
76
- * Default value helper function
77
  *
78
  * @since 2.2.*
79
  * @access public
80
- * @param array $options The options array.
81
- * @param mixed $value The value of options.
82
- * @param string $default The default.
83
  *
84
- * @return string
85
- */
86
- public function nivo_default_val( $options, $value, $default = '' ) {
87
- if ( ! isset( $options[ $value ] ) ) {
88
- return $default;
89
- } else {
90
- return $options[ $value ];
91
- }
92
- }
93
-
94
- /**
95
- * Checks if a plugin is installed and active
96
  *
97
- * @since 2.2.*
98
- * @access public
99
- * @param array $plugin The plugins array.
100
  * @return boolean
101
  */
102
  public function nivo_plugin_is_active( $plugin ) {
103
  return in_array( $plugin, (array) get_option( 'active_plugins', array() ) );
104
  }
105
 
 
106
  /**
107
- * Checks if a license for the plugin has been set as a constant
108
  *
109
  * @since 2.2.*
110
  * @access public
111
- * @return boolean
 
 
 
 
 
112
  */
113
- public function nivo_license_constant( $post_type ) {
114
- return apply_filters( $post_type . '_check_license_constant', false );
 
 
 
 
115
  }
116
 
117
  /**
118
- * Returns the license key for the plugin
119
  *
120
  * @since 2.2.*
121
  * @access public
122
- * @param string $post_type The post type slug.
123
- * @param array $options The options array.
124
- * @return string
 
 
125
  */
126
- public function nivo_get_license_key( $post_type, $options ) {
127
- if ( $this->nivo_license_constant( $post_type ) ) {
128
- $license = apply_filters( $post_type . '_get_license_constant', '' );
129
- } else {
130
- $license = $this->nivo_default_val( $options, 'license_key', '' );
 
 
131
  }
132
- return trim( $license );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  }
134
 
135
  /**
@@ -137,8 +158,10 @@ abstract class Nivo_Core_Abstract extends Nivo_Core_Settings_Abstract {
137
  *
138
  * @since 2.2.*
139
  * @access public
140
- * @param string $content The content to check.
141
- * @param string $shortcode The shortcode to look for.
 
 
142
  * @return boolean
143
  */
144
  public function nivo_has_shortcode_wrap( $content, $shortcode = '' ) {
@@ -165,8 +188,10 @@ abstract class Nivo_Core_Abstract extends Nivo_Core_Settings_Abstract {
165
  *
166
  * @since 2.2.*
167
  * @access public
168
- * @param string $post_id The post ID.
169
- * @param integer $limit The limit param.
 
 
170
  * @return array
171
  */
172
  public function nivo_get_attached_images( $post_id, $limit ) {
@@ -183,55 +208,14 @@ abstract class Nivo_Core_Abstract extends Nivo_Core_Settings_Abstract {
183
  return get_posts( $args );
184
  }
185
 
186
- /**
187
- * Gets the [gallery] images attached as a gallery or just attached the to the post
188
- *
189
- * @since 2.2.*
190
- * @access public
191
- * @param string $post The post ID.
192
- * @param integer $limit The limit param.
193
- * @return array
194
- */
195
- public function nivo_grab_attachment_ids_from_gallery( $post, $limit ) {
196
- if ( ! $post = get_post( $post ) ) {
197
- return array();
198
- }
199
-
200
- if ( ! $this->nivo_has_shortcode_wrap( $post->post_content, 'gallery' ) ) {
201
- return $this->nivo_get_attached_images( $post->ID, $limit );
202
- }
203
-
204
- $count = 0;
205
- $attachments = array();
206
- if ( preg_match_all( '/' . get_shortcode_regex() . '/s', $post->post_content, $matches, PREG_SET_ORDER ) ) {
207
- foreach ( $matches as $shortcode ) {
208
- if ( 'gallery' === $shortcode[2] ) {
209
- $atts = shortcode_parse_atts( $shortcode[3] );
210
- if ( isset( $atts['ids'] ) ) {
211
- $attachment_ids = explode( ',', $atts['ids'] );
212
- }
213
- foreach ( $attachment_ids as $att_id ) {
214
- $count ++;
215
- if ( $limit != - 1 && $count > $limit ) {
216
- break;
217
- }
218
- $attachment = new stdClass();
219
- $attachment->ID = $att_id;
220
- $attachments[] = $attachment;
221
- }
222
- }
223
- }
224
- }
225
-
226
- return $attachments;
227
- }
228
-
229
  /**
230
  * Get Nivo themes and any custom themes from uploads/nivo-themes/
231
  *
232
  * @since 2.2.*
233
  * @access protected
234
- * @param bool $select A flag to toggle select.
 
 
235
  * @return array
236
  */
237
  protected function get_themes( $select = false ) {
43
  */
44
  public function __construct() {
45
  $plugin_settings = self::get_plugin_settings();
46
+ $labels = $plugin_settings->get_labels();
47
  if ( isset( $plugin_settings ) && ! empty( $labels ) ) {
48
+ $this->labels = $plugin_settings->get_labels();
49
  $this->is_lite = $plugin_settings->get_lite();
50
  }
51
  $this->after_core_construct();
57
  * @since 3.0.0
58
  * @access public
59
  */
60
+ public function after_core_construct() {
61
+ }
62
 
63
  /**
64
  * Checks if Media Manager Plus is installed and active
74
  }
75
 
76
  /**
77
+ * Checks if a plugin is installed and active
78
  *
79
  * @since 2.2.*
80
  * @access public
 
 
 
81
  *
82
+ * @param array $plugin The plugins array.
 
 
 
 
 
 
 
 
 
 
 
83
  *
 
 
 
84
  * @return boolean
85
  */
86
  public function nivo_plugin_is_active( $plugin ) {
87
  return in_array( $plugin, (array) get_option( 'active_plugins', array() ) );
88
  }
89
 
90
+
91
  /**
92
+ * Default value helper function
93
  *
94
  * @since 2.2.*
95
  * @access public
96
+ *
97
+ * @param array $options The options array.
98
+ * @param mixed $value The value of options.
99
+ * @param string $default The default.
100
+ *
101
+ * @return string
102
  */
103
+ public function nivo_default_val( $options, $value, $default = '' ) {
104
+ if ( ! isset( $options[ $value ] ) ) {
105
+ return $default;
106
+ } else {
107
+ return $options[ $value ];
108
+ }
109
  }
110
 
111
  /**
112
+ * Gets the [gallery] images attached as a gallery or just attached the to the post
113
  *
114
  * @since 2.2.*
115
  * @access public
116
+ *
117
+ * @param string $post The post ID.
118
+ * @param integer $limit The limit param.
119
+ *
120
+ * @return array
121
  */
122
+ public function nivo_grab_attachment_ids_from_gallery( $post, $limit ) {
123
+ if ( ! $post = get_post( $post ) ) {
124
+ return array();
125
+ }
126
+
127
+ if ( ! $this->nivo_has_shortcode_wrap( $post->post_content, 'gallery' ) ) {
128
+ return $this->nivo_get_attached_images( $post->ID, $limit );
129
  }
130
+
131
+ $count = 0;
132
+ $attachments = array();
133
+ if ( preg_match_all( '/' . get_shortcode_regex() . '/s', $post->post_content, $matches, PREG_SET_ORDER ) ) {
134
+ foreach ( $matches as $shortcode ) {
135
+ if ( 'gallery' === $shortcode[2] ) {
136
+ $atts = shortcode_parse_atts( $shortcode[3] );
137
+ if ( isset( $atts['ids'] ) ) {
138
+ $attachment_ids = explode( ',', $atts['ids'] );
139
+ }
140
+ foreach ( $attachment_ids as $att_id ) {
141
+ $count ++;
142
+ if ( $limit != - 1 && $count > $limit ) {
143
+ break;
144
+ }
145
+ $attachment = new stdClass();
146
+ $attachment->ID = $att_id;
147
+ $attachments[] = $attachment;
148
+ }
149
+ }
150
+ }
151
+ }
152
+
153
+ return $attachments;
154
  }
155
 
156
  /**
158
  *
159
  * @since 2.2.*
160
  * @access public
161
+ *
162
+ * @param string $content The content to check.
163
+ * @param string $shortcode The shortcode to look for.
164
+ *
165
  * @return boolean
166
  */
167
  public function nivo_has_shortcode_wrap( $content, $shortcode = '' ) {
188
  *
189
  * @since 2.2.*
190
  * @access public
191
+ *
192
+ * @param string $post_id The post ID.
193
+ * @param integer $limit The limit param.
194
+ *
195
  * @return array
196
  */
197
  public function nivo_get_attached_images( $post_id, $limit ) {
208
  return get_posts( $args );
209
  }
210
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  /**
212
  * Get Nivo themes and any custom themes from uploads/nivo-themes/
213
  *
214
  * @since 2.2.*
215
  * @access protected
216
+ *
217
+ * @param bool $select A flag to toggle select.
218
+ *
219
  * @return array
220
  */
221
  protected function get_themes( $select = false ) {
includes/admin/class-nivo-slider-admin.php CHANGED
@@ -269,7 +269,7 @@ class Nivo_Slider_Admin extends Nivo_Core_Abstract {
269
  <?php do_settings_sections( $this->labels['post_type'] . '-settings' ); ?>
270
  <p class="submit">
271
  <input type="submit" name="submit" id="submit" class="button-primary"
272
- value="<?php _e( 'Save Changes', 'nivo-slider' ); ?>">
273
  </p>
274
  </form>
275
  </div>
@@ -331,7 +331,7 @@ class Nivo_Slider_Admin extends Nivo_Core_Abstract {
331
  case 'text':
332
  ?>
333
  <input type="text" name="<?php echo $element_name; ?>" value="<?php echo $element_value; ?>"
334
- class="<?php echo $element_class; ?> "/>
335
  <?php
336
  break;
337
  case 'textarea':
@@ -339,21 +339,21 @@ class Nivo_Slider_Admin extends Nivo_Core_Abstract {
339
  $cols = ( isset( $args['cols'] ) ) ? $args['cols'] : 80;
340
  ?>
341
  <textarea class="<?php echo $element_class; ?>" name="<?php echo $element_name; ?>"
342
- rows="<?php echo $rows; ?>"
343
- cols="<?php echo $cols; ?>"><?php echo $element_value; ?></textarea>
344
  <?php
345
  break;
346
  case 'number':
347
  ?>
348
  <input type="number" name="<?php echo $element_name; ?>" value="<?php echo $element_value; ?>"
349
- class="<?php echo $element_class; ?> "/>
350
  <?php
351
  break;
352
  case 'checkbox':
353
  ?>
354
  <input type="hidden" name="<?php echo $element_name; ?>" value="off"/>
355
  <input type="checkbox" name="<?php echo $element_name; ?>"
356
- value="on"<?php if ( $element_value == 'on' ) {
357
  echo ' checked="checked"';
358
  } ?> class="<?php echo $element_class; ?> "/>
359
  <?php
@@ -404,7 +404,7 @@ class Nivo_Slider_Admin extends Nivo_Core_Abstract {
404
  $options = $this->options;
405
  if ( $options && is_array( $options ) ) {
406
  foreach ( $options as $key => $option ) {
407
- if ( ! array_key_exists( $key, $input ) && $key != 'license_status' && $key != 'license_key' ) {
408
  $input[ $key ] = $option;
409
  }
410
  }
@@ -487,63 +487,6 @@ class Nivo_Slider_Admin extends Nivo_Core_Abstract {
487
  endforeach;
488
  }
489
 
490
- /**
491
- * Renders setting for license
492
- *
493
- * @since 2.2.*
494
- * @access public
495
- * @return mixed
496
- */
497
- public function setting_license_settings() {
498
- $license_key = $this->nivo_get_license_key( $this->labels['post_type'], $this->options );
499
- $status = $this->nivo_default_val( $this->options, 'license_status', false );
500
- echo '<div id="nivo_license">';
501
- echo '<input type="hidden" name="' . $this->labels['options_key'] . '[license_status]" value="' . $status . '">';
502
- if ( $status !== false && $status == 'valid' ) {
503
- echo '<input type="hidden" name="' . $this->labels['options_key'] . '[license_key]" value="' . $license_key . '">';
504
- echo '<span style="color:green;">' . __( 'Active: ', 'nivo-slider' ) . '</span>';
505
- echo '<span class="regular-text">' . $license_key . '</span><br> ';
506
- echo '<input id="deactivate-license" type="button" class="button-secondary" value="' . __( 'Deactivate License', 'nivo-slider' ) . '"/>';
507
- } else {
508
- if ( $this->nivo_license_constant( $this->labels['post_type'] ) ) {
509
- echo '<input type="hidden" name="' . $this->labels['options_key'] . '[license_key]" value="' . $license_key . '">';
510
- echo '<span class="regular-text">' . $license_key . '</span><br> ';
511
- echo '<label class="description">' . __( 'Activate this license key to enable automatic upgrades', 'nivo-slider' ) . '</label><br>';
512
- } else {
513
- echo '<input type="text" name="' . $this->labels['options_key'] . '[license_key]" class="regular-text" value="' . $license_key . '"><br> ';
514
- echo '<label class="description">' . __( 'Enter a valid license key to enable automatic upgrades', 'nivo-slider' ) . '</label><br>';
515
- }
516
- echo '<input id="activate-license" type="button" class="button-primary" value="' . __( 'Activate License', 'nivo-slider' ) . '"/>';
517
- }
518
- echo '<span class="spinner"></span></div>';
519
- }
520
-
521
- /**
522
- * Displays a custom message about license activation in the plugin table list
523
- *
524
- * @since 2.2.*
525
- * @access public
526
- * @return mixed
527
- */
528
- public function plugin_row() {
529
- $license_key = $this->nivo_get_license_key( $this->labels['post_type'], $this->options );
530
- $status = $this->nivo_default_val( $this->options, 'license_status', 'invalid' );
531
- if ( ( empty( $license_key ) || $license_key == '' ) || $status == 'invalid' ) {
532
- $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'edit.php?post_type=' . $this->labels['post_type'] . '&page=' . $this->labels['post_type'] . '-settings' ), __( 'Settings', 'nivo-slider' ) );
533
- $message = 'To finish activating ' . $this->labels['plugin_name'] . ', please go to ' . $settings_link . ' and enter your license key and activate it to enable automatic updates.';
534
- } else {
535
- return;
536
- }
537
- ?>
538
- <tr class="plugin-update-tr nivo-custom">
539
- <td colspan="3" class="plugin-update">
540
- <div class="update-message">
541
- <?php echo $message; ?>
542
- </div>
543
- </td>
544
- </tr>
545
- <?php
546
- }
547
 
548
  /**
549
  * Adds a new link to the plugin settings on the plugin table list
@@ -577,28 +520,6 @@ class Nivo_Slider_Admin extends Nivo_Core_Abstract {
577
  return $settings;
578
  }
579
 
580
- /**
581
- * Checks if a license key has been defined
582
- *
583
- * @since 2.2.*
584
- * @access public
585
- * @return boolean
586
- */
587
- public function check_license_constant() {
588
- return defined( 'NIVOSLIDER_LICENSE' );
589
- }
590
-
591
- /**
592
- * Gets the defined license key
593
- *
594
- * @since 2.2.*
595
- * @access public
596
- * @return string
597
- */
598
- public function get_license_constant() {
599
- return NIVOSLIDER_LICENSE;
600
- }
601
-
602
  /**
603
  * Register the stylesheets for the admin area.
604
  *
@@ -618,9 +539,9 @@ class Nivo_Slider_Admin extends Nivo_Core_Abstract {
618
  * class.
619
  */
620
  wp_enqueue_style( $this->plugin_name . '_nivo_css', NIVO_SLIDER_PLUGIN_URL . 'assets/css/nivo-slider.css', array(), $this->version, 'all' );
621
- if( get_post_type() == $this->labels['post_type'] ) {
622
- wp_enqueue_style( $this->plugin_name . '_admin_css', NIVO_SLIDER_PLUGIN_URL . 'assets/css/admin.css', array(), $this->version, 'all' );
623
- }
624
 
625
  }
626
 
269
  <?php do_settings_sections( $this->labels['post_type'] . '-settings' ); ?>
270
  <p class="submit">
271
  <input type="submit" name="submit" id="submit" class="button-primary"
272
+ value="<?php _e( 'Save Changes', 'nivo-slider' ); ?>">
273
  </p>
274
  </form>
275
  </div>
331
  case 'text':
332
  ?>
333
  <input type="text" name="<?php echo $element_name; ?>" value="<?php echo $element_value; ?>"
334
+ class="<?php echo $element_class; ?> "/>
335
  <?php
336
  break;
337
  case 'textarea':
339
  $cols = ( isset( $args['cols'] ) ) ? $args['cols'] : 80;
340
  ?>
341
  <textarea class="<?php echo $element_class; ?>" name="<?php echo $element_name; ?>"
342
+ rows="<?php echo $rows; ?>"
343
+ cols="<?php echo $cols; ?>"><?php echo $element_value; ?></textarea>
344
  <?php
345
  break;
346
  case 'number':
347
  ?>
348
  <input type="number" name="<?php echo $element_name; ?>" value="<?php echo $element_value; ?>"
349
+ class="<?php echo $element_class; ?> "/>
350
  <?php
351
  break;
352
  case 'checkbox':
353
  ?>
354
  <input type="hidden" name="<?php echo $element_name; ?>" value="off"/>
355
  <input type="checkbox" name="<?php echo $element_name; ?>"
356
+ value="on"<?php if ( $element_value == 'on' ) {
357
  echo ' checked="checked"';
358
  } ?> class="<?php echo $element_class; ?> "/>
359
  <?php
404
  $options = $this->options;
405
  if ( $options && is_array( $options ) ) {
406
  foreach ( $options as $key => $option ) {
407
+ if ( ! array_key_exists( $key, $input ) ) {
408
  $input[ $key ] = $option;
409
  }
410
  }
487
  endforeach;
488
  }
489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
490
 
491
  /**
492
  * Adds a new link to the plugin settings on the plugin table list
520
  return $settings;
521
  }
522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
  /**
524
  * Register the stylesheets for the admin area.
525
  *
539
  * class.
540
  */
541
  wp_enqueue_style( $this->plugin_name . '_nivo_css', NIVO_SLIDER_PLUGIN_URL . 'assets/css/nivo-slider.css', array(), $this->version, 'all' );
542
+ if ( get_post_type() == $this->labels['post_type'] ) {
543
+ wp_enqueue_style( $this->plugin_name . '_admin_css', NIVO_SLIDER_PLUGIN_URL . 'assets/css/admin.css', array(), $this->version, 'all' );
544
+ }
545
 
546
  }
547
 
includes/class-nivo-slider.php CHANGED
@@ -69,7 +69,7 @@ class Nivo_Slider {
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'nivo-slider';
72
- $this->version = '2.0.1';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
@@ -131,17 +131,13 @@ class Nivo_Slider {
131
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
132
  $this->loader->add_action( 'init', $plugin_admin, 'init_tinymce' );
133
  $this->loader->add_action( 'admin_print_scripts', $plugin_admin, 'admin_print_scripts' );
134
- $this->loader->add_action( 'after_plugin_row_' . $post_type, $plugin_admin, 'plugin_row', 11 );
135
  $this->loader->add_action( 'admin_menu', $plugin_admin, 'admin_menu' );
136
  $this->loader->add_action( 'admin_menu', $plugin_admin, 'remove_admin_menu' );
137
  $this->loader->add_action( 'admin_init', $plugin_admin, 'register_settings' );
138
- $this->loader->add_action( 'after_plugin_row_' . $this->get_plugin_name(), $plugin_admin, 'plugin_row', 11 );
139
  // Filters Nivo_Slider_Admin
140
  $this->loader->add_filter( $post_type . '_script_settings', $plugin_admin, 'script_settings' );
141
  $this->loader->add_filter( $post_type . '_post_type_menu_icon', $plugin_admin, 'menu_icon' );
142
  $this->loader->add_filter( $post_type . '_post_type_labels', $plugin_admin, 'plugin_labels' );
143
- $this->loader->add_filter( $post_type . '_get_license_constant', $plugin_admin, 'get_license_constant' );
144
- $this->loader->add_filter( $post_type . '_check_license_constant', $plugin_admin, 'check_license_constant' );
145
  $this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'plugin_action_links', 10, 2 );
146
  $this->loader->add_filter( 'nivo_field_upsell', $plugin_admin, 'add_upsell', 10, 2 );
147
  $this->loader->add_filter( 'nivo_slider_lite_logger_flag', $plugin_admin, 'check_logger', 10, 2 );
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'nivo-slider';
72
+ $this->version = '2.0.2';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
131
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
132
  $this->loader->add_action( 'init', $plugin_admin, 'init_tinymce' );
133
  $this->loader->add_action( 'admin_print_scripts', $plugin_admin, 'admin_print_scripts' );
 
134
  $this->loader->add_action( 'admin_menu', $plugin_admin, 'admin_menu' );
135
  $this->loader->add_action( 'admin_menu', $plugin_admin, 'remove_admin_menu' );
136
  $this->loader->add_action( 'admin_init', $plugin_admin, 'register_settings' );
 
137
  // Filters Nivo_Slider_Admin
138
  $this->loader->add_filter( $post_type . '_script_settings', $plugin_admin, 'script_settings' );
139
  $this->loader->add_filter( $post_type . '_post_type_menu_icon', $plugin_admin, 'menu_icon' );
140
  $this->loader->add_filter( $post_type . '_post_type_labels', $plugin_admin, 'plugin_labels' );
 
 
141
  $this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'plugin_action_links', 10, 2 );
142
  $this->loader->add_filter( 'nivo_field_upsell', $plugin_admin, 'add_upsell', 10, 2 );
143
  $this->loader->add_filter( 'nivo_slider_lite_logger_flag', $plugin_admin, 'check_logger', 10, 2 );
languages/nivo-slider.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the no.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Slider by Nivo - Responsive Image Slider 1.0.6\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/nivo-slider-lite/issues\n"
7
- "POT-Creation-Date: 2017-04-26 16:20:10+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -61,396 +61,390 @@ msgstr ""
61
  msgid "No %2$s found in Trash"
62
  msgstr ""
63
 
64
- #: includes/admin/class-nivo-slider-admin.php:91
65
- #: includes/admin/class-nivo-slider-admin.php:196
66
  #: includes/admin/libs/class-nivo-slider-widget.php:31
67
  msgid "Nivo Slider"
68
  msgstr ""
69
 
70
- #: includes/admin/class-nivo-slider-admin.php:92
71
  msgid "Nivo Sliders"
72
  msgstr ""
73
 
74
- #: includes/admin/class-nivo-slider-admin.php:261
75
  msgid "Save Changes"
76
  msgstr ""
77
 
78
- #: includes/admin/class-nivo-slider-admin.php:290
79
  msgid "Management Roles"
80
  msgstr ""
81
 
82
- #: includes/admin/class-nivo-slider-admin.php:491
83
- msgid "Active: "
84
- msgstr ""
85
-
86
- #: includes/admin/class-nivo-slider-admin.php:493
87
- msgid "Deactivate License"
88
- msgstr ""
89
-
90
- #: includes/admin/class-nivo-slider-admin.php:498
91
- msgid "Activate this license key to enable automatic upgrades"
92
- msgstr ""
93
-
94
- #: includes/admin/class-nivo-slider-admin.php:501
95
- msgid "Enter a valid license key to enable automatic upgrades"
96
- msgstr ""
97
-
98
- #: includes/admin/class-nivo-slider-admin.php:503
99
- msgid "Activate License"
100
  msgstr ""
101
 
102
- #: includes/admin/class-nivo-slider-admin.php:519
103
- #: includes/admin/class-nivo-slider-admin.php:543
104
- #: includes/admin/libs/class-nivo-core-admin-edit.php:279
105
- msgid "Settings"
106
  msgstr ""
107
 
108
- #: includes/admin/libs/class-nivo-core-admin-edit.php:66
109
  msgid "Enable Captions"
110
  msgstr ""
111
 
112
- #: includes/admin/libs/class-nivo-core-admin-edit.php:67
113
  msgid "Enable automatic captions from post titles"
114
  msgstr ""
115
 
116
- #: includes/admin/libs/class-nivo-core-admin-edit.php:75
117
  msgid "Number of Images"
118
  msgstr ""
119
 
120
- #: includes/admin/libs/class-nivo-core-admin-edit.php:76
121
  msgid ""
122
  "The number of images to use in the slider. Leave blank for all images. "
123
  "External sources default to 20"
124
  msgstr ""
125
 
126
- #: includes/admin/libs/class-nivo-core-admin-edit.php:85
127
  msgid "Slider Sizing"
128
  msgstr ""
129
 
130
- #: includes/admin/libs/class-nivo-core-admin-edit.php:86
131
  msgid "Responsive sliders will fill the width of the container"
132
  msgstr ""
133
 
134
- #: includes/admin/libs/class-nivo-core-admin-edit.php:88
135
  msgid "Responsive"
136
  msgstr ""
137
 
138
- #: includes/admin/libs/class-nivo-core-admin-edit.php:89
139
  msgid "Fixed Size"
140
  msgstr ""
141
 
142
- #: includes/admin/libs/class-nivo-core-admin-edit.php:96
143
  msgid "Image Size"
144
  msgstr ""
145
 
146
- #: includes/admin/libs/class-nivo-core-admin-edit.php:97
147
  msgid "Select the size of image from the WordPress media library"
148
  msgstr ""
149
 
150
- #: includes/admin/libs/class-nivo-core-admin-edit.php:105
151
  msgid "Slider Size"
152
  msgstr ""
153
 
154
- #: includes/admin/libs/class-nivo-core-admin-edit.php:106
155
  msgid "(Size in px) Images will be cropped to these dimensions (eg 400 x 150)"
156
  msgstr ""
157
 
158
- #: includes/admin/libs/class-nivo-core-admin-edit.php:119
159
  msgid "Slider Theme"
160
  msgstr ""
161
 
162
- #: includes/admin/libs/class-nivo-core-admin-edit.php:120
163
  msgid "Use a pre-built theme or provide your own styles."
164
  msgstr ""
165
 
166
- #: includes/admin/libs/class-nivo-core-admin-edit.php:124
167
  msgid "Random"
168
  msgstr ""
169
 
170
- #: includes/admin/libs/class-nivo-core-admin-edit.php:125
171
  msgid "Fade"
172
  msgstr ""
173
 
174
- #: includes/admin/libs/class-nivo-core-admin-edit.php:126
175
  msgid "Fold"
176
  msgstr ""
177
 
178
- #: includes/admin/libs/class-nivo-core-admin-edit.php:127
179
  msgid "Slice Down"
180
  msgstr ""
181
 
182
- #: includes/admin/libs/class-nivo-core-admin-edit.php:128
183
  msgid "Slice Down (Left)"
184
  msgstr ""
185
 
186
- #: includes/admin/libs/class-nivo-core-admin-edit.php:129
187
  msgid "Slice Up"
188
  msgstr ""
189
 
190
- #: includes/admin/libs/class-nivo-core-admin-edit.php:130
191
  msgid "Slice Up (Left)"
192
  msgstr ""
193
 
194
- #: includes/admin/libs/class-nivo-core-admin-edit.php:131
195
  msgid "Slice Up/Down"
196
  msgstr ""
197
 
198
- #: includes/admin/libs/class-nivo-core-admin-edit.php:132
199
  msgid "Slice Up/Down (Left)"
200
  msgstr ""
201
 
202
- #: includes/admin/libs/class-nivo-core-admin-edit.php:133
203
  msgid "Slide In (Right)"
204
  msgstr ""
205
 
206
- #: includes/admin/libs/class-nivo-core-admin-edit.php:134
207
  msgid "Slide In (Left)"
208
  msgstr ""
209
 
210
- #: includes/admin/libs/class-nivo-core-admin-edit.php:135
211
  msgid "Box Random"
212
  msgstr ""
213
 
214
- #: includes/admin/libs/class-nivo-core-admin-edit.php:136
215
  msgid "Box Rain"
216
  msgstr ""
217
 
218
- #: includes/admin/libs/class-nivo-core-admin-edit.php:137
219
  msgid "Box Rain (Reverse)"
220
  msgstr ""
221
 
222
- #: includes/admin/libs/class-nivo-core-admin-edit.php:138
223
  msgid "Box Rain Grow"
224
  msgstr ""
225
 
226
- #: includes/admin/libs/class-nivo-core-admin-edit.php:139
227
  msgid "Box Rain Grow (Reverse)"
228
  msgstr ""
229
 
230
- #: includes/admin/libs/class-nivo-core-admin-edit.php:145
231
  msgid "Transition Effect"
232
  msgstr ""
233
 
234
- #: includes/admin/libs/class-nivo-core-admin-edit.php:152
235
  msgid "Slices"
236
  msgstr ""
237
 
238
- #: includes/admin/libs/class-nivo-core-admin-edit.php:153
239
  msgid "The number of slices to use in the \"Slice\" transitions (eg 15)"
240
  msgstr ""
241
 
242
- #: includes/admin/libs/class-nivo-core-admin-edit.php:159
243
  msgid "Box (Cols x Rows)"
244
  msgstr ""
245
 
246
- #: includes/admin/libs/class-nivo-core-admin-edit.php:160
247
  msgid "The number of columns and rows to use in the \"Box\" transitions (eg 8 x 4)"
248
  msgstr ""
249
 
250
- #: includes/admin/libs/class-nivo-core-admin-edit.php:167
251
  msgid "Animation Speed"
252
  msgstr ""
253
 
254
- #: includes/admin/libs/class-nivo-core-admin-edit.php:168
255
  msgid "The speed of the transition animation in milliseconds (eg 500)"
256
  msgstr ""
257
 
258
- #: includes/admin/libs/class-nivo-core-admin-edit.php:174
259
  msgid "Enable Thumbnail Navigation"
260
  msgstr ""
261
 
262
- #: includes/admin/libs/class-nivo-core-admin-edit.php:181
263
  msgid "Thumbnail Size"
264
  msgstr ""
265
 
266
- #: includes/admin/libs/class-nivo-core-admin-edit.php:182
267
  msgid "The width and height of the thumbnails"
268
  msgstr ""
269
 
270
- #: includes/admin/libs/class-nivo-core-admin-edit.php:190
271
  msgid "Pause Time"
272
  msgstr ""
273
 
274
- #: includes/admin/libs/class-nivo-core-admin-edit.php:191
275
  msgid "The amount of time to show each slide in milliseconds (eg 3000)"
276
  msgstr ""
277
 
278
- #: includes/admin/libs/class-nivo-core-admin-edit.php:197
279
  msgid "Start Slide"
280
  msgstr ""
281
 
282
- #: includes/admin/libs/class-nivo-core-admin-edit.php:198
283
  msgid "Set which slide the slider starts from (zero based index: usually 0)"
284
  msgstr ""
285
 
286
- #: includes/admin/libs/class-nivo-core-admin-edit.php:204
287
  msgid "Enable Direction Navigation"
288
  msgstr ""
289
 
290
- #: includes/admin/libs/class-nivo-core-admin-edit.php:205
291
  msgid "Prev &amp; Next arrows"
292
  msgstr ""
293
 
294
- #: includes/admin/libs/class-nivo-core-admin-edit.php:211
295
  msgid "Enable Control Navigation"
296
  msgstr ""
297
 
298
- #: includes/admin/libs/class-nivo-core-admin-edit.php:212
299
  msgid "eg 1,2,3..."
300
  msgstr ""
301
 
302
- #: includes/admin/libs/class-nivo-core-admin-edit.php:218
303
  msgid "Enable Images Links"
304
  msgstr ""
305
 
306
- #: includes/admin/libs/class-nivo-core-admin-edit.php:219
307
  msgid ""
308
  "If a link has been added to an image when configuring, the image links to "
309
  "the url."
310
  msgstr ""
311
 
312
- #: includes/admin/libs/class-nivo-core-admin-edit.php:225
313
  msgid "Open Links in New Window"
314
  msgstr ""
315
 
316
- #: includes/admin/libs/class-nivo-core-admin-edit.php:226
317
  msgid "Open the links in a new window."
318
  msgstr ""
319
 
320
- #: includes/admin/libs/class-nivo-core-admin-edit.php:234
321
  msgid "Pause the Slider on Hover"
322
  msgstr ""
323
 
324
- #: includes/admin/libs/class-nivo-core-admin-edit.php:240
325
  msgid "Manual Transitions"
326
  msgstr ""
327
 
328
- #: includes/admin/libs/class-nivo-core-admin-edit.php:241
329
  msgid "Slider is always paused"
330
  msgstr ""
331
 
332
- #: includes/admin/libs/class-nivo-core-admin-edit.php:247
333
  msgid "Random Start Slide"
334
  msgstr ""
335
 
336
- #: includes/admin/libs/class-nivo-core-admin-edit.php:248
337
  msgid "Overrides Start Slide value"
338
  msgstr ""
339
 
340
- #: includes/admin/libs/class-nivo-core-admin-edit.php:273
341
  msgid "%1$s Images"
342
  msgstr ""
343
 
344
- #: includes/admin/libs/class-nivo-core-admin-edit.php:286
345
  msgid "Using this %1$s"
346
  msgstr ""
347
 
348
- #: includes/admin/libs/class-nivo-core-admin-edit.php:292
349
- msgid "Useful Links"
350
  msgstr ""
351
 
352
- #: includes/admin/libs/class-nivo-core-admin-edit.php:307
 
 
 
 
353
  msgid "To use this %1$s in your posts or pages use the following shortcode:"
354
  msgstr ""
355
 
356
- #: includes/admin/libs/class-nivo-core-admin-edit.php:313
357
  msgid "To use this %1$s in a theme template file use the following code:"
358
  msgstr ""
359
 
360
- #: includes/admin/libs/class-nivo-core-admin-edit.php:329
361
- msgid "Website:"
362
  msgstr ""
363
 
364
- #: includes/admin/libs/class-nivo-core-admin-edit.php:330
365
- msgid "Created by:"
366
  msgstr ""
367
 
368
- #: includes/admin/libs/class-nivo-core-admin-edit.php:332
369
- msgid "Support:"
370
  msgstr ""
371
 
372
- #: includes/admin/libs/class-nivo-core-admin-edit.php:334
373
- msgid "Documentation:"
374
  msgstr ""
375
 
376
- #: includes/admin/libs/class-nivo-core-admin-edit.php:335
377
- msgid "Changelog:"
378
  msgstr ""
379
 
380
- #: includes/admin/libs/class-nivo-core-admin-edit.php:369
381
- msgid "%1$s Type"
382
  msgstr ""
383
 
384
- #: includes/admin/libs/class-nivo-core-admin-edit.php:385
385
- msgid "No Sources"
386
  msgstr ""
387
 
388
- #: includes/admin/libs/class-nivo-core-admin-edit.php:390
389
- msgid "Choose to manually upload images or use images from the media library."
 
 
 
390
  msgstr ""
391
 
392
- #: includes/admin/libs/class-nivo-core-admin-edit.php:394
393
- msgid ""
394
- "You can add images from external sources and use them as feeds with our "
395
- "free plugin %1$s Media Manager Plus %2$s"
 
 
396
  msgstr ""
397
 
398
- #: includes/admin/libs/class-nivo-core-admin-edit.php:396
399
- msgid "Connect more sources using %1$s Media Manager Plus %2$s"
400
  msgstr ""
401
 
402
- #: includes/admin/libs/class-nivo-core-admin-edit.php:404
403
  msgid "Gallery Location"
404
  msgstr ""
405
 
406
- #: includes/admin/libs/class-nivo-core-admin-edit.php:434
407
  msgid "Select the post gallery you want to use"
408
  msgstr ""
409
 
410
- #: includes/admin/libs/class-nivo-core-admin-edit.php:438
411
- #: includes/admin/libs/class-nivo-core-images.php:74
412
  msgid "Category"
413
  msgstr ""
414
 
415
- #: includes/admin/libs/class-nivo-core-admin-edit.php:454
416
  msgid "Select the category you want to use for post thumbnails"
417
  msgstr ""
418
 
419
- #: includes/admin/libs/class-nivo-core-admin-edit.php:458
420
- #: includes/admin/libs/class-nivo-core-images.php:85
421
  msgid "Custom Post Type"
422
  msgstr ""
423
 
424
- #: includes/admin/libs/class-nivo-core-admin-edit.php:477
425
  msgid "Select the custom post type you want to use for post thumbnails"
426
  msgstr ""
427
 
428
- #: includes/admin/libs/class-nivo-core-admin-edit.php:702
429
  #: includes/admin/libs/class-nivo-core-admin-images.php:142
430
  msgid "Title"
431
  msgstr ""
432
 
433
- #: includes/admin/libs/class-nivo-core-admin-edit.php:703
434
  msgid "Shortcode"
435
  msgstr ""
436
 
437
- #: includes/admin/libs/class-nivo-core-admin-edit.php:704
438
  msgid "Source"
439
  msgstr ""
440
 
441
- #: includes/admin/libs/class-nivo-core-admin-edit.php:705
442
  msgid "Type"
443
  msgstr ""
444
 
445
- #: includes/admin/libs/class-nivo-core-admin-edit.php:706
446
  msgid "Images"
447
  msgstr ""
448
 
449
- #: includes/admin/libs/class-nivo-core-admin-edit.php:707
450
  msgid "Author"
451
  msgstr ""
452
 
453
- #: includes/admin/libs/class-nivo-core-admin-edit.php:708
454
  msgid "Date"
455
  msgstr ""
456
 
@@ -501,22 +495,22 @@ msgstr ""
501
  msgid "Link"
502
  msgstr ""
503
 
504
- #: includes/admin/libs/class-nivo-core-images.php:72
 
 
 
 
505
  msgid "Manual"
506
  msgstr ""
507
 
508
- #: includes/admin/libs/class-nivo-core-images.php:73
509
  msgid "Gallery"
510
  msgstr ""
511
 
512
- #: includes/admin/libs/class-nivo-core-images.php:75
513
  msgid "Sticky Posts"
514
  msgstr ""
515
 
516
- #: includes/admin/libs/class-nivo-core-images.php:406
517
- msgid "File doesn't exist"
518
- msgstr ""
519
-
520
  #: includes/admin/libs/class-nivo-core-model.php:46
521
  #: includes/admin/libs/class-nivo-core-model.php:49
522
  msgid "%1$s updated."
2
  # This file is distributed under the no.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Slider by Nivo - Responsive Image Slider 2.0.1\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/nivo-slider-lite/issues\n"
7
+ "POT-Creation-Date: 2017-05-06 10:27:26+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
61
  msgid "No %2$s found in Trash"
62
  msgstr ""
63
 
64
+ #: includes/admin/class-nivo-slider-admin.php:83
65
+ #: includes/admin/class-nivo-slider-admin.php:206
66
  #: includes/admin/libs/class-nivo-slider-widget.php:31
67
  msgid "Nivo Slider"
68
  msgstr ""
69
 
70
+ #: includes/admin/class-nivo-slider-admin.php:84
71
  msgid "Nivo Sliders"
72
  msgstr ""
73
 
74
+ #: includes/admin/class-nivo-slider-admin.php:272
75
  msgid "Save Changes"
76
  msgstr ""
77
 
78
+ #: includes/admin/class-nivo-slider-admin.php:300
79
  msgid "Management Roles"
80
  msgstr ""
81
 
82
+ #: includes/admin/class-nivo-slider-admin.php:499
83
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:281
84
+ msgid "Settings"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  msgstr ""
86
 
87
+ #: includes/admin/class-nivo-slider-admin.php:578
88
+ msgid ""
89
+ "You can automatically build slider from post galleries, categories and "
90
+ "sticky posts using the %1$s FULL%2$s version."
91
  msgstr ""
92
 
93
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:68
94
  msgid "Enable Captions"
95
  msgstr ""
96
 
97
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:69
98
  msgid "Enable automatic captions from post titles"
99
  msgstr ""
100
 
101
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:77
102
  msgid "Number of Images"
103
  msgstr ""
104
 
105
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:78
106
  msgid ""
107
  "The number of images to use in the slider. Leave blank for all images. "
108
  "External sources default to 20"
109
  msgstr ""
110
 
111
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:87
112
  msgid "Slider Sizing"
113
  msgstr ""
114
 
115
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:88
116
  msgid "Responsive sliders will fill the width of the container"
117
  msgstr ""
118
 
119
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:90
120
  msgid "Responsive"
121
  msgstr ""
122
 
123
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:91
124
  msgid "Fixed Size"
125
  msgstr ""
126
 
127
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:98
128
  msgid "Image Size"
129
  msgstr ""
130
 
131
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:99
132
  msgid "Select the size of image from the WordPress media library"
133
  msgstr ""
134
 
135
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:107
136
  msgid "Slider Size"
137
  msgstr ""
138
 
139
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:108
140
  msgid "(Size in px) Images will be cropped to these dimensions (eg 400 x 150)"
141
  msgstr ""
142
 
143
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:121
144
  msgid "Slider Theme"
145
  msgstr ""
146
 
147
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:122
148
  msgid "Use a pre-built theme or provide your own styles."
149
  msgstr ""
150
 
151
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:126
152
  msgid "Random"
153
  msgstr ""
154
 
155
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:127
156
  msgid "Fade"
157
  msgstr ""
158
 
159
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:128
160
  msgid "Fold"
161
  msgstr ""
162
 
163
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:129
164
  msgid "Slice Down"
165
  msgstr ""
166
 
167
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:130
168
  msgid "Slice Down (Left)"
169
  msgstr ""
170
 
171
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:131
172
  msgid "Slice Up"
173
  msgstr ""
174
 
175
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:132
176
  msgid "Slice Up (Left)"
177
  msgstr ""
178
 
179
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:133
180
  msgid "Slice Up/Down"
181
  msgstr ""
182
 
183
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:134
184
  msgid "Slice Up/Down (Left)"
185
  msgstr ""
186
 
187
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:135
188
  msgid "Slide In (Right)"
189
  msgstr ""
190
 
191
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:136
192
  msgid "Slide In (Left)"
193
  msgstr ""
194
 
195
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:137
196
  msgid "Box Random"
197
  msgstr ""
198
 
199
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:138
200
  msgid "Box Rain"
201
  msgstr ""
202
 
203
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:139
204
  msgid "Box Rain (Reverse)"
205
  msgstr ""
206
 
207
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:140
208
  msgid "Box Rain Grow"
209
  msgstr ""
210
 
211
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:141
212
  msgid "Box Rain Grow (Reverse)"
213
  msgstr ""
214
 
215
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:147
216
  msgid "Transition Effect"
217
  msgstr ""
218
 
219
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:154
220
  msgid "Slices"
221
  msgstr ""
222
 
223
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:155
224
  msgid "The number of slices to use in the \"Slice\" transitions (eg 15)"
225
  msgstr ""
226
 
227
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:161
228
  msgid "Box (Cols x Rows)"
229
  msgstr ""
230
 
231
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:162
232
  msgid "The number of columns and rows to use in the \"Box\" transitions (eg 8 x 4)"
233
  msgstr ""
234
 
235
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:169
236
  msgid "Animation Speed"
237
  msgstr ""
238
 
239
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:170
240
  msgid "The speed of the transition animation in milliseconds (eg 500)"
241
  msgstr ""
242
 
243
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:176
244
  msgid "Enable Thumbnail Navigation"
245
  msgstr ""
246
 
247
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:183
248
  msgid "Thumbnail Size"
249
  msgstr ""
250
 
251
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:184
252
  msgid "The width and height of the thumbnails"
253
  msgstr ""
254
 
255
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:192
256
  msgid "Pause Time"
257
  msgstr ""
258
 
259
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:193
260
  msgid "The amount of time to show each slide in milliseconds (eg 3000)"
261
  msgstr ""
262
 
263
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:199
264
  msgid "Start Slide"
265
  msgstr ""
266
 
267
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:200
268
  msgid "Set which slide the slider starts from (zero based index: usually 0)"
269
  msgstr ""
270
 
271
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:206
272
  msgid "Enable Direction Navigation"
273
  msgstr ""
274
 
275
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:207
276
  msgid "Prev &amp; Next arrows"
277
  msgstr ""
278
 
279
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:213
280
  msgid "Enable Control Navigation"
281
  msgstr ""
282
 
283
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:214
284
  msgid "eg 1,2,3..."
285
  msgstr ""
286
 
287
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:220
288
  msgid "Enable Images Links"
289
  msgstr ""
290
 
291
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:221
292
  msgid ""
293
  "If a link has been added to an image when configuring, the image links to "
294
  "the url."
295
  msgstr ""
296
 
297
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:227
298
  msgid "Open Links in New Window"
299
  msgstr ""
300
 
301
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:228
302
  msgid "Open the links in a new window."
303
  msgstr ""
304
 
305
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:236
306
  msgid "Pause the Slider on Hover"
307
  msgstr ""
308
 
309
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:242
310
  msgid "Manual Transitions"
311
  msgstr ""
312
 
313
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:243
314
  msgid "Slider is always paused"
315
  msgstr ""
316
 
317
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:249
318
  msgid "Random Start Slide"
319
  msgstr ""
320
 
321
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:250
322
  msgid "Overrides Start Slide value"
323
  msgstr ""
324
 
325
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:275
326
  msgid "%1$s Images"
327
  msgstr ""
328
 
329
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:287
330
  msgid "Using this %1$s"
331
  msgstr ""
332
 
333
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:294
334
+ msgid "Full Version"
335
  msgstr ""
336
 
337
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:300
338
+ msgid "Contribute to Nivo"
339
+ msgstr ""
340
+
341
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:317
342
  msgid "To use this %1$s in your posts or pages use the following shortcode:"
343
  msgstr ""
344
 
345
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:323
346
  msgid "To use this %1$s in a theme template file use the following code:"
347
  msgstr ""
348
 
349
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:340
350
+ msgid " Extend Nivo Slider "
351
  msgstr ""
352
 
353
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:342
354
+ msgid "More slider types"
355
  msgstr ""
356
 
357
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:343
358
+ msgid "Build carousels"
359
  msgstr ""
360
 
361
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:344
362
+ msgid "Create lightboxes"
363
  msgstr ""
364
 
365
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:345
366
+ msgid "Automatic updates"
367
  msgstr ""
368
 
369
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:346
370
+ msgid "Priority support"
371
  msgstr ""
372
 
373
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:364
374
+ msgid "Enable Tracking"
375
  msgstr ""
376
 
377
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:366
378
+ msgid ""
379
+ "Allow Nivo to anonymously track how this plugin is used and help us make "
380
+ "the\n"
381
+ "\t\t\t\t\tplugin better. No sensitive data is tracked."
382
  msgstr ""
383
 
384
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:405
385
+ msgid " %1$s Type"
386
+ msgstr ""
387
+
388
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:425
389
+ msgid "No Sources"
390
  msgstr ""
391
 
392
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:430
393
+ msgid "Choose to manually upload images or use images from the media library . "
394
  msgstr ""
395
 
396
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:436
397
  msgid "Gallery Location"
398
  msgstr ""
399
 
400
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:466
401
  msgid "Select the post gallery you want to use"
402
  msgstr ""
403
 
404
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:470
405
+ #: includes/admin/libs/class-nivo-core-images.php:423
406
  msgid "Category"
407
  msgstr ""
408
 
409
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:486
410
  msgid "Select the category you want to use for post thumbnails"
411
  msgstr ""
412
 
413
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:490
414
+ #: includes/admin/libs/class-nivo-core-images.php:425
415
  msgid "Custom Post Type"
416
  msgstr ""
417
 
418
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:509
419
  msgid "Select the custom post type you want to use for post thumbnails"
420
  msgstr ""
421
 
422
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:723
423
  #: includes/admin/libs/class-nivo-core-admin-images.php:142
424
  msgid "Title"
425
  msgstr ""
426
 
427
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:724
428
  msgid "Shortcode"
429
  msgstr ""
430
 
431
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:725
432
  msgid "Source"
433
  msgstr ""
434
 
435
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:726
436
  msgid "Type"
437
  msgstr ""
438
 
439
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:727
440
  msgid "Images"
441
  msgstr ""
442
 
443
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:728
444
  msgid "Author"
445
  msgstr ""
446
 
447
+ #: includes/admin/libs/class-nivo-core-admin-edit.php:729
448
  msgid "Date"
449
  msgstr ""
450
 
495
  msgid "Link"
496
  msgstr ""
497
 
498
+ #: includes/admin/libs/class-nivo-core-images.php:45
499
+ msgid "File doesn't exist"
500
+ msgstr ""
501
+
502
+ #: includes/admin/libs/class-nivo-core-images.php:420
503
  msgid "Manual"
504
  msgstr ""
505
 
506
+ #: includes/admin/libs/class-nivo-core-images.php:422
507
  msgid "Gallery"
508
  msgstr ""
509
 
510
+ #: includes/admin/libs/class-nivo-core-images.php:424
511
  msgid "Sticky Posts"
512
  msgstr ""
513
 
 
 
 
 
514
  #: includes/admin/libs/class-nivo-core-model.php:46
515
  #: includes/admin/libs/class-nivo-core-model.php:49
516
  msgid "%1$s updated."
nivo-slider-lite.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Slider by Nivo - Responsive Image Slider
4
  * Plugin URI: https://themeisle.com/plugins/nivo-slider-lite
5
  * Description: Nivo Slider is The Most Popular And Easiest to Use WordPress Slider Plugin.
6
- * Version: 2.0.1
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Text Domain: nivo-slider
3
  * Plugin Name: Slider by Nivo - Responsive Image Slider
4
  * Plugin URI: https://themeisle.com/plugins/nivo-slider-lite
5
  * Description: Nivo Slider is The Most Popular And Easiest to Use WordPress Slider Plugin.
6
+ * Version: 2.0.2
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Text Domain: nivo-slider
readme.txt CHANGED
@@ -68,6 +68,11 @@ Purchasing a license gets you access to the full version of the Nivo Slider Word
68
 
69
  == Changelog ==
70
 
 
 
 
 
 
71
  = 2.0.0 =
72
  * Added more slider themes.
73
  * Added responsive option.
68
 
69
  == Changelog ==
70
 
71
+ = 2.0.2 =
72
+ * Removed redundant code
73
+ * Added future support for carousels.
74
+
75
+
76
  = 2.0.0 =
77
  * Added more slider themes.
78
  * Added responsive option.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit7956a440373ec0f9a867974cff2edda7::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitdcb3f2ffd0b1ac86e8242114b17737d7::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInitd4c97131de4e41d4f7a1fa7d84d89f39::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit85235d05e00da9c65534155cb2cea960::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit7956a440373ec0f9a867974cff2edda7
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit7956a440373ec0f9a867974cff2edda7
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit7956a440373ec0f9a867974cff2edda7', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit7956a440373ec0f9a867974cff2edda7', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitdcb3f2ffd0b1ac86e8242114b17737d7
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitdcb3f2ffd0b1ac86e8242114b17737d7', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitdcb3f2ffd0b1ac86e8242114b17737d7', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInitd4c97131de4e41d4f7a1fa7d84d89f39 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitd4c97131de4e41d4f7a1fa7d84d89f39 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitd4c97131de4e41d4f7a1fa7d84d89f39', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitd4c97131de4e41d4f7a1fa7d84d89f39', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit85235d05e00da9c65534155cb2cea960 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit85235d05e00da9c65534155cb2cea960', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit85235d05e00da9c65534155cb2cea960', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);