Changeset 533099
- Timestamp:
- 04/18/2012 08:07:57 PM (14 years ago)
- Location:
- social-media-tabs
- Files:
-
- 28 added
- 5 edited
-
tags/1.4.1 (added)
-
tags/1.4.1/css (added)
-
tags/1.4.1/css/admin.css (added)
-
tags/1.4.1/css/dcsmt.css (added)
-
tags/1.4.1/css/dcsmt_admin.css (added)
-
tags/1.4.1/css/images (added)
-
tags/1.4.1/css/images/close.png (added)
-
tags/1.4.1/css/images/custom.png (added)
-
tags/1.4.1/css/images/dc_icon32.png (added)
-
tags/1.4.1/css/images/facebook.png (added)
-
tags/1.4.1/css/images/flickr.png (added)
-
tags/1.4.1/css/images/pinterest.png (added)
-
tags/1.4.1/css/images/plusone.png (added)
-
tags/1.4.1/css/images/rss.png (added)
-
tags/1.4.1/css/images/slider-controls.png (added)
-
tags/1.4.1/css/images/twitter.png (added)
-
tags/1.4.1/css/images/youtube.png (added)
-
tags/1.4.1/dcwp_social_media_tabs.php (added)
-
tags/1.4.1/inc (added)
-
tags/1.4.1/inc/dcwp_admin.php (added)
-
tags/1.4.1/inc/dcwp_plugin_admin.php (added)
-
tags/1.4.1/inc/dcwp_widget.php (added)
-
tags/1.4.1/js (added)
-
tags/1.4.1/js/jquery.admin.js (added)
-
tags/1.4.1/js/jquery.dcsmt.1.0.js (added)
-
tags/1.4.1/readme.txt (added)
-
tags/1.4.1/screenshot-1.png (added)
-
tags/1.4.1/screenshot-2.png (added)
-
trunk/css/dcsmt.css (modified) (1 diff)
-
trunk/dcwp_social_media_tabs.php (modified) (3 diffs)
-
trunk/inc/dcwp_admin.php (modified) (2 diffs)
-
trunk/inc/dcwp_widget.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-media-tabs/trunk/css/dcsmt.css
r509515 r533099 117 117 .dcsmt { 118 118 overflow: hidden; /* Required to hide the inactive slides */ 119 position:relative; 119 120 } 120 121 li.tab-content { -
social-media-tabs/trunk/dcwp_social_media_tabs.php
r509515 r533099 6 6 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 7 7 Author: Lee Chestnutt 8 Version: 1.4 8 Version: 1.4.1 9 9 Author URI: http://www.designchemical.com 10 10 */ 11 11 12 class dc_jqsocial tabs {12 class dc_jqsocialmediatabs { 13 13 14 function dc_jqsocial tabs(){14 function dc_jqsocialmediatabs(){ 15 15 16 16 if(!is_admin()){ 17 17 // Header styles 18 add_action( 'init', array('dc_jqsocial tabs', 'header') );18 add_action( 'init', array('dc_jqsocialmediatabs', 'header') ); 19 19 20 20 } 21 add_action( 'wp_footer', array('dc_jqsocial tabs', 'footer') );21 add_action( 'wp_footer', array('dc_jqsocialmediatabs', 'footer') ); 22 22 } 23 23 … … 26 26 // Scripts 27 27 wp_enqueue_script( 'jquery' ); 28 wp_enqueue_script( 'dcjqsocialtabs', dc_jqsocial tabs::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') ); 29 29 } 30 30 … … 43 43 if(is_admin()) { 44 44 45 $dc_jqsocial tabs_admin = new dc_jqsocialtabs_admin();45 $dc_jqsocialmediatabs_admin = new dc_jqsocialmediatabs_admin(); 46 46 47 47 } 48 48 49 49 // Initialize the plugin. 50 $dcjqsocialtabs = new dc_jqsocial tabs();50 $dcjqsocialtabs = new dc_jqsocialmediatabs(); 51 51 52 52 // Register the widget 53 add_action('widgets_init', create_function('', 'return register_widget("dc_jqsocial tabs_widget");'));53 add_action('widgets_init', create_function('', 'return register_widget("dc_jqsocialmediatabs_widget");')); 54 54 55 55 /* Time since function taken from WordPress.com */ -
social-media-tabs/trunk/inc/dcwp_admin.php
r509515 r533099 3 3 require_once('dcwp_widget.php'); 4 4 5 if(!class_exists('dc_jqsocial tabs_admin')) {5 if(!class_exists('dc_jqsocialmediatabs_admin')) { 6 6 7 class dc_jqsocial tabs_admin extends dcwp_plugin_admin_dcsmt {7 class dc_jqsocialmediatabs_admin extends dcwp_plugin_admin_dcsmt { 8 8 9 9 var $hook = 'social-media-tabs'; … … 48 48 <?php 49 49 settings_fields('dcsmt_options_group'); $options = get_option('dcsmt_options'); 50 $plugin_url = dc_jqsocial tabs::get_plugin_directory();50 $plugin_url = dc_jqsocialmediatabs::get_plugin_directory(); 51 51 $icon_url = $plugin_url.'/css/images/'; 52 52 $skin = $options['skin'] ; -
social-media-tabs/trunk/inc/dcwp_widget.php
r509515 r533099 1 1 <?php 2 class dc_jqsocial tabs_widget extends WP_Widget {2 class dc_jqsocialmediatabs_widget extends WP_Widget { 3 3 4 4 /** constructor */ 5 function dc_jqsocial tabs_widget() {5 function dc_jqsocialmediatabs_widget() { 6 6 7 7 $name = 'Social Media Tabs'; 8 8 $desc = 'Sliding social media profile tabs - Facebook, Google, Twitter, YouTube & RSS Feeds'; 9 $id_base = 'dc_jqsocial tabs_widget';9 $id_base = 'dc_jqsocialmediatabs_widget'; 10 10 $css_class = 'dcsmt_widget'; 11 11 $alt_option = 'widget_dcjq_social_media_tabs'; … … 84 84 $options = get_option('dcsmt_options'); 85 85 $cache = $options['cache'] != '' ? $options['cache'] * 60 : '' ; 86 $plugin_url = dc_jqsocial tabs::get_plugin_directory();86 $plugin_url = dc_jqsocialmediatabs::get_plugin_directory(); 87 87 $icon_url = $plugin_url.'/css/images/'; 88 88 … … 458 458 $skin = $options['skin']; 459 459 if($skin != 'true'){ 460 echo "\n\t<link rel=\"stylesheet\" href=\"".dc_jqsocial tabs::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\" />"; 461 461 } 462 462 } … … 977 977 } 978 978 979 } // class dc_jqsocial tabs_widget979 } // class dc_jqsocialmediatabs_widget -
social-media-tabs/trunk/readme.txt
r509515 r533099 5 5 Requires at least: 3.0 6 6 Tested up to: 3.3.1 7 Stable tag: 1.4 7 Stable tag: 1.4.1 8 8 9 9 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. … … 109 109 == Changelog == 110 110 111 = 1.4.1 = 112 * Updated: Redeclare class name 113 111 114 = 1.4 = 112 115 * Added: Caching option for tab results
Note: See TracChangeset
for help on using the changeset viewer.