You are here

function theme_flickr_photoset in Flickr 5

Same name and namespace in other branches
  1. 6 flickr.module \theme_flickr_photoset()
  2. 7 flickr.module \theme_flickr_photoset()
2 theme calls to theme_flickr_photoset()
theme_flickr_block_photoset in block/flickr_block.module
theme_flickr_filter_photoset in filter/flickr_filter.module

File

./flickr.module, line 316

Code

function theme_flickr_photoset($ps, $owner, $size, $attribs = NULL) {
  $img = flickr_img($ps, $size, $attribs);
  $photo_url = flickr_photoset_page_url($owner, $ps['id']);
  $title = is_array($ps['title']) ? $ps['title']['_content'] : $ps['title'];
  return l($img, $photo_url, array(
    'title' => $title,
  ), NULL, NULL, TRUE, TRUE);
}