mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Fix all the head() and admin_head() theme callbacks to return the
results of the $theme->css() and $theme->script() calls. This handles the case where combining scripts/css returns HTML instead of putting it in the queue for combination. Fixes #1611.
This commit is contained in:
@@ -19,12 +19,12 @@
|
||||
*/
|
||||
class user_theme_Core {
|
||||
static function head($theme) {
|
||||
$theme->css("user.css");
|
||||
$theme->script("password_strength.js");
|
||||
return $theme->css("user.css")
|
||||
. $theme->script("password_strength.js");
|
||||
}
|
||||
|
||||
static function admin_head($theme) {
|
||||
$theme->css("user.css");
|
||||
$theme->script("password_strength.js");
|
||||
return $theme->css("user.css")
|
||||
. $theme->script("password_strength.js");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user