From 32862713760406ffdf534583cbe35b3844e1dce7 Mon Sep 17 00:00:00 2001 From: Tony Fung Date: Tue, 5 Jun 2012 11:24:13 +0800 Subject: Show "Movie info" on movie page --- modules/info/helpers/info_block.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/info') 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( -- cgit v1.2.3