/[drupal]/contributions/modules/flickr/sets/flickr_sets.module
ViewVC logotype

Diff of /contributions/modules/flickr/sets/flickr_sets.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.10.2.2, Tue Feb 17 16:47:24 2009 UTC revision 1.10.2.3, Tue Mar 17 21:56:54 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: flickr_sets.module,v 1.10.2.1 2009/01/13 21:12:12 paulbooker Exp $  // $Id: flickr_sets.module,v 1.10.2.2 2009/02/17 16:47:24 paulbooker Exp $
3    
4  require_once(drupal_get_path('module', 'flickr') .'/flickr.inc');  require_once(drupal_get_path('module', 'flickr') .'/flickr.inc');
5    
# Line 31  function flickr_sets_menu() { Line 31  function flickr_sets_menu() {
31  }  }
32    
33  function flickr_set_load($sid, $page = 1) {  function flickr_set_load($sid, $page = 1) {
34    return flickr_request('flickr.photosets.getPhotos',    // TODO: Not sure why this called for /flickr and does not show for admin role
35      if (is_integer($sid)) {
36        return flickr_request('flickr.photosets.getPhotos',
37      array(      array(
38        'photoset_id' => $sid,        'photoset_id' => $sid,
39        'page' => $page,        'page' => $page,
40        'per_page' => variable_get('flickr_photos_per_page', 20),        'per_page' => variable_get('flickr_photos_per_page', 20),
41      )      )
42    );      );
43      }
44  }  }
45    
46  function flickr_sets_photosets($account, $nsid = NULL) {  function flickr_sets_photosets($account, $nsid = NULL) {

Legend:
Removed from v.1.10.2.2  
changed lines
  Added in v.1.10.2.3

  ViewVC Help
Powered by ViewVC 1.1.2