function theme_flickr_sets_photoset_box in Flickr 5
Same name and namespace in other branches
- 6 sets/flickr_sets.module \theme_flickr_sets_photoset_box()
- 7 sets/flickr_sets.module \theme_flickr_sets_photoset_box()
1 theme call to theme_flickr_sets_photoset_box()
File
- sets/
flickr_sets.module, line 159
Code
function theme_flickr_sets_photoset_box($ps, $uid, $owner, $size = NULL, $format = NULL) {
$title = is_array($ps['title']) ? $ps['title']['_content'] : $ps['title'];
$output .= "<div class='flickr-photoset-box'>\n";
$output .= l(flickr_img($ps, $size) . "\n", "flickr/{$uid}/sets/{$ps['id']}", array(), NULL, NULL, FALSE, TRUE);
$output .= l('<div class="flickr-photoset-title">' . $title . "</div>\n", "flickr/{$uid}/sets/{$ps['id']}", array(), NULL, NULL, FALSE, TRUE);
$output .= '<div class="flickr-photoset-count">' . format_plural($ps['photos'], '@count photo', '@count photos') . "</div>\n";
$output .= "</div>\n";
return $output;
}