Changeset 446909
- Timestamp:
- 10/03/2011 09:06:53 PM (14 years ago)
- Location:
- wp-tweet-button/trunk
- Files:
-
- 4 edited
-
inc/perpostsettings.inc.php (modified) (1 diff)
-
inc/settings.inc.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wp-tweet-button.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-tweet-button/trunk/inc/perpostsettings.inc.php
r356478 r446909 32 32 </div> 33 33 <div class="misc-pub-section"> 34 <img src="<?php echo WP_PLUGIN_URL; ?>/wp-tweet-button/tweetn.png" id="tw_tweet_button_image" style="float:right;margin:-3px 10px 0 10px"/>34 <img src="<?php $wpt_pluginpath = (empty($_SERVER['HTTPS'])) ? WP_PLUGIN_URL : str_replace("http://", "https://", WP_PLUGIN_URL); echo $wpt_pluginpath; ?>/wp-tweet-button/tweetn.png" id="tw_tweet_button_image" style="float:right;margin:-3px 10px 0 10px"/> 35 35 <input style="min-width:20px;" onclick="var twimgp=document.getElementById('tw_tweet_button_image');twimgp.style.display=(this.checked)?'none':'block';" type="checkbox" value="1" <?php if ($tw_exclude_tweet_button == '1') echo 'checked="checked"'; ?> name="tw_exclude_tweet_button" id="tw_exclude_tweet_button"/> 36 36 <label for="tw_exclude_tweet_button"><?php _e('Disable Tweet Button',$this->txtdom);?></label><br /> -
wp-tweet-button/trunk/inc/settings.inc.php
r398385 r446909 188 188 <div style="float:left;"> 189 189 <input type="radio" value="none" class="floatleftm10" <?php if ($this->tw_get_option('tw_count') == 'none') echo 'checked="checked"'; ?> name="tw_count" id="tw_count_none" group="tw_count" /> 190 <label for="tw_count_none" class="tweetbtnc" style="width:60px;background:transparent url('<?php echo WP_PLUGIN_URL; ?>/wp-tweet-button/tweetn.png') no-repeat 0 24px"><?php _e('No count',$this->txtdom);?></label>190 <label for="tw_count_none" class="tweetbtnc" style="width:60px;background:transparent url('<?php $wpt_pluginpath = (empty($_SERVER['HTTPS'])) ? WP_PLUGIN_URL : str_replace("http://", "https://", WP_PLUGIN_URL); echo $wpt_pluginpath; ?>/wp-tweet-button/tweetn.png') no-repeat 0 24px"><?php _e('No count',$this->txtdom);?></label> 191 191 </div> 192 192 </td> -
wp-tweet-button/trunk/readme.txt
r398385 r446909 59 59 = How come the tweet count doesn't change right away? = 60 60 61 Twitter uses a caching system that periodically updates the tweet counts. You browser also caches the iframe containing the count. Both these caches need to expire before any changes are made apparent.61 Twitter uses a caching system that periodically updates the tweet counts. Your browser also caches the iframe containing the count. Both these caches need to expire before any changes are made apparent. 62 62 63 63 = How do I add the post title or blog title in custom tweet texts? = … … 129 129 130 130 == Changelog == 131 132 = 2.1.2 = 133 * Added SSL support. 131 134 132 135 = 2.1.1 = -
wp-tweet-button/trunk/wp-tweet-button.php
r398385 r446909 2 2 /* 3 3 Plugin Name: WP Tweet Button 4 Version: 2.1. 14 Version: 2.1.2 5 5 Plugin URI: http://0xtc.com/plugins/wp-tweet-button 6 6 Description: The WordPress implementation of the official Twitter Tweet Button. … … 46 46 var $hasbutton = array(); 47 47 var $postid; 48 var $wpt_pluginpath; // passive usage 48 49 /** 49 50 * The following are default settings for the plugin's configuration. … … 1204 1205 $StyleStrBtn = ''; 1205 1206 } else { 1207 $wpt_pluginpath = (empty($_SERVER['HTTPS'])) ? WP_PLUGIN_URL : str_replace("http://", "https://", WP_PLUGIN_URL); 1206 1208 $StyleStrDiv = ' style="' . $this->tw_get_option('tw_style_c') .$dssep. $alignstr . '"'; 1207 $StyleStrBtn = ' style="width:55px;height:22px;background:transparent url(\''. WP_PLUGIN_URL.'/wp-tweet-button/tweetn.png\') no-repeat 0 0;text-align:left;text-indent:-9999px;display:block;"';1209 $StyleStrBtn = ' style="width:55px;height:22px;background:transparent url(\''. $wpt_pluginpath.'/wp-tweet-button/tweetn.png\') no-repeat 0 0;text-align:left;text-indent:-9999px;display:block;"'; 1208 1210 } 1209 1211 if ($this->ismanual){$btnidattr='m';}else{$btnidattr='';}
Note: See TracChangeset
for help on using the changeset viewer.