summaryrefslogtreecommitdiffstats
path: root/templates/single_photo.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/single_photo.tpl')
-rw-r--r--templates/single_photo.tpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl
index 8dfd433..0d04e17 100644
--- a/templates/single_photo.tpl
+++ b/templates/single_photo.tpl
@@ -3,7 +3,17 @@
<tr>
<td class="content_title" style="text-align: left;">
<b>Photo {$image_name}</b><br />
- &nbsp;{$description}<br />
+ {if $photo_count > 0}
+ {$photo_number} of {$photo_count}
+ {if $photo_count == 1}
+ Photo
+ {else}
+ Photos
+ {/if}
+ {if $description}
+ &nbsp;{$description}<br />
+ {/if}
+ {/if}
</td>
<td class="index_header" style="text-align: right;">
{if $extern_link }