summaryrefslogtreecommitdiff
path: root/modules/info/views
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-08-27 14:27:49 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-08-27 14:27:49 -0600
commitddddfc5e8e505f83276acaa89057d5b9a9f6426f (patch)
tree368b55a7ad00401f8edef6c276268c8c222b2289 /modules/info/views
parent0be38d143c44902f9482044da5f43c7a05134460 (diff)
Make the info block display 'File name', instead of 'Folder name' when showing a photo. Fixes #631
Diffstat (limited to 'modules/info/views')
-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 ?>