You are here

function theme_gallery_list in Node Gallery 6.2

Same name and namespace in other branches
  1. 6 node_gallery.themes.inc \theme_gallery_list()

@file theme/theme.inc Node gallery theme functions

1 theme call to theme_gallery_list()
node_gallery_list in ./node_gallery.pages.inc

File

theme/theme.inc, line 9
theme/theme.inc Node gallery theme functions

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;
}