summaryrefslogtreecommitdiff
path: root/modules/info
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-28 08:48:56 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-28 08:48:56 -0700
commitb72b09163bcae960d15625c7687cd40b19152dd2 (patch)
tree213b824115ad1dd50e75873485a6d0adbc218a0b /modules/info
parent8d2cd12c58508c58520d4df2875a3f7974343d8f (diff)
parentf27919aa1e5625de50e25c215b17099134a18e22 (diff)
Merge branch 'master' of git@github.com:talmdal/gallery3 into talmdal_branch
Diffstat (limited to 'modules/info')
-rw-r--r--modules/info/views/info_block.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index 762e989b..3c668168 100644
--- a/modules/info/views/info_block.html.php
+++ b/modules/info/views/info_block.html.php
@@ -10,9 +10,9 @@
<?= nl2br(p::purify($item->description)) ?>
</li>
<? endif ?>
- <? if ($item->id != 1): ?>
+ <? if (!$item->is_album()): ?>
<li>
- <strong class="caption"><?= $theme->page_type == 'album' ? t("Folder name:"): t("File name:"); ?></strong>
+ <strong class="caption"><?= t("File name:") ?></strong>
<?= p::clean($item->name) ?>
</li>
<? endif ?>