summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-19 11:44:01 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-19 11:44:01 -0800
commit57adefc5baa7a2b0dfcd3e736e80c2fa86d3bfa2 (patch)
tree2ac5da34d0a47af96ace932dbdc002a35f0e4cda /modules/gallery/libraries/Theme_View.php
parent6fd1e2af1f081c61bde47cee5b613778a46e1422 (diff)
Revert "Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme."
This reverts commit 26114972c3388f065220b94a0d5962f20a6ccd0c.
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r--modules/gallery/libraries/Theme_View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index 87d8de56..b1167d0e 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -65,7 +65,7 @@ class Theme_View_Core extends Gallery_View {
public function thumb_proportion() {
// @TODO change the 200 to a theme supplied value when and if we come up with an
// API to allow the theme to set defaults.
- return theme::get_var("thumb_size", 200) / 200;
+ return module::get_var("gallery", "thumb_size", 200) / 200;
}
public function item() {