Plugin Directory

Changeset 813946


Ignore:
Timestamp:
12/02/2013 09:00:16 PM (12 years ago)
Author:
Crinsane
Message:

Version 1.4.3 - New translation and little styling fix for new WPBeta

Location:
rg-slider
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • rg-slider/tags/1.4.3/assets/css/rg-slider-style.css

    r747956 r813946  
    6161  width: 340px;
    6262}
     63#caption_label {
     64  margin-top: -20px;
     65  padding: 25px 0;
     66}
  • rg-slider/tags/1.4.3/assets/css/rg-slider-style.styl

    r747956 r813946  
    5959.wp-list-table.slides .column-title
    6060    width 340px
     61
     62#caption_label
     63    margin-top -20px
     64    padding 25px 0
  • rg-slider/tags/1.4.3/readme.txt

    r753399 r813946  
    22Tags: slideshow, slides, slider, images, jquery
    33Requires at least: 3.5
    4 Tested up to: 3.5.2
    5 Stable tag: 1.4.2
     4Tested up to: 3.8-beta-1
     5Stable tag: 1.4.3
    66License: GPLv2
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555= 1.4.2 =
    5656* Made sorting actually work on the slideshow
     57
     58= 1.4.3 =
     59* Added Serbo-Croatian translation (Thanks to Borisa Djuraskovic of [Web Hosting Hub](http://www.webhostinghub.com)!)
     60* Little fix for WordPress 3.8-beta-1 styling
  • rg-slider/tags/1.4.3/rg-slider-croppage.php

    r709096 r813946  
    1313    {
    1414        add_submenu_page(NULL, 'Crop Page', 'Crop Page', 'administrator', 'rg-slider-crop-page', array($this, 'display'));
    15     }   
     15    }
    1616
    1717    //------------------------------------------------------------------------
     
    9696                    <!-- Caption wp_editor container -->
    9797                    <div id="new_image_form_container">
    98                         <h3><?php _e('Add a caption', 'rg-slider');?></h3>
     98                        <h3 <?php echo is_version('3.7', '>') ? 'id="caption_label"' : '';?>><?php _e('Add a caption', 'rg-slider');?></h3>
    9999                        <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv';?>" class="postarea">
    100                             <?php 
     100                            <?php
    101101                                // Add the wp_editor, set caption as content
    102102                                // And don't show media buttons. And we want a very
  • rg-slider/tags/1.4.3/rg-slider-helpers.php

    r709096 r813946  
    2828 * Validate mimetype
    2929 *
    30  * Takes the file mimetype and checks if it's one of the mimetypes that 
     30 * Takes the file mimetype and checks if it's one of the mimetypes that
    3131 * will be accepted
    3232 *
     
    8585        else
    8686        {
    87             return $slideshow[0]->slug; 
     87            return $slideshow[0]->slug;
    8888        }
    8989    }
    9090}
     91
     92/**
     93 * Check the current version of the Wordpress Installation
     94 * against a given version number
     95 *
     96 * @param string  $version   The version to check against
     97 * @param string  $operator  The operator to use for the comparison
     98 */
     99if( ! function_exists('is_version'))
     100{
     101    function is_version($version = '3.8', $operator = '>=')
     102    {
     103        // Get global $wp_version variable
     104        global $wp_version;
     105
     106        // Compare version with supplied version
     107        return version_compare($wp_version, $version, $operator);
     108    }
     109}
  • rg-slider/tags/1.4.3/rg-slider.php

    r753399 r813946  
    55Plugin URI: http://robgloudemans.nl/rg-slider
    66Description: A jQuery slideshow on your website/blog made easy
    7 Version: 1.4.2
     7Version: 1.4.3
    88Author: Rob Gloudemans
    99Author URI: http://robgloudemans.nl
  • rg-slider/trunk/assets/css/rg-slider-style.css

    r747956 r813946  
    6161  width: 340px;
    6262}
     63#caption_label {
     64  margin-top: -20px;
     65  padding: 25px 0;
     66}
  • rg-slider/trunk/assets/css/rg-slider-style.styl

    r747956 r813946  
    5959.wp-list-table.slides .column-title
    6060    width 340px
     61
     62#caption_label
     63    margin-top -20px
     64    padding 25px 0
  • rg-slider/trunk/readme.txt

    r753399 r813946  
    22Tags: slideshow, slides, slider, images, jquery
    33Requires at least: 3.5
    4 Tested up to: 3.5.2
    5 Stable tag: 1.4.2
     4Tested up to: 3.8-beta-1
     5Stable tag: 1.4.3
    66License: GPLv2
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555= 1.4.2 =
    5656* Made sorting actually work on the slideshow
     57
     58= 1.4.3 =
     59* Added Serbo-Croatian translation (Thanks to Borisa Djuraskovic of [Web Hosting Hub](http://www.webhostinghub.com)!)
     60* Little fix for WordPress 3.8-beta-1 styling
  • rg-slider/trunk/rg-slider-croppage.php

    r709096 r813946  
    1313    {
    1414        add_submenu_page(NULL, 'Crop Page', 'Crop Page', 'administrator', 'rg-slider-crop-page', array($this, 'display'));
    15     }   
     15    }
    1616
    1717    //------------------------------------------------------------------------
     
    9696                    <!-- Caption wp_editor container -->
    9797                    <div id="new_image_form_container">
    98                         <h3><?php _e('Add a caption', 'rg-slider');?></h3>
     98                        <h3 <?php echo is_version('3.7', '>') ? 'id="caption_label"' : '';?>><?php _e('Add a caption', 'rg-slider');?></h3>
    9999                        <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv';?>" class="postarea">
    100                             <?php 
     100                            <?php
    101101                                // Add the wp_editor, set caption as content
    102102                                // And don't show media buttons. And we want a very
  • rg-slider/trunk/rg-slider-helpers.php

    r709096 r813946  
    2828 * Validate mimetype
    2929 *
    30  * Takes the file mimetype and checks if it's one of the mimetypes that 
     30 * Takes the file mimetype and checks if it's one of the mimetypes that
    3131 * will be accepted
    3232 *
     
    8585        else
    8686        {
    87             return $slideshow[0]->slug; 
     87            return $slideshow[0]->slug;
    8888        }
    8989    }
    9090}
     91
     92/**
     93 * Check the current version of the Wordpress Installation
     94 * against a given version number
     95 *
     96 * @param string  $version   The version to check against
     97 * @param string  $operator  The operator to use for the comparison
     98 */
     99if( ! function_exists('is_version'))
     100{
     101    function is_version($version = '3.8', $operator = '>=')
     102    {
     103        // Get global $wp_version variable
     104        global $wp_version;
     105
     106        // Compare version with supplied version
     107        return version_compare($wp_version, $version, $operator);
     108    }
     109}
  • rg-slider/trunk/rg-slider.php

    r753399 r813946  
    55Plugin URI: http://robgloudemans.nl/rg-slider
    66Description: A jQuery slideshow on your website/blog made easy
    7 Version: 1.4.2
     7Version: 1.4.3
    88Author: Rob Gloudemans
    99Author URI: http://robgloudemans.nl
Note: See TracChangeset for help on using the changeset viewer.