summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-13 07:11:02 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-13 07:11:02 -0700
commit021e6eccd03df460fddb0d2bdcab335ddd2d6c52 (patch)
tree61a5fe2bd4b8e8f52edcb3b530fc3f4cb52d5a93 /modules/gallery/libraries/Theme_View.php
parent75be4ab2e62004811ba7086376bf5abeca4cf791 (diff)
parenta944bf4259a6ff31ac647a3d8336bd5175c3640a (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r--modules/gallery/libraries/Theme_View.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index 75138f25..fa45ec89 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -99,19 +99,19 @@ class Theme_View_Core extends Gallery_View {
}
public function album_menu() {
- $this->_menu("album");
+ print $this->_menu("album");
}
public function tag_menu() {
- $this->_menu("tag");
+ print $this->_menu("tag");
}
public function photo_menu() {
- $this->_menu("photo");
+ print $this->_menu("photo");
}
public function thumb_menu($item) {
- $this->_menu("thumb", $item);
+ print $this->_menu("thumb", $item)->css_class("gThumbMenu");
}
private function _menu($type, $item=null) {
@@ -127,8 +127,7 @@ class Theme_View_Core extends Gallery_View {
}
}
- $menu->compact();
- print $menu;
+ return $menu->compact();
}
public function pager() {