You are here

function theme_flickr_photos in Flickr 5

Same name and namespace in other branches
  1. 6 flickr.module \theme_flickr_photos()
  2. 7 flickr.module \theme_flickr_photos()
2 theme calls to theme_flickr_photos()
flickr_photos in ./flickr.module
flickr_tags_photos in tags/flickr_tags.module

File

./flickr.module, line 305

Code

function theme_flickr_photos($uid, $photos) {
  $output = theme('pager', NULL, variable_get('flickr_photos_per_page', 20));
  $output .= "<div class='fickr-photoset'>\n";
  foreach ($photos['photo'] as $photo) {
    $output .= theme('flickr_photo_box', $photo, 'm');
  }
  $output .= '</div>';
  $output .= theme('pager', NULL, variable_get('flickr_photos_per_page', 20));
  return $output;
}