summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Theme_View.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-06-29 19:56:52 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-06-29 19:56:52 -0700
commit06172ecdb9e7a4acf158387c4804b6424e8b1b15 (patch)
tree27e6e161eab1da274623634d7e511048b22b13cb /modules/gallery/libraries/Theme_View.php
parent333c9d47e30125bcd7092adacedabaf1fcb417b6 (diff)
parent8af19c0625eca7cd7360ebc1036cd654bdf88145 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r--modules/gallery/libraries/Theme_View.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index 8e320f44..898574d7 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -201,8 +201,8 @@ class Theme_View_Core extends Gallery_View {
array("gallery_theme", $function),
array_merge(array($this), $args));
}
-
}
+
foreach (module::active() as $module) {
if ($module->name == "gallery") {
continue;
@@ -216,7 +216,8 @@ class Theme_View_Core extends Gallery_View {
}
if ($function == "head") {
- array_unshift($blocks, $this->combine_script());
+ array_unshift($blocks, $this->combine_files($this->css, "css"));
+ array_unshift($blocks, $this->combine_files($this->scripts, "javascript"));
}
if (Session::instance()->get("debug")) {