WordPress.org

Plugin Directory

Changeset 1385920


Ignore:
Timestamp:
04/04/16 05:59:45 (19 months ago)
Author:
SriniG
Message:

v2.0.5: Changed footer elements in widget back to div to prevent HTML validation errors; Minor mods to admin header markup & styling

Location:
quotes-collection/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • quotes-collection/trunk/css/quotes-collection-admin.css

    r1138881 r1385920  
    88header { 
    99    margin: 0 0 1em; 
     10} 
     11 
     12#quotescollection-title { 
     13    font-size: 23px; 
     14    font-weight: 400; 
     15    margin: 0; 
     16    padding: 9px 15px 4px 0; 
     17    line-height: 29px; 
    1018} 
    1119 
  • quotes-collection/trunk/css/quotes-collection.css

    r1138881 r1385920  
    1010/* Widget */ 
    1111 
    12 .quotescollection-quote footer.attribution { 
     12.quotescollection-quote .attribution { 
    1313    text-align: right; 
    1414    margin-bottom: 1.4em; 
  • quotes-collection/trunk/inc/class-quotes-collection-admin.php

    r1138881 r1385920  
    378378        <div id="quotescollection-admin-page" class="wrap"> 
    379379        <header> 
     380        <h1 id="quotescollection-title">Quotes Collection</h1> 
    380381        <h2 id="quotescollection-nav" class="nav-tab-wrapper"> 
    381             Quotes Collection 
    382382             
    383383            <?php if( current_user_can( self::USER_LEVEL_MANAGE_QUOTES ) ): ?> 
  • quotes-collection/trunk/inc/class-quotes-collection-quote.php

    r1138881 r1385920  
    104104            'before' => '<blockquote id="quote-' . $this->quote_id . '" class="quotescollection-quote">', 
    105105            'after' => '</blockquote>', 
     106            'before_attribution' => '<footer class="attribution">&mdash;&nbsp;', 
     107            'after_attribution' => '</footer>', 
    106108        ); 
    107109 
     
    124126 
    125127        if($attribution) { 
    126             $display .= "\n".'<footer class="attribution">&mdash;&nbsp;'.$attribution.'</footer>'; 
     128            if( $options['before_attribution'] ) { 
     129                $attribution = $options['before_attribution'] . $attribution; 
     130            } 
     131 
     132            if( $options['after_attribution'] ) { 
     133                $attribution .= $options['after_attribution']; 
     134            } 
     135            $display .= "\n".$attribution; 
    127136        } 
    128137 
  • quotes-collection/trunk/inc/class-quotes-collection.php

    r1166875 r1385920  
    1010     
    1111    /** Plugin version **/ 
    12     const PLUGIN_VERSION = '2.0.4'; 
     12    const PLUGIN_VERSION = '2.0.5'; 
    1313 
    1414    public $refresh_link_text; 
     
    263263                        'before' => '', 
    264264                        'after' => '', 
     265                        'before_attribution' => '<div class="attribution">&mdash;&nbsp;', 
     266                        'after_attribution' => '</div>', 
    265267                    ) 
    266268                ); 
     
    303305                    $display .=  
    304306                        "\n<!--\ndocument.write(\"" 
    305                             .'<footer class=\"navigation\">' 
     307                            .'<div class=\"navigation\">' 
    306308                                .'<div class=\"nav-next\">' 
    307309                                    .'<a class=\"next-quote-link\" style=\"cursor:pointer;\" onclick=\"quotescollectionRefresh(args_'.$instance.')\">' 
     
    309311                                    .'</a>' 
    310312                                .'</div>' 
    311                             .'</footer>' 
     313                            .'</div>' 
    312314                        ."\")\n//-->\n"; 
    313315                } 
  • quotes-collection/trunk/js/quotes-collection.js

    r1138881 r1385920  
    5252    } 
    5353    if(attribution) { 
    54         display += '<footer class=\"attribution\">&mdash;&nbsp;' + attribution + '</footer>'; 
     54        display += '<div class=\"attribution\">&mdash;&nbsp;' + attribution + '</div>'; 
    5555    } 
    5656    if(args.ajaxRefresh && !args.autoRefresh) 
    57         display += '<footer class=\"navigation\"><div class=\"nav-next\"><a class=\"next-quote-link\" style=\"cursor:pointer;\" onclick=\"quotescollectionRefreshInstance(\''+args.instanceID+'\')\">'+quotescollectionAjax.nextQuote+'</a></div></footer>'; 
     57        display += '<div class=\"navigation\"><div class=\"nav-next\"><a class=\"next-quote-link\" style=\"cursor:pointer;\" onclick=\"quotescollectionRefreshInstance(\''+args.instanceID+'\')\">'+quotescollectionAjax.nextQuote+'</a></div></div>'; 
    5858    return display; 
    5959} 
  • quotes-collection/trunk/quotes-collection.php

    r1166875 r1385920  
    44 * Plugin URI: http://srinig.com/wordpress/plugins/quotes-collection/ 
    55 * Description: Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog/website. 
    6  * Version: 2.0.4 
     6 * Version: 2.0.5 
    77 * Author: Srini G 
    88 * Author URI: http://srinig.com/ 
  • quotes-collection/trunk/readme.txt

    r1166875 r1385920  
    44Tags: quotes collection, quotes, quotations, random quote, sidebar, widget, ajax, shortcode 
    55Requires at least: 3.1 
    6 Tested up to: 4.2.2 
     6Tested up to: 4.5-RC1 
    77Stable tag: trunk 
    88License: GNU General Public License 
     
    3737    * Show only quotes with certain tags 
    3838    * Specify a character limit and filter out bigger quotes 
    39 * **Shortcode**: Quotes can be displayed in a WordPress page by placing a `[quotcoll]`shortcode. Few examples are provided below. For more examples and the full list of arguments, please refer the [plugin homepage](http://srinig.com/wordpress/plugins/quotes-collection/) or 'other notes'. 
     39* **Shortcode**: Quotes can be displayed in a WordPress page by placing a `[quotcoll]`shortcode. Few examples are provided below. For more examples and the full list of arguments, please refer 'other notes'. 
    4040    * Placing `[quotcoll]` in the page displays all quotes. 
    4141    * `[quotcoll author="Somebody"]` displays quotes authored by Somebody. 
     
    4646* The plugin suppports localization. Refer the plugin page or 'other notes' for the full list of available languages and the respective translators.  
    4747 
    48 For more information, visit the [plugin homepage](http://srinig.com/wordpress/plugins/quotes-collection/). 
    4948 
    5049== Installation == 
     
    256255==Changelog== 
    257256 
     257* **2016-04-04: Version 2.0.5** 
     258    * Changed footer elements in widget back to div to prevent HTML validation errors 
     259    * Minor modifications in admin page header markup and styling 
     260 
    258261* **2015-05-25: Version 2.0.4** 
    259262    * Updates to localization in Hungarian and Swedish languages 
     
    482485== Upgrade Notice == 
    483486 
     487= 2.0.5 = 
     488If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading. Version 2.0 is a major update. 
     489 
    484490= 2.0.4 = 
    485491If you upgrade from a version prior to 2.0, you will have to re-add the widget and set the widget options once again after upgrading. Version 2.0 is a major update. v2.0.1 fixes unformatted output on refresh. v2.0.2, 2.0.3 and 2.0.4 are localization updates. 
Note: See TracChangeset for help on using the changeset viewer.