summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-27 14:27:49 -0600
committerBharat Mediratta <bharat@menalto.com>2009-08-27 14:56:07 -0700
commit2c6328a47bedffe15791c518d6e9e42caedbbe3c (patch)
treee9ca6103d17b0523fdb1382ba981b78560c375ab
parentdb1f6e3e35485df041631e6d86baa17572ab7d4d (diff)
Make the info block display 'File name', instead of 'Folder name' when showing a photo. Fixes #631
-rw-r--r--modules/info/views/info_block.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index f86ae39d..762e989b 100644
--- a/modules/info/views/info_block.html.php
+++ b/modules/info/views/info_block.html.php
@@ -12,7 +12,7 @@
<? endif ?>
<? if ($item->id != 1): ?>
<li>
- <strong class="caption"><?= t("Folder name:") ?></strong>
+ <strong class="caption"><?= $theme->page_type == 'album' ? t("Folder name:"): t("File name:"); ?></strong>
<?= p::clean($item->name) ?>
</li>
<? endif ?>