summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-07 22:11:44 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-07 22:11:44 +0000
commitd9b4d96c670187aab0c7f37477da3f0c7a628767 (patch)
treea4942810c15c58903183ecafab4c026a8fddc06c
parent7494a93692f168b1383ca7ea2f5a1b1e85892811 (diff)
Use Album or Photo in the title instead of Item
-rw-r--r--modules/info/helpers/info_theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/helpers/info_theme.php b/modules/info/helpers/info_theme.php
index 3b90c640..36b05906 100644
--- a/modules/info/helpers/info_theme.php
+++ b/modules/info/helpers/info_theme.php
@@ -22,7 +22,7 @@ class info_theme_Core {
if ($theme->item()) {
$block = new Block();
$block->css_id = "gMetadata";
- $block->title = t("Item Info");
+ $block->title = $theme->item()->is_album() ? t("Album Info") : t("Photo Info");
$block->content = new View("info_block.html");
return $block;
}