diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-18 15:36:13 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-18 15:36:13 -0800 |
commit | 26114972c3388f065220b94a0d5962f20a6ccd0c (patch) | |
tree | b9b15b503bff9bc27492eb11fe656749c626cae8 /modules/tag/controllers | |
parent | 1692ee130887a6ad1ba68aa34a96ad36161600f9 (diff) |
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.
Diffstat (limited to 'modules/tag/controllers')
-rw-r--r-- | modules/tag/controllers/tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php index 52001719..6dc77d56 100644 --- a/modules/tag/controllers/tags.php +++ b/modules/tag/controllers/tags.php @@ -21,7 +21,7 @@ class Tags_Controller extends REST_Controller { protected $resource_type = "tag"; public function _show($tag) { - $page_size = module::get_var("gallery", "page_size", 9); + $page_size = theme::get_var("page_size", 9); $page = (int) $this->input->get("page", "1"); $children_count = $tag->items_count(); $offset = ($page-1) * $page_size; |