Changeset 733875
- Timestamp:
- 06/29/2013 01:12:54 AM (13 years ago)
- Location:
- facebook-albums
- Files:
-
- 2 deleted
- 3 edited
- 7 copied
-
tags/2.0.1 (copied) (copied from facebook-albums/trunk)
-
tags/2.0.1/css (copied) (copied from facebook-albums/trunk/css)
-
tags/2.0.1/fbalbum.css (deleted)
-
tags/2.0.1/fbalbum.php (copied) (copied from facebook-albums/trunk/fbalbum.php) (5 diffs)
-
tags/2.0.1/images (copied) (copied from facebook-albums/trunk/images)
-
tags/2.0.1/inc (copied) (copied from facebook-albums/trunk/inc)
-
tags/2.0.1/inc/options-facebookalbum.php (modified) (2 diffs)
-
tags/2.0.1/js (copied) (copied from facebook-albums/trunk/js)
-
tags/2.0.1/lightbox (deleted)
-
tags/2.0.1/readme.txt (copied) (copied from facebook-albums/trunk/readme.txt)
-
trunk/fbalbum.php (modified) (5 diffs)
-
trunk/inc/options-facebookalbum.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
facebook-albums/tags/2.0.1/fbalbum.php
r732064 r733875 2 2 /* 3 3 Plugin Name: Facebook Albums 4 Plugin URI: http://glamanate.com/wordpress/facebook-album/ 4 Plugin URI: http://glamanate.com/wordpress/facebook-album/?utm_source=fbalbum_pluginspage&utm_medium=website&utm_campaign=fbalbum 5 5 Description: Facebook Albums allows you to display Facebook Albums on your WordPress site. Brought to you by <a href="http://dooleyandassociates.com/?utm_source=fbalbum&utm_medium=referral&utm_campaign=Facebook%2BAlbum">Dooley & Associates</a> 6 Version: 2.0 6 Version: 2.0.1 7 7 Author: Matt Glaman 8 8 Author URI: http://glamanate.com … … 46 46 protected static $album_id; //Stores the album ID in the class 47 47 protected static $album_limit; //Stores max number of photos, defaults to 200. 48 protected static $album_size;49 48 50 49 //The graph API URl the plugin will access. Script replaces {ALBUM_ID} with self::$album_id … … 132 131 133 132 $html = '<div class="facebook-album-container">'; 134 if( $options['title']) $html .= '<h2><a href="' . self::_clean_url(self::_get_album_url()) . '" target="_blank"">' . $fb['name'] . '</a></h2>';133 if(self::$options['title']) $html .= '<h2><a href="' . self::_clean_url(self::_get_album_url()) . '" target="_blank"">' . $fb['name'] . '</a></h2>'; 135 134 136 135 //Reverse array to show oldest to newest … … 148 147 } 149 148 $html .= '<div style="clear:both"> </div>'; 150 $html .= self::build_colorbox();149 if(self::$options['colorbox']['enabled']) $html .= self::build_colorbox(); 151 150 $html .="</div>"; 152 151 return $html; … … 277 276 278 277 //Explodes URL based on slashes, we need the end of the URL 279 $facebook_album_id = explode(' /', self::_get_album_url());280 $facebook_album_id = $facebook_album_id[' 5'];278 $facebook_album_id = explode('?set=', self::_get_album_url()); 279 $facebook_album_id = $facebook_album_id['1']; 281 280 //Explodes section by periods, Album ID is first of the 3 sets of numbers 282 281 $facebook_album_id = explode('.', $facebook_album_id); -
facebook-albums/tags/2.0.1/inc/options-facebookalbum.php
r731867 r733875 25 25 26 26 ?> 27 <?php //echo '<pre>';//global $current_user; print_r($current_user);echo'</pre>'; ?>28 27 <div class="wrap"> 29 28 <?php screen_icon(); ?> … … 107 106 <div class="settings-box"> 108 107 <h2>Widget Options</h2> 109 <p>You have the option to specify a different Facebook Album URL for each page .</p>108 <p>You have the option to specify a different Facebook Album URL for each page the widget is on.</p> 110 109 <div style="height: 300px; overflow: auto; padding-left: 10px; border-left: 2px solid #e6e6e6;"> 111 110 <?php foreach( get_pages() as $page): ?> -
facebook-albums/trunk/fbalbum.php
r732064 r733875 2 2 /* 3 3 Plugin Name: Facebook Albums 4 Plugin URI: http://glamanate.com/wordpress/facebook-album/ 4 Plugin URI: http://glamanate.com/wordpress/facebook-album/?utm_source=fbalbum_pluginspage&utm_medium=website&utm_campaign=fbalbum 5 5 Description: Facebook Albums allows you to display Facebook Albums on your WordPress site. Brought to you by <a href="http://dooleyandassociates.com/?utm_source=fbalbum&utm_medium=referral&utm_campaign=Facebook%2BAlbum">Dooley & Associates</a> 6 Version: 2.0 6 Version: 2.0.1 7 7 Author: Matt Glaman 8 8 Author URI: http://glamanate.com … … 46 46 protected static $album_id; //Stores the album ID in the class 47 47 protected static $album_limit; //Stores max number of photos, defaults to 200. 48 protected static $album_size;49 48 50 49 //The graph API URl the plugin will access. Script replaces {ALBUM_ID} with self::$album_id … … 132 131 133 132 $html = '<div class="facebook-album-container">'; 134 if( $options['title']) $html .= '<h2><a href="' . self::_clean_url(self::_get_album_url()) . '" target="_blank"">' . $fb['name'] . '</a></h2>';133 if(self::$options['title']) $html .= '<h2><a href="' . self::_clean_url(self::_get_album_url()) . '" target="_blank"">' . $fb['name'] . '</a></h2>'; 135 134 136 135 //Reverse array to show oldest to newest … … 148 147 } 149 148 $html .= '<div style="clear:both"> </div>'; 150 $html .= self::build_colorbox();149 if(self::$options['colorbox']['enabled']) $html .= self::build_colorbox(); 151 150 $html .="</div>"; 152 151 return $html; … … 277 276 278 277 //Explodes URL based on slashes, we need the end of the URL 279 $facebook_album_id = explode(' /', self::_get_album_url());280 $facebook_album_id = $facebook_album_id[' 5'];278 $facebook_album_id = explode('?set=', self::_get_album_url()); 279 $facebook_album_id = $facebook_album_id['1']; 281 280 //Explodes section by periods, Album ID is first of the 3 sets of numbers 282 281 $facebook_album_id = explode('.', $facebook_album_id); -
facebook-albums/trunk/inc/options-facebookalbum.php
r731867 r733875 25 25 26 26 ?> 27 <?php //echo '<pre>';//global $current_user; print_r($current_user);echo'</pre>'; ?>28 27 <div class="wrap"> 29 28 <?php screen_icon(); ?> … … 107 106 <div class="settings-box"> 108 107 <h2>Widget Options</h2> 109 <p>You have the option to specify a different Facebook Album URL for each page .</p>108 <p>You have the option to specify a different Facebook Album URL for each page the widget is on.</p> 110 109 <div style="height: 300px; overflow: auto; padding-left: 10px; border-left: 2px solid #e6e6e6;"> 111 110 <?php foreach( get_pages() as $page): ?>
Note: See TracChangeset
for help on using the changeset viewer.