function theme_flickr_photoset in Flickr 5
Same name and namespace in other branches
- 6 flickr.module \theme_flickr_photoset()
- 7 flickr.module \theme_flickr_photoset()
2 theme calls to theme_flickr_photoset()
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);
}