diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 18:12:53 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 18:12:53 -0700 |
commit | fa8ca2f7ad21980f0b45e7acc67be4be296f9f87 (patch) | |
tree | 3aaa1468c51e48c73986c56719f247da22e4fa8d /modules/gallery/libraries/Theme_View.php | |
parent | 3080317d6e5e4ea9e56b1fd5444c4bcf5852c362 (diff) |
Refactor combine_xxx() functions together into combine_files() and use
html functions to generate the resulting elements. Add phpdoc.
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r-- | modules/gallery/libraries/Theme_View.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index bc8e540a..b73a932c 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -216,8 +216,8 @@ class Theme_View_Core extends Gallery_View { } if ($function == "head") { - array_unshift($blocks, $this->combine_css()); - array_unshift($blocks, $this->combine_script()); + array_unshift($blocks, $this->combine_files($this->css, "css")); + array_unshift($blocks, $this->combine_files($this->css, "javascript")); } if (Session::instance()->get("debug")) { |