'; foreach ($galleries as $gallery) { $content .= '
  • '; if ($gallery->count) $content.= "

    ".l($gallery->name, 'image/tid/'.$gallery->tid) . "

    \n"; $content.= '
    '. l(image_display($gallery->latest, 'thumbnail'), 'image/tid/'.$gallery->tid, array(), NULL, NULL, FALSE, TRUE) . check_markup($gallery->description) ."
    \n"; $content.= '

    ' . format_plural($gallery->count, 'There is %count image in this gallery', 'There are %count images in this gallery') . "

    \n"; if ($gallery->latest->changed) { $content.= '

    '. t('Last updated: %date', array('%date' => format_date($gallery->latest->changed))) . "

    \n"; } $content.= "
  • \n"; } } if (count($images)) { $height += 5; $content= '\n"; if ($pager = theme('pager', NULL, variable_get('image_images_per_page', 6), 0)) { $content.= $pager; } If (count($images) + count($galleries) == 0) { $content.= '

    ' . format_plural(0, 'There is %count image in this gallery', 'There are %count images in this gallery') . "

    \n"; } print $content; ?>