summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTony Fung <ffchung2002@yahoo.com.hk>2012-06-05 11:24:13 +0800
committerTony Fung <ffchung2002@yahoo.com.hk>2012-06-05 11:24:13 +0800
commit32862713760406ffdf534583cbe35b3844e1dce7 (patch)
treeb5d71a9e944bb66e713a4dd1ea7d674836394006 /modules
parent79c00f080ea193ef88f601a6523926d281c39cf0 (diff)
Show "Movie info" on movie page
Diffstat (limited to 'modules')
-rw-r--r--modules/info/helpers/info_block.php3
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(