You are here

function theme_gallery_meta in Node Gallery 6.2

Same name and namespace in other branches
  1. 6 node_gallery.themes.inc \theme_gallery_meta()
1 theme call to theme_gallery_meta()
template_preprocess_gallery_cover_view in theme/theme.inc

File

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

Code

function theme_gallery_meta($gallery) {
  $images_count = empty($gallery->images_count) ? count($gallery->images) : $gallery->images_count;
  $items[] = format_plural($images_count, '1 image', '@count images');
  $items[] = t('Created at: !date', array(
    '!date' => format_date($gallery->created, 'custom', 'Y-m-d'),
  ));
  return $items;
}