WordPress.org

Plugin Directory

Changeset 626208


Ignore:
Timestamp:
11/16/12 17:08:20 (17 months ago)
Author:
griffinjt
Message:

Updated to v1.2.0 with some bug fixed and enhancements

Location:
soliloquy-lite/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • soliloquy-lite/trunk/Tgmsp/Lite/Admin.php

    r581160 r626208  
    214214                            <input id="soliloquy-width" type="text" name="_soliloquy_settings[width]" value="<?php echo esc_attr( $this->get_custom_field( '_soliloquy_settings', 'width' ) ); ?>" /> &#215; <input id="soliloquy-height" type="text" name="_soliloquy_settings[height]" value="<?php echo esc_attr( $this->get_custom_field( '_soliloquy_settings', 'height' ) ); ?>" /> 
    215215                            <p class="description"><?php printf( '%s <a class="soliloquy-size-more" href="#">%s</a>', Tgmsp_Lite_Strings::get_instance()->strings['slider_size_desc'], Tgmsp_Lite_Strings::get_instance()->strings['slider_size_more'] ); ?></p> 
    216                             <p id="soliloquy-explain-size" class="description" style="display: none;"><?php printf( '%s <a href="%s" target="_blank">%s</a>.', Tgmsp_Lite_Strings::get_instance()->strings['slider_size_explain'], 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite', Tgmsp_Lite_Strings::get_instance()->strings['slider_size_upgrade'] ); ?></p> 
     216                            <p id="soliloquy-explain-size" class="description" style="display: none;"><?php printf( '%s <a href="%s" target="_blank">%s</a>.', Tgmsp_Lite_Strings::get_instance()->strings['slider_size_explain'], apply_filters( 'tgmsp_affiliate_url', 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite' ), Tgmsp_Lite_Strings::get_instance()->strings['slider_size_upgrade'] ); ?></p> 
    217217                        </div> 
    218218                    </td> 
     
    255255 
    256256        <div class="soliloquy-advanced"> 
    257             <p><strong><?php echo sprintf( Tgmsp_Lite_Strings::get_instance()->strings['slider_cb'], sprintf( '<a href="http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite" title="%1$s" target="_blank">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['slider_cb_up'] ) ); ?></strong></p> 
     257            <p><strong><?php echo sprintf( Tgmsp_Lite_Strings::get_instance()->strings['slider_cb'], sprintf( '<a href="' . apply_filters( 'tgmsp_affiliate_url', 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite' ) . '" title="%1$s" target="_blank">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['slider_cb_up'] ) ); ?></strong></p> 
    258258        </div> 
    259259        <?php 
     
    273273 
    274274        $upgrade = '<p><strong>' . Tgmsp_Lite_Strings::get_instance()->strings['upgrade'] . '</strong></p>'; 
    275         $upgrade .= sprintf( '<p><a href="http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite" title="%1$s" target="_blank"><strong>%1$s</strong></a></p>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_now'] ); 
     275        $upgrade .= sprintf( '<p><a href="' . apply_filters( 'tgmsp_affiliate_url', 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite' ) . '" title="%1$s" target="_blank"><strong>%1$s</strong></a></p>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_now'] ); 
    276276         
    277277        echo $upgrade; 
     
    307307            /** If a user hasn't dismissed the notice yet, output it for them to upgrade */ 
    308308            if ( ! get_user_meta( get_current_user_id(), 'soliloquy_dismissed_notice', true ) ) 
    309                 add_settings_error( 'tgmsp', 'tgmsp-upgrade-soliloquy', sprintf( Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag'], sprintf( '<a href="http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite" title="%1$s" target="_blank">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag_link'] ), sprintf( '<a id="soliloquy-dismiss-notice" href="#" title="%1$s">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag_dismiss'] ) ), 'updated' ); 
     309                add_settings_error( 'tgmsp', 'tgmsp-upgrade-soliloquy', sprintf( Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag'], sprintf( '<a href="' . apply_filters( 'tgmsp_affiliate_url', 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite' ) . '" title="%1$s" target="_blank">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag_link'] ), sprintf( '<a id="soliloquy-dismiss-notice" href="#" title="%1$s">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag_dismiss'] ) ), 'updated' ); 
    310310             
    311311            /** Allow settings notices to be filtered */ 
  • soliloquy-lite/trunk/Tgmsp/Lite/Help.php

    r581160 r626208  
    4646        /** Set a 'global' help sidebar for all Soliloquy related pages */ 
    4747        if ( Tgmsp_Lite::is_soliloquy_screen() ) 
    48             $current_screen->set_help_sidebar( sprintf( '<p><strong>%1$s</strong></p><p><strong><a href="http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite" title="%2$s" target="_blank">%2$s</a></strong></p>', Tgmsp_Lite_Strings::get_instance()->strings['sidebar_help_title'], Tgmsp_Lite_Strings::get_instance()->strings['sidebar_help_upgrade'] ) ); 
     48            $current_screen->set_help_sidebar( sprintf( '<p><strong>%1$s</strong></p><p><strong><a href="' . apply_filters( 'tgmsp_affiliate_url', 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite' ) . '" title="%2$s" target="_blank">%2$s</a></strong></p>', Tgmsp_Lite_Strings::get_instance()->strings['sidebar_help_title'], Tgmsp_Lite_Strings::get_instance()->strings['sidebar_help_upgrade'] ) ); 
    4949         
    5050        /** Set help for the main edit screen */ 
     
    5353                'id'        => 'soliloquy-main-help', 
    5454                'title'     => Tgmsp_Lite_Strings::get_instance()->strings['overview'], 
    55                 'content'   => sprintf( '<p>%s</p><p>%s</p><p><strong>%s</strong></p>', Tgmsp_Lite_Strings::get_instance()->strings['main_help'], Tgmsp_Lite_Strings::get_instance()->strings['main_help_two'], sprintf( Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag'], sprintf( '<a href="http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite" title="%1$s" target="_blank">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag_link'] ), '' ) ) 
     55                'content'   => sprintf( '<p>%s</p><p>%s</p><p><strong>%s</strong></p>', Tgmsp_Lite_Strings::get_instance()->strings['main_help'], Tgmsp_Lite_Strings::get_instance()->strings['main_help_two'], sprintf( Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag'], sprintf( '<a href="' . apply_filters( 'tgmsp_affiliate_url', 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite' ) . '" title="%1$s" target="_blank">%1$s</a>', Tgmsp_Lite_Strings::get_instance()->strings['upgrade_nag_link'] ), '' ) ) 
    5656            ) ); 
    5757        } 
     
    6767                'id'        => 'soliloquy-advanced-help', 
    6868                'title'     => Tgmsp_Lite_Strings::get_instance()->strings['advanced_help'], 
    69                 'content'   => sprintf( '<p><strong>%1$s</strong></p><p><a href="http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite" title="%2$s" target="_blank"><strong>%2$s</strong></a></p><p><a href="http://demo.soliloquywp.com/wp-admin/" title="%3$s" target="_blank"><em>%3$s</em></a></p>', Tgmsp_Lite_Strings::get_instance()->strings['advanced_help_desc'], Tgmsp_Lite_Strings::get_instance()->strings['advanced_help_up'], Tgmsp_Lite_Strings::get_instance()->strings['advanced_help_demo'] ) 
     69                'content'   => sprintf( '<p><strong>%1$s</strong></p><p><a href="' . apply_filters( 'tgmsp_affiliate_url', 'http://soliloquywp.com/pricing/?utm_source=orgrepo&utm_medium=link&utm_campaign=Soliloquy%2BLite' ) . '" title="%2$s" target="_blank"><strong>%2$s</strong></a></p><p><a href="http://demo.soliloquywp.com/wp-admin/" title="%3$s" target="_blank"><em>%3$s</em></a></p>', Tgmsp_Lite_Strings::get_instance()->strings['advanced_help_desc'], Tgmsp_Lite_Strings::get_instance()->strings['advanced_help_up'], Tgmsp_Lite_Strings::get_instance()->strings['advanced_help_demo'] ) 
    7070            ) ); 
    7171        } 
  • soliloquy-lite/trunk/Tgmsp/Lite/Strings.php

    r581160 r626208  
    4141            'add_slider'            => esc_attr__( 'Add Soliloquy Slider', 'soliloquy-lite' ), 
    4242            'advanced_help'         => __( 'Soliloquy Advanced', 'soliloquy-lite' ), 
    43             'advanced_help_desc'    => __( 'Want even more advanced features for Soliloquy? How about embedded video support for YouTube and Vimeo, easy internal linking, full support for available FlexSlider options and APIs, custom sizes, and even Addons?', 'soliloquy-lite' ), 
     43            'advanced_help_desc'    => __( 'Want even more advanced features for Soliloquy? How about ajax preloading, embedded video support for YouTube and Vimeo, easy internal linking, full support for available FlexSlider options and APIs, custom sizes, and even Addons?', 'soliloquy-lite' ), 
    4444            'advanced_help_demo'    => __( 'Or go ahead and test a live demo of the full version yourself.', 'soliloquy-lite' ), 
    4545            'advanced_help_up'      => __( 'Click here to upgrade to the full version of Soliloquy!', 'soliloquy-lite' ), 
     
    9595            'slider_animate_desc'   => __( 'If unchecked, users must manually scroll through slides.', 'soliloquy-lite' ), 
    9696            'slider_animation_dur'  => __( 'Animation Duration', 'soliloquy-lite' ), 
    97             'slider_cb'             => __( 'For even more advanced functionality like embedded video support, controlling mousewheel and keyboard navigation, pause/play elements, extra animations, custom slider sizes registered with WordPress and smooth height controls, %s', 'soliloquy-lite' ), 
     97            'slider_cb'             => __( 'For even more advanced functionality like ajax preloading, embedded video support, controlling mousewheel and keyboard navigation, pause/play elements, extra animations, custom slider sizes registered with WordPress and smooth height controls, %s', 'soliloquy-lite' ), 
    9898            'slider_cb_up'          => __( 'click here to upgrade to the full version of Soliloquy!', 'soliloquy-lite' ), 
    9999            'slider_choose'         => __( 'Choose Your Slider', 'soliloquy-lite' ), 
  • soliloquy-lite/trunk/readme.txt

    r585925 r626208  
    5252== Changelog == 
    5353 
     54= 1.2.0 = 
     55* Updated to fix some MS issues 
     56* General bug fixes and enhancements 
     57 
    5458= 1.1.0 = 
    5559* Updated icons and such to reflect new branding 
  • soliloquy-lite/trunk/soliloquy-lite.php

    r583708 r626208  
    66Author: Thomas Griffin 
    77Author URI: http://thomasgriffinmedia.com/ 
    8 Version: 1.1.0 
     8Version: 1.2.0 
    99License: GNU General Public License v2.0 or later 
    1010License URI: http://www.opensource.org/licenses/gpl-license.php 
     
    145145    public static function autoload( $classname ) { 
    146146     
    147         if ( 'Tgmsp_Lite' !== substr( $classname, 0, 10 ) ) 
     147        if ( 'Tgmsp_Lite' !== mb_substr( $classname, 0, 10 ) ) 
    148148            return; 
    149149             
    150150        $filename = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . str_replace( '_', DIRECTORY_SEPARATOR, $classname ) . '.php'; 
    151         require $filename; 
     151        if ( file_exists( $filename ) ) 
     152            require $filename; 
    152153     
    153154    } 
Note: See TracChangeset for help on using the changeset viewer.