diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-06-05 13:52:26 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-06-05 13:52:26 -0700 |
commit | 3e7133c970e60d4b810cf99327627fc19dada431 (patch) | |
tree | 0988e61f81b452d345f1bd5049d38eee64c2abd5 | |
parent | 46925cd22725ef4948ae4cb87d5c4420b381cf80 (diff) | |
parent | 32862713760406ffdf534583cbe35b3844e1dce7 (diff) |
Merge pull request #70 from ffchung/patch-5
Show "Movie info" on movie page. Fixes #1877.
-rw-r--r-- | modules/info/helpers/info_block.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php index 3dcfa338..d62c900d 100644 --- a/modules/info/helpers/info_block.php +++ b/modules/info/helpers/info_block.php @@ -29,7 +29,8 @@ class info_block_Core { if ($theme->item()) { $block = new Block(); $block->css_id = "g-metadata"; - $block->title = $theme->item()->is_album() ? t("Album info") : t("Photo info"); + $block->title = $theme->item()->is_album() ? t("Album info") : + ($theme->item()->is_movie() ? t("Movie info") : t("Photo info")); $block->content = new View("info_block.html"); if ($theme->item->title && module::get_var("info", "show_title")) { $info["title"] = array( |