diff options
author | shadlaws <shad@shadlaws.com> | 2013-01-24 12:03:05 +0100 |
---|---|---|
committer | shadlaws <shad@shadlaws.com> | 2013-01-24 12:03:05 +0100 |
commit | 031dd3bd6f279b5ddec6f08ff11e0acee521a5fe (patch) | |
tree | 6e8988e28d0eff76214834d644c8438db5a11cba /modules/info/helpers | |
parent | 3e451d6edc6ab3586ef730e4458ca0b2d55f5170 (diff) |
#1960 - Add unit test to look for extra spaces at end of line
- Added no_extra_spaces_at_end_of_line_test to File_Structure_Test.
- Updated Gallery_Filters to exclude testing code that isn't ours.
- Removed existing extra spaces. New test now passes.
Diffstat (limited to 'modules/info/helpers')
-rw-r--r-- | modules/info/helpers/info_block.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php index 4079fe55..62aa0746 100644 --- a/modules/info/helpers/info_block.php +++ b/modules/info/helpers/info_block.php @@ -29,7 +29,7 @@ class info_block_Core { if ($theme->item()) { $block = new Block(); $block->css_id = "g-metadata"; - $block->title = $theme->item()->is_album() ? t("Album 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")) { |