Plugin Directory

Changeset 805829


Ignore:
Timestamp:
11/17/2013 05:17:15 PM (12 years ago)
Author:
Catapult
Message:

Tagging 1.1

Location:
wp-slide-out-tab/tags/1.1
Files:
4 edited
4 copied

Legend:

Unmodified
Added
Removed
  • wp-slide-out-tab/tags/1.1/output.php

    r801016 r805829  
    88
    99    <div id="slide-out-tab-content">
    10         <?php echo get_option ( "wp_slide_out_content" ); ?>
    11        
     10        <?php echo do_shortcode (  get_option ( "wp_slide_out_content" ) ); ?>
     11
    1212    </div><!-- #slide-out-tab-content -->
    13    
     13
    1414    <div id="slide-out-tab-tab"><!-- The tab -->
    1515        <?php echo get_option ( "wp_slide_out_title" ); ?>
  • wp-slide-out-tab/tags/1.1/readme.txt

    r801554 r805829  
    44Requires at least: 3.7
    55Tested up to: 3.7.1
    6 Stable tag: 1.0.4
     6Stable tag: 1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141== Changelog ==
    4242
     43= 1.1 =
     44Content now correctly displays shortcodes
     45
    4346= 1.0.4 =
    4447Updated plugin headers
  • wp-slide-out-tab/tags/1.1/settings.php

    r801016 r805829  
    11<?php
    2 
    32/**
    4 
    53 * Settings
    6 
    74 */
    85
    9 
    10 
    116?>
    12 
    137<div class="wrap">
    14 
    158    <h2>Slide Out Tab</h2>
    16 
    179    <form method="post" action="options.php">
    18 
    1910        <?php @settings_fields('wp_slide_out_tab-group'); ?>
    2011        <?php @do_settings_fields('wp_slide_out_tab-group'); ?>
     
    2617                <td><input type="checkbox" id="wp_slide_out_enable" name="wp_slide_out_enable" value="1" <?php checked ( get_option ( 'wp_slide_out_enable' ), 1, true ); ?> /></td>
    2718            </tr>
    28            
     19
    2920            <tr valign="top">
    3021                <th scope="row"><label for="wp_slide_out_title">Title</label></th>
     
    4031                <td><?php wp_editor ( get_option ( 'wp_slide_out_content' ), 'wp_slide_out_content', $settings ); ?></td>
    4132            </tr>
    42            
     33
    4334        </table>
    4435
     
    5041                <td><input size="5" value="<?php echo absint ( get_option ( 'wp_slide_out_width', '400' ) ); ?>" name="wp_slide_out_width" id="wp_slide_out_width" type="text" /> px</td>
    5142            </tr>
    52            
     43
    5344        </table>
    54        
     45
    5546        <h3>Colors</h3>
    5647
     
    6657                <td><input value="<?php echo get_option ( 'wp_slide_out_border_color' ); ?>" name="wp_slide_out_border_color" id="wp_slide_out_border_color" type="text" class="color-picker" data-default-color="#ffffff" /></td>
    6758            </tr>
    68            
     59
    6960            <tr valign="top">
    7061                <th scope="row"><label for="wp_slide_out_text_color">Tab text color</label></th>
    7162                <td><input value="<?php echo get_option ( 'wp_slide_out_text_color' ); ?>" name="wp_slide_out_text_color" id="wp_slide_out_text_color" type="text" class="color-picker" data-default-color="#666666" /></td>
    7263            </tr>
    73            
     64
    7465        </table>
    75        
     66
    7667        <script>
    7768            jQuery(document).ready(function($){
  • wp-slide-out-tab/tags/1.1/slide-out-tab-script.js

    r801016 r805829  
    99    contentheight=$('#slide-out-tab-content').height() + 17;
    1010    console.log('asdf' + tabheight);
    11 //  $('#slide-out-tab-tab').html(tabheight);
    1211    $('#slide-out-tab-wrap').css('bottom',tabheight+'px');
    1312    // On click, slide the tab up and down
    1413
    15     $('#slide-out-tab-tab').on('click',function(){     
     14    $('#slide-out-tab-tab').on('click',function(){
    1615        position = $('#slide-out-tab-wrap').css('bottom');
    1716        newposition=0;
  • wp-slide-out-tab/tags/1.1/slide-out-tab.php

    r801554 r805829  
    66Plugin URI: http://catapultdesign.co.uk
    77Description: A slide out tab that can be used for marketing and promotional offers
    8 Version: 1.0.4
     8Version: 1.1
    99Author: Catapult
    1010Author URI: http://catapultdesign.co.uk
     
    1414
    1515This program is free software; you can redistribute it and/or modify
    16 it under the terms of the GNU General Public License, version 2, as 
     16it under the terms of the GNU General Public License, version 2, as
    1717published by the Free Software Foundation.
    1818
     
    3434
    3535    class WP_Slide_Out_Tab {
    36    
    3736
    38         /** * Construct the plugin object */
    3937
    40         public function __construct() {
     38        /** * Construct the plugin object */
     39
     40        public function __construct() {
    4141
    4242        // register actions
     
    5656
    5757
    58         public static function activate() { 
     58        public static function activate() {
    5959
    6060            // Do nothing
     
    6363
    6464
    65         public static function deactivate() { 
     65        public static function deactivate() {
    6666
    6767            // Do nothing
     
    129129
    130130        }
    131        
     131
    132132        public function output_styles() {
    133133            if ( get_option ( 'wp_slide_out_enable' ) == 1 ) { // Only output styles if the tab is enabled
     
    181181    register_activation_hook(__FILE__, array('WP_Slide_Out_Tab', 'activate'));
    182182
    183     register_deactivation_hook(__FILE__, array('WP_Slide_Out_Tab', 'deactivate')); 
     183    register_deactivation_hook(__FILE__, array('WP_Slide_Out_Tab', 'deactivate'));
    184184
    185185
Note: See TracChangeset for help on using the changeset viewer.