You are here

function theme_gallery_meta in Node Gallery 6

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

File

./node_gallery.themes.inc, line 35
Node gallery themes.

Code

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