Changeset 783273
- Timestamp:
- 10/06/2013 12:53:48 AM (12 years ago)
- Location:
- shashin/trunk
- Files:
-
- 6 edited
-
ShashinWp.php (modified) (1 diff)
-
admin/display/toolsAlbums.php (modified) (2 diffs)
-
public/display/shashin.css (modified) (1 diff)
-
public/display/shashin.js (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
start.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
shashin/trunk/ShashinWp.php
r782190 r783273 2 2 3 3 class ShashinWp { 4 private $version = '3.4. 3';4 private $version = '3.4.4'; 5 5 6 6 public function __construct() { -
shashin/trunk/admin/display/toolsAlbums.php
r775272 r783273 115 115 <li><?php _e('Google is migrating Picasa to Google+ and making changes without advance notification. If you are unable to add an album, please', 'shashin'); ?> 116 116 <a href="http://wordpress.org/support/plugin/shashin/"><?php _e('let me know', 'shashin'); ?></a>.</li> 117 <li><?php _e('Shashin works with albums where the visibility is set to "public." Also, for albums with visibility set to "limited, anyone with the link", they will work if you include the "authkey" when pasting the URL in the form below.', 'shashin'); ?></li> 117 <li><?php _e('Shashin works with albums where the visibility is set to "public." Also, for albums with visibility set to "limited, anyone with the link", you can add them if you enter the URL for the album that includes it\'s "authkey" (see the', 'shashin'); ?> 118 <a href="https://support.google.com/picasa/answer/48446?hl=en&ref_topic=1689807"><?php _e('Picasa authorization key help page'); ?></a> 119 <?php _e('for more information).'); ?></li> 118 120 </ul> 119 121 <p><strong><?php _e('Examples', 'shashin'); ?>:</strong></p> … … 148 150 <p><strong><?php _e('Important notes:', 'shashin'); ?></strong></p> 149 151 <ul> 150 <li><?php _e('Unfortunately Youtube does not display links for its feeds, but there are many standard feeds available (top rated, etc) - see the', 'shashin'); ?> 151 <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Retrieving_and_searching_for_videos"><?php _e('YouTube API page for examples', 'shashin'); ?>.</a> 152 <?php _e('It also explains how to write the URLs for other kinds of feeds.', 'shashin'); ?></li> 152 <li><?php _e('You can enter the feed URL for a user\'s account, or for YouTube\'s "most popular" feed (see the examples below). See the', 'shashin'); ?> 153 <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Retrieving_and_searching_for_videos"><?php _e('YouTube API page if you want to retrieve a country-specific "most popular" feed', 'shashin'); ?></a>.</li> 153 154 <li><?php _e('Shashin will synchronize with the first 50 videos in a YouTube feed.', 'shashin'); ?></li> 154 155 </ul> 155 156 <p><strong><?php _e('Examples', 'shashin'); ?>:</strong></p> 156 157 <dl> 157 <dt><?php _e("A YouTube user's videos (put his or her username in the URL)", 'shashin'); ?>:</dt>158 <dt><?php _e("A YouTube user's videos (put his or her YouTube username in the URL)", 'shashin'); ?>:</dt> 158 159 <dd>https://gdata.youtube.com/feeds/api/users/<strong>mttoppa</strong>/uploads</dd> 159 160 <dt><?php _e('Most popular YouTube videos', 'shashin'); ?>:</strong></dt> 160 161 <dd>https://gdata.youtube.com/feeds/api/standardfeeds/most_popular</dd> 161 <dt><?php _e('Most recent videos in the comedy category', 'shashin'); ?>:</dt>162 <dd>https://gdata.youtube.com/feeds/api/videos/-/Comedy</dd>163 162 </dl> 164 163 -
shashin/trunk/public/display/shashin.css
r780862 r783273 80 80 */ 81 81 .shashinThumbnailCaption { 82 visibility: hidden; 82 83 position: absolute; 83 84 bottom: 0; -
shashin/trunk/public/display/shashin.js
r782190 r783273 13 13 else 14 14 return decodeURIComponent(results[1].replace(/\+/g, " ")); 15 } 16 17 function setShashinFancyBoxCaption(currentArray, currentIndex, currentOpts) { 18 var link = currentArray[ currentIndex ]; 19 var linkId = $(link).attr('id'); 20 var linkIdParts = linkId.split('_'); 21 var captionId = '#shashinFancyboxCaption_' + linkIdParts[1] 22 23 if (linkIdParts[2]) { 24 captionId = captionId + '_' + linkIdParts[2]; 25 } 26 27 this.title = $(captionId).html(); 28 this.title = this.title.replace('<!-- comment for image counter --></div>', ''); 29 this.title = this.title + 'Image ' + (currentIndex + 1) + ' of ' + currentArray.length + '</div>'; 15 30 } 16 31 … … 74 89 } 75 90 76 // made this a separarte function as it is used below as well77 function setShashinFancyBoxCaption(currentArray, currentIndex, currentOpts) {78 var link = currentArray[ currentIndex ];79 var linkId = $(link).attr('id');80 var linkIdParts = linkId.split('_');81 var captionId = '#shashinFancyboxCaption_' + linkIdParts[1]82 83 if (linkIdParts[2]) {84 captionId = captionId + '_' + linkIdParts[2];85 }86 87 this.title = $(captionId).html();88 this.title = this.title.replace('<!-- comment for image counter --></div>', '');89 this.title = this.title + 'Image ' + (currentIndex + 1) + ' of ' + currentArray.length + '</div>';90 }91 92 91 var fancyboxInterval = shashinJs.fancyboxInterval - 0; 93 92 … … 267 266 268 267 else { 269 $shashinCaption.css(' display', 'block');268 $shashinCaption.css('visibility','visible').hide().fadeIn('slow'); 270 269 } 271 270 } -
shashin/trunk/readme.txt
r782190 r783273 5 5 Requires at least: 3.0 6 6 Tested up to: 3.6.1 7 Stable tag: 3.4. 37 Stable tag: 3.4.4 8 8 License: GPLv2 or later 9 9 … … 92 92 4. A Fancybox slideshow 93 93 94 == Upgrade Notice == 94 == Changelog == 95 96 = 3.4.4 = 97 98 * Bug fix: make changelog readable in the readme file 99 * For caption overlays on thumbnails, have them fade-in after they are fully positoned, so you don't see their position and size adjusting as the page loads. 100 * Bug fix: get Fancybox working in Firefox 101 * Update instructions for Picasa and YouTube 95 102 96 103 = 3.4.3 = … … 111 118 * Update to the current version of the "imagesloaded" jquery plugin 112 119 * Open Google Maps links in a new window 113 114 = 3.4.1 =115 Fixes thumbnails showing up too small in certain situations, and thumbnail gallery centering not working correctly.116 117 = 3.4 =118 Adds responsive design and social sharing of photos.119 120 == Changelog ==121 120 122 121 = 3.4.1 = -
shashin/trunk/start.php
r782190 r783273 5 5 Description: A plugin for integrating photos and videos from Picasa, YouTube, and Twitpic in WordPress. 6 6 Author: Michael Toppa 7 Version: 3.4. 37 Version: 3.4.4 8 8 Author URI: http://www.toppa.com 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.