summaryrefslogtreecommitdiff
path: root/modules/info/views/info_block.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/info/views/info_block.html.php')
-rw-r--r--modules/info/views/info_block.html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/info/views/info_block.html.php b/modules/info/views/info_block.html.php
index 9f544376..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 ?>
@@ -26,9 +26,9 @@
<li>
<strong class="caption"><?= t("Owner:") ?></strong>
<? if ($item->owner->url): ?>
- <a href="<?= $item->owner->url ?>"><?= p::clean($item->owner->full_name) ?></a>
+ <a href="<?= $item->owner->url ?>"><?= p::clean($item->owner->display_name()) ?></a>
<? else: ?>
- <?= p::clean($item->owner->name) ?>
+ <?= p::clean($item->owner->display_name()) ?>
<? endif ?>
</li>
<? endif ?>