Version Description
- Updated text domain for the plugin repository's new translations
Download this release
Release Info
Developer | EnigmaWeb |
Plugin | Logo Slider |
Version | 1.4.6 |
Comparing to | |
See all releases |
Code changes from version 1.4.5 to 1.4.6
- logo-slider.php +47 -57
- readme.txt +7 -1
logo-slider.php
CHANGED
@@ -3,29 +3,21 @@
|
|
3 |
Plugin Name: Logo Slider
|
4 |
Plugin URI: http://www.wordpress.org/extend/plugins/logo-slider
|
5 |
Description: Add a logo slideshow carousel to your site quicky and easily.
|
6 |
-
Version: 1.4.
|
7 |
Author: Enigma Plugins
|
8 |
Author URI: http://www.enigmaplugins.com
|
|
|
|
|
9 |
*/
|
10 |
|
11 |
-
|
12 |
/*
|
13 |
///////////////////////////////////////////////
|
14 |
This section defines the variables that
|
15 |
will be used throughout the plugin
|
16 |
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|
17 |
*/
|
18 |
-
|
19 |
-
|
20 |
error_reporting(0);
|
21 |
|
22 |
-
// Localization / Internationalization
|
23 |
-
add_action( 'plugins_loaded', 'lgs_plugin_load_textdomain' );
|
24 |
-
function lgs_plugin_load_textdomain() {
|
25 |
-
load_plugin_textdomain( 'lgs', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
26 |
-
}
|
27 |
-
|
28 |
-
|
29 |
// define our defaults (filterable)
|
30 |
$wp_logo_defaults = apply_filters('wp_logo_defaults', array(
|
31 |
'custom_css' => 'You can write your custom CSS here.',
|
@@ -79,7 +71,6 @@ function wp_logo_plugin_action_links($links) {
|
|
79 |
return $links;
|
80 |
}
|
81 |
|
82 |
-
|
83 |
/*
|
84 |
///////////////////////////////////////////////
|
85 |
this function is the code that gets loaded when the
|
@@ -133,7 +124,7 @@ function wp_logo_handle_upload() {
|
|
133 |
// if the uploaded file is NOT an image
|
134 |
if(strpos($type, 'image') === FALSE) {
|
135 |
unlink($file); // delete the file
|
136 |
-
echo '<div class="error" id="message"><p>'.__('Sorry, but the file you uploaded does not seem to be a valid image. Please try again.','
|
137 |
return;
|
138 |
}
|
139 |
|
@@ -222,7 +213,7 @@ function wp_logo_slider_settings_update_check() {
|
|
222 |
global $wp_logo_slider_settings;
|
223 |
if(isset($wp_logo_slider_settings['update'])) {
|
224 |
echo '<div class="updated fade" id="message">
|
225 |
-
<p>'.__('Wordpress Logo Slider Settings <strong>'.$wp_logo_slider_settings['update'],'
|
226 |
</p>
|
227 |
</div>';
|
228 |
|
@@ -236,7 +227,7 @@ function wp_logo_slider_settings_update_check() {
|
|
236 |
function wp_logo_slider_images_update_check() {
|
237 |
global $wp_logo_slider_images;
|
238 |
if($wp_logo_slider_images['update'] == 'Added' || $wp_logo_slider_images['update'] == 'Deleted' || $wp_logo_slider_images['update'] == 'Updated') {
|
239 |
-
echo '<div class="updated fade" id="message"><p>'.__('Image(s) '.$wp_logo_slider_images['update'].' Successfully','
|
240 |
unset($wp_logo_slider_images['update']);
|
241 |
update_option('wp_logo_slider_images', $wp_logo_slider_images);
|
242 |
}
|
@@ -252,16 +243,16 @@ on the admin page. it's mostly form markup.
|
|
252 |
function wp_logo_images_admin() { ?>
|
253 |
<?php global $wp_logo_slider_images; ?>
|
254 |
<?php wp_logo_slider_images_update_check(); ?>
|
255 |
-
<h2><?php _e('Wordpress LogoSlider Images','
|
256 |
|
257 |
<table class="form-table">
|
258 |
-
<tr valign="top"><th scope="row"><?php _e('Upload New Image','
|
259 |
<td>
|
260 |
<form enctype="multipart/form-data" method="post" action="?page=wp_logo_slider">
|
261 |
<input type="hidden" name="post_id" id="post_id" value="0" />
|
262 |
<input type="hidden" name="action" id="action" value="wp_handle_upload" />
|
263 |
|
264 |
-
<label for="logo_images"><?php _e('Select a File: ','
|
265 |
<input type="file" name="logo_images" id="logo_images" />
|
266 |
<input type="submit" class="button-primary" name="html-upload" value="Upload" />
|
267 |
</form>
|
@@ -271,7 +262,7 @@ function wp_logo_images_admin() { ?>
|
|
271 |
<br />
|
272 |
|
273 |
<p style="border:2px solid #999; border-radius: 10px; font-size: 12px; padding: 6px 10px; width: 24%;">
|
274 |
-
<strong
|
275 |
</p>
|
276 |
|
277 |
<?php
|
@@ -280,16 +271,16 @@ function wp_logo_images_admin() { ?>
|
|
280 |
<table class="widefat fixed" cellspacing="0" id="image_sort" style="width:100%; table-layout:inherit;">
|
281 |
<thead>
|
282 |
<tr>
|
283 |
-
<th scope="col" class="column-slug"><?php _e('Image','
|
284 |
-
<th scope="col"><?php _e('Image Links To','
|
285 |
-
<th scope="col" class="column-slug"><?php _e('Actions','
|
286 |
</tr>
|
287 |
</thead>
|
288 |
<tfoot>
|
289 |
<tr>
|
290 |
-
<th scope="col" class="column-slug"><?php _e('Image','
|
291 |
-
<th scope="col"><?php _e('Image Links To','
|
292 |
-
<th scope="col" class="column-slug"><?php _e('Actions','
|
293 |
</tr>
|
294 |
</tfoot>
|
295 |
<tbody>
|
@@ -315,7 +306,6 @@ function wp_logo_images_admin() { ?>
|
|
315 |
<?php endforeach; ?>
|
316 |
<input type="hidden" name="wp_logo_slider_images[update]" value="Updated" />
|
317 |
</form>
|
318 |
-
|
319 |
</tbody>
|
320 |
</table>
|
321 |
<?php
|
@@ -374,7 +364,7 @@ add_action('wp_ajax_list_update_order','order_list');
|
|
374 |
function wp_logo_settings_admin() {
|
375 |
wp_logo_slider_settings_update_check();
|
376 |
?>
|
377 |
-
<h2><?php _e('Wordpress Logo Slider Settings','
|
378 |
<form method="post" action="options.php">
|
379 |
<?php
|
380 |
settings_fields('wp_logo_slider_settings');
|
@@ -382,90 +372,90 @@ function wp_logo_settings_admin() {
|
|
382 |
?>
|
383 |
<table class="form-table">
|
384 |
<tr>
|
385 |
-
<th scope="row"><?php _e('Size','
|
386 |
<td>
|
387 |
-
<?php _e('Width: ','
|
388 |
<input type="text" name="wp_logo_slider_settings[slider_width]" value="<?php echo $options['slider_width'] ?>" size="4" />
|
389 |
-
<?php _e('Height: ','
|
390 |
<input type="text" name="wp_logo_slider_settings[slider_height]" value="<?php echo $options['slider_height'] ?>" size="4" />
|
391 |
</td>
|
392 |
</tr>
|
393 |
<tr>
|
394 |
-
<th scope="row"><?php _e('Images Per Slide','
|
395 |
<td>
|
396 |
<select name="wp_logo_slider_settings[num_img]">
|
397 |
<option value="1" <?php echo ($options['num_img'] == '1' ? 'selected="selected"' : '') ?>>
|
398 |
-
<?php _e('1','
|
399 |
</option>
|
400 |
<option value="2" <?php echo ($options['num_img'] == '2' ? 'selected="selected"' : '') ?>>
|
401 |
-
<?php _e('2','
|
402 |
</option>
|
403 |
<option value="3" <?php echo ($options['num_img'] == '3' ? 'selected="selected"' : '') ?>>
|
404 |
-
<?php _e('3','
|
405 |
</option>
|
406 |
<option value="4" <?php echo ($options['num_img'] == '4' ? 'selected="selected"' : '') ?>>
|
407 |
-
<?php _e('4','
|
408 |
</option>
|
409 |
<option value="5" <?php echo ($options['num_img'] == '5' ? 'selected="selected"' : '') ?>>
|
410 |
-
<?php _e('5','
|
411 |
</option>
|
412 |
<option value="6" <?php echo ($options['num_img'] == '6' ? 'selected="selected"' : '') ?>>
|
413 |
-
<?php _e('6','
|
414 |
</option>
|
415 |
<option value="7" <?php echo ($options['num_img'] == '7' ? 'selected="selected"' : '') ?>>
|
416 |
-
<?php _e('7','
|
417 |
</option>
|
418 |
<option value="8" <?php echo ($options['num_img'] == '8' ? 'selected="selected"' : '') ?>>
|
419 |
-
<?php _e('8','
|
420 |
</option>
|
421 |
</select>
|
422 |
-
<small><?php _e('Number of logos per slide','
|
423 |
</td>
|
424 |
</tr>
|
425 |
<tr>
|
426 |
-
<th scope="row"><?php _e('Background Colour','
|
427 |
<td>
|
428 |
<input type="text" name="wp_logo_slider_settings[bgcolour]" value="<?php echo $options['bgcolour'] ?>" />
|
429 |
-
<small><?php _e('Format: ','
|
430 |
</td>
|
431 |
</tr>
|
432 |
<tr>
|
433 |
-
<th scope="row"><?php _e('Open logo links in New Window','
|
434 |
<td>
|
435 |
<input type="checkbox" name="wp_logo_slider_settings[new_window]" <?php echo ($options['new_window'] == 'on' ? 'checked="checked"' : '' ) ?> />
|
436 |
</td>
|
437 |
</tr>
|
438 |
<tr>
|
439 |
-
<th scope="row"><?php _e('Select Slider','
|
440 |
<td>
|
441 |
<select name="wp_logo_slider_settings[select_slider]">
|
442 |
<option value="slide" <?php echo ($options['select_slider'] == 'slide' ? 'selected="selected"' : '' ) ?>>
|
443 |
-
<?php _e('Slide','
|
444 |
</option>
|
445 |
<option value="fade" <?php echo ($options['select_slider'] == 'fade' ? 'selected="selected"' : '' ) ?>>
|
446 |
-
<?php _e('Fade','
|
447 |
</option>
|
448 |
</select>
|
449 |
</td>
|
450 |
</tr>
|
451 |
<tr>
|
452 |
-
<th scope="row"><?php _e('Auto Slide','
|
453 |
<td id="arrow-style">
|
454 |
-
<?php _e('ON','
|
455 |
<input type="radio" name="wp_logo_slider_settings[auto_slide]" value="1" <?php if($options['auto_slide']==1){echo 'checked="checked"';}?> />
|
456 |
-
<?php _e('OFF','
|
457 |
<input type="radio" name="wp_logo_slider_settings[auto_slide]" value="2" <?php if($options['auto_slide']==2){echo 'checked="checked"';}?>/>
|
458 |
</td>
|
459 |
</tr>
|
460 |
<tr>
|
461 |
-
<th scope="row"><?php _e('Auto Slide Time','
|
462 |
<td>
|
463 |
<input type="text" name="wp_logo_slider_settings[auto_slide_time]" value="<?php echo $options['auto_slide_time'] ?>" size="4" />
|
464 |
-
<small><?php _e('Set auto slide duration in seconds','
|
465 |
</td>
|
466 |
</tr>
|
467 |
<tr>
|
468 |
-
<th scope="row"><?php _e('Arrow Style','
|
469 |
<td id="arrow-style">
|
470 |
<p>
|
471 |
<img src="<?php echo plugin_dir_url(__FILE__); ?>/arrows/off.png" width="28" height="40" alt="" />
|
@@ -510,16 +500,16 @@ function wp_logo_settings_admin() {
|
|
510 |
</td>
|
511 |
</tr>
|
512 |
<tr valign="top">
|
513 |
-
<th scope="row"><?php _e('Custom CSS','
|
514 |
<td>
|
515 |
<textarea name="wp_logo_slider_settings[custom_css]" rows="6" cols="70"><?php echo $options['custom_css']; ?></textarea>
|
516 |
</td>
|
517 |
</tr>
|
518 |
-
<input type="hidden" name="wp_logo_slider_settings[update]" value="UPDATED" />
|
519 |
</table>
|
520 |
|
521 |
<p class="submit">
|
522 |
-
<input type="submit" class="button-primary" value="<?php _e('Save Settings','
|
523 |
</p>
|
524 |
</form>
|
525 |
|
@@ -534,8 +524,8 @@ function wp_logo_settings_admin() {
|
|
534 |
<?php
|
535 |
endforeach;
|
536 |
?>
|
537 |
-
<input type="hidden" name="wp_logo_slider_settings[update]" value="RESET" />
|
538 |
-
<input type="submit" class="button" value="<?php _e('Reset Settings','
|
539 |
</form>
|
540 |
<!-- End Reset Option -->
|
541 |
|
3 |
Plugin Name: Logo Slider
|
4 |
Plugin URI: http://www.wordpress.org/extend/plugins/logo-slider
|
5 |
Description: Add a logo slideshow carousel to your site quicky and easily.
|
6 |
+
Version: 1.4.6
|
7 |
Author: Enigma Plugins
|
8 |
Author URI: http://www.enigmaplugins.com
|
9 |
+
Text Domain: logo-slider
|
10 |
+
Domain Path: /languages
|
11 |
*/
|
12 |
|
|
|
13 |
/*
|
14 |
///////////////////////////////////////////////
|
15 |
This section defines the variables that
|
16 |
will be used throughout the plugin
|
17 |
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|
18 |
*/
|
|
|
|
|
19 |
error_reporting(0);
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
// define our defaults (filterable)
|
22 |
$wp_logo_defaults = apply_filters('wp_logo_defaults', array(
|
23 |
'custom_css' => 'You can write your custom CSS here.',
|
71 |
return $links;
|
72 |
}
|
73 |
|
|
|
74 |
/*
|
75 |
///////////////////////////////////////////////
|
76 |
this function is the code that gets loaded when the
|
124 |
// if the uploaded file is NOT an image
|
125 |
if(strpos($type, 'image') === FALSE) {
|
126 |
unlink($file); // delete the file
|
127 |
+
echo '<div class="error" id="message"><p>'.__('Sorry, but the file you uploaded does not seem to be a valid image. Please try again.','logo-slider').'</p></div>';
|
128 |
return;
|
129 |
}
|
130 |
|
213 |
global $wp_logo_slider_settings;
|
214 |
if(isset($wp_logo_slider_settings['update'])) {
|
215 |
echo '<div class="updated fade" id="message">
|
216 |
+
<p>'.__('Wordpress Logo Slider Settings <strong>'.$wp_logo_slider_settings['update'],'logo-slider').'</strong>
|
217 |
</p>
|
218 |
</div>';
|
219 |
|
227 |
function wp_logo_slider_images_update_check() {
|
228 |
global $wp_logo_slider_images;
|
229 |
if($wp_logo_slider_images['update'] == 'Added' || $wp_logo_slider_images['update'] == 'Deleted' || $wp_logo_slider_images['update'] == 'Updated') {
|
230 |
+
echo '<div class="updated fade" id="message"><p>'.__('Image(s) '.$wp_logo_slider_images['update'].' Successfully','logo-slider').'</p></div>';
|
231 |
unset($wp_logo_slider_images['update']);
|
232 |
update_option('wp_logo_slider_images', $wp_logo_slider_images);
|
233 |
}
|
243 |
function wp_logo_images_admin() { ?>
|
244 |
<?php global $wp_logo_slider_images; ?>
|
245 |
<?php wp_logo_slider_images_update_check(); ?>
|
246 |
+
<h2><?php _e('Wordpress LogoSlider Images','logo-slider'); ?></h2>
|
247 |
|
248 |
<table class="form-table">
|
249 |
+
<tr valign="top"><th scope="row"><?php _e('Upload New Image','logo-slider') ?></th>
|
250 |
<td>
|
251 |
<form enctype="multipart/form-data" method="post" action="?page=wp_logo_slider">
|
252 |
<input type="hidden" name="post_id" id="post_id" value="0" />
|
253 |
<input type="hidden" name="action" id="action" value="wp_handle_upload" />
|
254 |
|
255 |
+
<label for="logo_images"><?php _e('Select a File: ','logo-slider') ?></label>
|
256 |
<input type="file" name="logo_images" id="logo_images" />
|
257 |
<input type="submit" class="button-primary" name="html-upload" value="Upload" />
|
258 |
</form>
|
262 |
<br />
|
263 |
|
264 |
<p style="border:2px solid #999; border-radius: 10px; font-size: 12px; padding: 6px 10px; width: 24%;">
|
265 |
+
<strong><?php _e('Note:', 'hmpf') ?> </strong><?php _e('Drag & Drop is auto save.','hmpf') ?>
|
266 |
</p>
|
267 |
|
268 |
<?php
|
271 |
<table class="widefat fixed" cellspacing="0" id="image_sort" style="width:100%; table-layout:inherit;">
|
272 |
<thead>
|
273 |
<tr>
|
274 |
+
<th scope="col" class="column-slug"><?php _e('Image','logo-slider') ?></th>
|
275 |
+
<th scope="col"><?php _e('Image Links To','logo-slider') ?></th>
|
276 |
+
<th scope="col" class="column-slug"><?php _e('Actions','logo-slider') ?></th>
|
277 |
</tr>
|
278 |
</thead>
|
279 |
<tfoot>
|
280 |
<tr>
|
281 |
+
<th scope="col" class="column-slug"><?php _e('Image','logo-slider') ?></th>
|
282 |
+
<th scope="col"><?php _e('Image Links To','logo-slider') ?></th>
|
283 |
+
<th scope="col" class="column-slug"><?php _e('Actions','logo-slider') ?></th>
|
284 |
</tr>
|
285 |
</tfoot>
|
286 |
<tbody>
|
306 |
<?php endforeach; ?>
|
307 |
<input type="hidden" name="wp_logo_slider_images[update]" value="Updated" />
|
308 |
</form>
|
|
|
309 |
</tbody>
|
310 |
</table>
|
311 |
<?php
|
364 |
function wp_logo_settings_admin() {
|
365 |
wp_logo_slider_settings_update_check();
|
366 |
?>
|
367 |
+
<h2><?php _e('Wordpress Logo Slider Settings','logo-slider'); ?></h2>
|
368 |
<form method="post" action="options.php">
|
369 |
<?php
|
370 |
settings_fields('wp_logo_slider_settings');
|
372 |
?>
|
373 |
<table class="form-table">
|
374 |
<tr>
|
375 |
+
<th scope="row"><?php _e('Size','logo-slider') ?></th>
|
376 |
<td>
|
377 |
+
<?php _e('Width: ','logo-slider') ?>
|
378 |
<input type="text" name="wp_logo_slider_settings[slider_width]" value="<?php echo $options['slider_width'] ?>" size="4" />
|
379 |
+
<?php _e('Height: ','logo-slider') ?>
|
380 |
<input type="text" name="wp_logo_slider_settings[slider_height]" value="<?php echo $options['slider_height'] ?>" size="4" />
|
381 |
</td>
|
382 |
</tr>
|
383 |
<tr>
|
384 |
+
<th scope="row"><?php _e('Images Per Slide','logo-slider') ?></th>
|
385 |
<td>
|
386 |
<select name="wp_logo_slider_settings[num_img]">
|
387 |
<option value="1" <?php echo ($options['num_img'] == '1' ? 'selected="selected"' : '') ?>>
|
388 |
+
<?php _e('1','logo-slider') ?>
|
389 |
</option>
|
390 |
<option value="2" <?php echo ($options['num_img'] == '2' ? 'selected="selected"' : '') ?>>
|
391 |
+
<?php _e('2','logo-slider') ?>
|
392 |
</option>
|
393 |
<option value="3" <?php echo ($options['num_img'] == '3' ? 'selected="selected"' : '') ?>>
|
394 |
+
<?php _e('3','logo-slider') ?>
|
395 |
</option>
|
396 |
<option value="4" <?php echo ($options['num_img'] == '4' ? 'selected="selected"' : '') ?>>
|
397 |
+
<?php _e('4','logo-slider') ?>
|
398 |
</option>
|
399 |
<option value="5" <?php echo ($options['num_img'] == '5' ? 'selected="selected"' : '') ?>>
|
400 |
+
<?php _e('5','logo-slider') ?>
|
401 |
</option>
|
402 |
<option value="6" <?php echo ($options['num_img'] == '6' ? 'selected="selected"' : '') ?>>
|
403 |
+
<?php _e('6','logo-slider') ?>
|
404 |
</option>
|
405 |
<option value="7" <?php echo ($options['num_img'] == '7' ? 'selected="selected"' : '') ?>>
|
406 |
+
<?php _e('7','logo-slider') ?>
|
407 |
</option>
|
408 |
<option value="8" <?php echo ($options['num_img'] == '8' ? 'selected="selected"' : '') ?>>
|
409 |
+
<?php _e('8','logo-slider') ?>
|
410 |
</option>
|
411 |
</select>
|
412 |
+
<small><?php _e('Number of logos per slide','logo-slider') ?></small>
|
413 |
</td>
|
414 |
</tr>
|
415 |
<tr>
|
416 |
+
<th scope="row"><?php _e('Background Colour','logo-slider') ?></th>
|
417 |
<td>
|
418 |
<input type="text" name="wp_logo_slider_settings[bgcolour]" value="<?php echo $options['bgcolour'] ?>" />
|
419 |
+
<small><?php _e('Format: ','logo-slider') ?>#FFFFFF</small>
|
420 |
</td>
|
421 |
</tr>
|
422 |
<tr>
|
423 |
+
<th scope="row"><?php _e('Open logo links in New Window','logo-slider') ?></th>
|
424 |
<td>
|
425 |
<input type="checkbox" name="wp_logo_slider_settings[new_window]" <?php echo ($options['new_window'] == 'on' ? 'checked="checked"' : '' ) ?> />
|
426 |
</td>
|
427 |
</tr>
|
428 |
<tr>
|
429 |
+
<th scope="row"><?php _e('Select Slider','logo-slider') ?></th>
|
430 |
<td>
|
431 |
<select name="wp_logo_slider_settings[select_slider]">
|
432 |
<option value="slide" <?php echo ($options['select_slider'] == 'slide' ? 'selected="selected"' : '' ) ?>>
|
433 |
+
<?php _e('Slide','logo-slider') ?>
|
434 |
</option>
|
435 |
<option value="fade" <?php echo ($options['select_slider'] == 'fade' ? 'selected="selected"' : '' ) ?>>
|
436 |
+
<?php _e('Fade','logo-slider') ?>
|
437 |
</option>
|
438 |
</select>
|
439 |
</td>
|
440 |
</tr>
|
441 |
<tr>
|
442 |
+
<th scope="row"><?php _e('Auto Slide','logo-slider') ?></th>
|
443 |
<td id="arrow-style">
|
444 |
+
<?php _e('ON','logo-slider') ?>
|
445 |
<input type="radio" name="wp_logo_slider_settings[auto_slide]" value="1" <?php if($options['auto_slide']==1){echo 'checked="checked"';}?> />
|
446 |
+
<?php _e('OFF','logo-slider') ?>
|
447 |
<input type="radio" name="wp_logo_slider_settings[auto_slide]" value="2" <?php if($options['auto_slide']==2){echo 'checked="checked"';}?>/>
|
448 |
</td>
|
449 |
</tr>
|
450 |
<tr>
|
451 |
+
<th scope="row"><?php _e('Auto Slide Time','logo-slider') ?></th>
|
452 |
<td>
|
453 |
<input type="text" name="wp_logo_slider_settings[auto_slide_time]" value="<?php echo $options['auto_slide_time'] ?>" size="4" />
|
454 |
+
<small><?php _e('Set auto slide duration in seconds','logo-slider') ?></small>
|
455 |
</td>
|
456 |
</tr>
|
457 |
<tr>
|
458 |
+
<th scope="row"><?php _e('Arrow Style','logo-slider') ?></th>
|
459 |
<td id="arrow-style">
|
460 |
<p>
|
461 |
<img src="<?php echo plugin_dir_url(__FILE__); ?>/arrows/off.png" width="28" height="40" alt="" />
|
500 |
</td>
|
501 |
</tr>
|
502 |
<tr valign="top">
|
503 |
+
<th scope="row"><?php _e('Custom CSS','logo-slider') ?></th>
|
504 |
<td>
|
505 |
<textarea name="wp_logo_slider_settings[custom_css]" rows="6" cols="70"><?php echo $options['custom_css']; ?></textarea>
|
506 |
</td>
|
507 |
</tr>
|
508 |
+
<input type="hidden" name="wp_logo_slider_settings[update]" value="<?php _e('UPDATED','logo-slider'); ?>" />
|
509 |
</table>
|
510 |
|
511 |
<p class="submit">
|
512 |
+
<input type="submit" class="button-primary" value="<?php _e('Save Settings','logo-slider') ?>" />
|
513 |
</p>
|
514 |
</form>
|
515 |
|
524 |
<?php
|
525 |
endforeach;
|
526 |
?>
|
527 |
+
<input type="hidden" name="wp_logo_slider_settings[update]" value="<?php _e('RESET','logo-slider'); ?>" />
|
528 |
+
<input type="submit" class="button" value="<?php _e('Reset Settings','logo-slider') ?>" />
|
529 |
</form>
|
530 |
<!-- End Reset Option -->
|
531 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: EnigmaWeb
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CEJ9HFWJ94BG4
|
4 |
Tags: logo slide, logo slideshow, logo slide show, logo carousel, image carousel, logo slider, sponsors, logo showcase
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 4.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
|
@@ -78,6 +78,9 @@ If you've tried all the obvious stuff and it's still not working please request
|
|
78 |
|
79 |
== Changelog ==
|
80 |
|
|
|
|
|
|
|
81 |
= 1.4.5 =
|
82 |
* Off Buttons issue - Fixed.
|
83 |
* Function renamed for admin styles.
|
@@ -122,6 +125,9 @@ If you've tried all the obvious stuff and it's still not working please request
|
|
122 |
|
123 |
== Upgrade Notice ==
|
124 |
|
|
|
|
|
|
|
125 |
= 1.4.5 =
|
126 |
* Off Buttons issue - Fixed.
|
127 |
* Function renamed for admin styles.
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CEJ9HFWJ94BG4
|
4 |
Tags: logo slide, logo slideshow, logo slide show, logo carousel, image carousel, logo slider, sponsors, logo showcase
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 4.3.1
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 1.4.6 =
|
82 |
+
* Updated text domain for the plugin repository's new translations
|
83 |
+
|
84 |
= 1.4.5 =
|
85 |
* Off Buttons issue - Fixed.
|
86 |
* Function renamed for admin styles.
|
125 |
|
126 |
== Upgrade Notice ==
|
127 |
|
128 |
+
= 1.4.6 =
|
129 |
+
* Updated text domain for the plugin repository's new translations
|
130 |
+
|
131 |
= 1.4.5 =
|
132 |
* Off Buttons issue - Fixed.
|
133 |
* Function renamed for admin styles.
|