function theme_gallery_list in Node Gallery 6
Same name and namespace in other branches
- 6.2 theme/theme.inc \theme_gallery_list()
@file Node gallery themes.
1 theme call to theme_gallery_list()
- node_gallery_list in ./
node_gallery.pages.inc - @file Node gallery pages.
File
- ./
node_gallery.themes.inc, line 9 - Node gallery themes.
Code
function theme_gallery_list($items, $account = NULL) {
$output = '<div class="gallery-list">';
$output .= node_gallery_operations('list', $account);
if (empty($items)) {
$output .= t('There are currently no galleries.');
}
else {
$output .= theme('item_list', $items, NULL, 'ul', array(
'class' => 'gallery-cover-list',
));
}
$output .= '</div>';
return $output;
}