Plugin Directory

Changeset 533099


Ignore:
Timestamp:
04/18/2012 08:07:57 PM (14 years ago)
Author:
remix4
Message:

1.4.1

Location:
social-media-tabs
Files:
28 added
5 edited

Legend:

Unmodified
Added
Removed
  • social-media-tabs/trunk/css/dcsmt.css

    r509515 r533099  
    117117.dcsmt {
    118118overflow: hidden; /* Required to hide the inactive slides */
     119position:relative;
    119120}
    120121li.tab-content {
  • social-media-tabs/trunk/dcwp_social_media_tabs.php

    r509515 r533099  
    66        Description: Social media tabs allows you to add facebook, google +1, twitter, flickr, pinterest, YouTube subscription and RSS profiles and feeds to any widget area with stylish sliding tabs. Option also to have the tabs slide out from the side of the browsers
    77        Author: Lee Chestnutt
    8         Version: 1.4
     8        Version: 1.4.1
    99        Author URI: http://www.designchemical.com
    1010*/
    1111
    12 class dc_jqsocialtabs {
     12class dc_jqsocialmediatabs {
    1313
    14     function dc_jqsocialtabs(){
     14    function dc_jqsocialmediatabs(){
    1515   
    1616        if(!is_admin()){
    1717            // Header styles
    18             add_action( 'init', array('dc_jqsocialtabs', 'header') );
     18            add_action( 'init', array('dc_jqsocialmediatabs', 'header') );
    1919
    2020        }
    21         add_action( 'wp_footer', array('dc_jqsocialtabs', 'footer') );
     21        add_action( 'wp_footer', array('dc_jqsocialmediatabs', 'footer') );
    2222    }
    2323
     
    2626                    // Scripts
    2727            wp_enqueue_script( 'jquery' );
    28             wp_enqueue_script( 'dcjqsocialtabs', dc_jqsocialtabs::get_plugin_directory() . '/js/jquery.dcsmt.1.0.js', array('jquery') );
     28            wp_enqueue_script( 'dcjqsocialtabs', dc_jqsocialmediatabs::get_plugin_directory() . '/js/jquery.dcsmt.1.0.js', array('jquery') );
    2929    }
    3030   
     
    4343if(is_admin()) {
    4444
    45     $dc_jqsocialtabs_admin = new dc_jqsocialtabs_admin();
     45    $dc_jqsocialmediatabs_admin = new dc_jqsocialmediatabs_admin();
    4646
    4747}
    4848
    4949// Initialize the plugin.
    50 $dcjqsocialtabs = new dc_jqsocialtabs();
     50$dcjqsocialtabs = new dc_jqsocialmediatabs();
    5151
    5252// Register the widget
    53 add_action('widgets_init', create_function('', 'return register_widget("dc_jqsocialtabs_widget");'));
     53add_action('widgets_init', create_function('', 'return register_widget("dc_jqsocialmediatabs_widget");'));
    5454
    5555/* Time since function taken from WordPress.com */
  • social-media-tabs/trunk/inc/dcwp_admin.php

    r509515 r533099  
    33require_once('dcwp_widget.php');
    44
    5 if(!class_exists('dc_jqsocialtabs_admin')) {
     5if(!class_exists('dc_jqsocialmediatabs_admin')) {
    66   
    7     class dc_jqsocialtabs_admin extends dcwp_plugin_admin_dcsmt {
     7    class dc_jqsocialmediatabs_admin extends dcwp_plugin_admin_dcsmt {
    88   
    99        var $hook = 'social-media-tabs';
     
    4848            <?php
    4949                settings_fields('dcsmt_options_group'); $options = get_option('dcsmt_options');
    50                 $plugin_url = dc_jqsocialtabs::get_plugin_directory();
     50                $plugin_url = dc_jqsocialmediatabs::get_plugin_directory();
    5151                $icon_url = $plugin_url.'/css/images/';
    5252                $skin = $options['skin'] ;
  • social-media-tabs/trunk/inc/dcwp_widget.php

    r509515 r533099  
    11<?php
    2 class dc_jqsocialtabs_widget extends WP_Widget {
     2class dc_jqsocialmediatabs_widget extends WP_Widget {
    33   
    44    /** constructor */
    5     function dc_jqsocialtabs_widget() {
     5    function dc_jqsocialmediatabs_widget() {
    66   
    77        $name =         'Social Media Tabs';
    88        $desc =         'Sliding social media profile tabs - Facebook, Google, Twitter, YouTube & RSS Feeds';
    9         $id_base =      'dc_jqsocialtabs_widget';
     9        $id_base =      'dc_jqsocialmediatabs_widget';
    1010        $css_class =    'dcsmt_widget';
    1111        $alt_option =   'widget_dcjq_social_media_tabs';
     
    8484        $options = get_option('dcsmt_options');
    8585        $cache = $options['cache'] != '' ? $options['cache'] * 60 : '' ;
    86         $plugin_url = dc_jqsocialtabs::get_plugin_directory();
     86        $plugin_url = dc_jqsocialmediatabs::get_plugin_directory();
    8787        $icon_url = $plugin_url.'/css/images/';
    8888       
     
    458458            $skin = $options['skin'];
    459459            if($skin != 'true'){
    460                 echo "\n\t<link rel=\"stylesheet\" href=\"".dc_jqsocialtabs::get_plugin_directory()."/css/dcsmt.css\" type=\"text/css\" media=\"screen\"  />";
     460                echo "\n\t<link rel=\"stylesheet\" href=\"".dc_jqsocialmediatabs::get_plugin_directory()."/css/dcsmt.css\" type=\"text/css\" media=\"screen\"  />";
    461461            }
    462462        }
     
    977977        }
    978978       
    979 } // class dc_jqsocialtabs_widget
     979} // class dc_jqsocialmediatabs_widget
  • social-media-tabs/trunk/readme.txt

    r509515 r533099  
    55Requires at least: 3.0
    66Tested up to: 3.3.1
    7 Stable tag: 1.4
     7Stable tag: 1.4.1
    88
    99Social media tabs allows you to add facebook, google +1, twitter, flickr, pinterest, YouTube subscription and RSS profiles and feeds to any widget area with stylish sliding tabs. Option also to have the tabs slide out from the side of the browsers.
     
    109109== Changelog ==
    110110
     111= 1.4.1 =
     112* Updated: Redeclare class name
     113
    111114= 1.4 =
    112115* Added: Caching option for tab results
Note: See TracChangeset for help on using the changeset viewer.