summaryrefslogtreecommitdiff
path: root/modules/user/helpers/user_theme.php
diff options
context:
space:
mode:
authorRomain LE DISEZ <romain.git@ledisez.net>2009-07-16 17:31:20 +0200
committerRomain LE DISEZ <romain.git@ledisez.net>2009-07-16 17:31:20 +0200
commit7f5030ac208c30a7dc576a57cd9e665022ccbde5 (patch)
tree6b23e78aa8cc2dd363def46e083217e3c9b52f1b /modules/user/helpers/user_theme.php
parent923732ca4dca6db218f6252a7133cd72f98fa086 (diff)
parent85b0f580291e375a2c5ec21b8210e59023ee24c2 (diff)
Merge commit 'upstream/master'
Diffstat (limited to 'modules/user/helpers/user_theme.php')
-rw-r--r--modules/user/helpers/user_theme.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/user/helpers/user_theme.php b/modules/user/helpers/user_theme.php
index 2a4a343a..ad9d4c63 100644
--- a/modules/user/helpers/user_theme.php
+++ b/modules/user/helpers/user_theme.php
@@ -25,11 +25,8 @@ class user_theme_Core {
}
static function admin_head($theme) {
- $head = array();
if (strpos(Router::$current_uri, "admin/users") !== false) {
- $head[] = html::script("lib/gallery.panel.js");
+ $theme->script("lib/gallery.panel.js");
}
-
- return implode("\n", $head);
}
}