mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
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 26114972c3.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user