You are here

function theme_flickr_sets_photoset in Flickr 7

Same name and namespace in other branches
  1. 5 sets/flickr_sets.module \theme_flickr_sets_photoset()
  2. 6 sets/flickr_sets.module \theme_flickr_sets_photoset()

Theme photos in a given set.

1 theme call to theme_flickr_sets_photoset()
flickr_sets_photoset in sets/flickr_sets.module
Return a user's photos from a given set.

File

sets/flickr_sets.module, line 201
The Flickr sets module.

Code

function theme_flickr_sets_photoset($variables) {
  $uid = $variables['uid'];
  $per_page = $variables['per_page'];
  $photo_arr = $variables['photo_arr'];
  $set_info = $variables['set_info'];
  $output = theme('pager', array(
    'quantity' => variable_get('flickr_sets_photos_per_set', 6),
  ));
  $output .= flickr_album('photoset', $set_info['id'], $per_page, NULL, 'photos', '', '', 101, 'unsorted', 'h1', NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, $photo_arr['photoset']['page']);
  $output .= theme('pager', array(
    'quantity' => variable_get('flickr_photos_per_page', 6),
  ));
  return $output;
}