diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tag/controllers/tags.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php index 34474be5..304d9bd0 100644 --- a/modules/tag/controllers/tags.php +++ b/modules/tag/controllers/tags.php @@ -21,9 +21,8 @@ class Tags_Controller extends REST_Controller { protected $resource_type = "tag"; public function _show($tag) { - // @todo: these need to be pulled from the database - $theme_name = "default"; - $page_size = 9; + $theme_name = module::get_var("core", "active_theme", "default"); + $page_size = module::set_var("core", "page_size", 9); $template = new Theme_View("page.html", "tag", $theme_name); |