diff --git a/3.0/modules/basket/helpers/basket_theme.php b/3.0/modules/basket/helpers/basket_theme.php
index 1ad535e5..db2c91da 100644
--- a/3.0/modules/basket/helpers/basket_theme.php
+++ b/3.0/modules/basket/helpers/basket_theme.php
@@ -20,7 +20,7 @@
class basket_theme_Core {
static function head($theme) {
- $theme->css("basket.css");
+ return $theme->css("basket.css");
}
static function header_top($theme) {
diff --git a/3.0/modules/calendarview/helpers/calendarview_theme.php b/3.0/modules/calendarview/helpers/calendarview_theme.php
index 4342b11f..5f5a3e25 100644
--- a/3.0/modules/calendarview/helpers/calendarview_theme.php
+++ b/3.0/modules/calendarview/helpers/calendarview_theme.php
@@ -20,6 +20,6 @@
class calendarview_theme_Core {
static function head($theme) {
- $theme->css("calendarview_menu.css");
+ return $theme->css("calendarview_menu.css");
}
}
diff --git a/3.0/modules/downloadalbum/helpers/downloadalbum_theme.php b/3.0/modules/downloadalbum/helpers/downloadalbum_theme.php
index d88d8a52..cddbf1ee 100644
--- a/3.0/modules/downloadalbum/helpers/downloadalbum_theme.php
+++ b/3.0/modules/downloadalbum/helpers/downloadalbum_theme.php
@@ -19,6 +19,6 @@
*/
class downloadalbum_theme {
static function head($theme) {
- $theme->css("downloadalbum_menu.css");
+ return $theme->css("downloadalbum_menu.css");
}
}
diff --git a/3.0/modules/downloadfullsize/helpers/downloadfullsize_theme.php b/3.0/modules/downloadfullsize/helpers/downloadfullsize_theme.php
index 698b1488..80f9307d 100644
--- a/3.0/modules/downloadfullsize/helpers/downloadfullsize_theme.php
+++ b/3.0/modules/downloadfullsize/helpers/downloadfullsize_theme.php
@@ -20,7 +20,7 @@
class downloadfullsize_theme {
static function head($theme) {
if ($theme->item && access::can("view_full", $theme->item)) {
- $theme->css("downloadfullsize_menu.css");
+ return $theme->css("downloadfullsize_menu.css");
}
}
}
diff --git a/3.0/modules/ecard/helpers/ecard_theme.php b/3.0/modules/ecard/helpers/ecard_theme.php
index dd3644e8..89ef19ed 100644
--- a/3.0/modules/ecard/helpers/ecard_theme.php
+++ b/3.0/modules/ecard/helpers/ecard_theme.php
@@ -19,6 +19,6 @@
*/
class ecard_theme_Core {
static function head($theme) {
- $theme->css("ecard.css");
+ return $theme->css("ecard.css");
}
}
\ No newline at end of file
diff --git a/3.0/modules/editcreation/helpers/editcreation_theme.php b/3.0/modules/editcreation/helpers/editcreation_theme.php
index 1d570907..a51811c6 100644
--- a/3.0/modules/editcreation/helpers/editcreation_theme.php
+++ b/3.0/modules/editcreation/helpers/editcreation_theme.php
@@ -25,7 +25,7 @@ class editcreation_theme_Core {
}
$item = $theme->item();
if ( $item && access::can("edit", $item) ) {
- $theme->css("editcreation.css");
+ return $theme->css("editcreation.css");
}
}
}
diff --git a/3.0/modules/exif_gps/helpers/exif_gps_theme.php b/3.0/modules/exif_gps/helpers/exif_gps_theme.php
index 160373a2..3940678d 100644
--- a/3.0/modules/exif_gps/helpers/exif_gps_theme.php
+++ b/3.0/modules/exif_gps/helpers/exif_gps_theme.php
@@ -19,6 +19,6 @@
*/
class exif_gps_theme_Core {
static function head($theme) {
- $theme->css("exif_gps_menu.css");
+ return $theme->css("exif_gps_menu.css");
}
}
diff --git a/3.0/modules/favourites/helpers/favourites_theme.php b/3.0/modules/favourites/helpers/favourites_theme.php
index 94f4d806..c39d31c2 100644
--- a/3.0/modules/favourites/helpers/favourites_theme.php
+++ b/3.0/modules/favourites/helpers/favourites_theme.php
@@ -19,8 +19,8 @@
*/
class favourites_theme_Core {
static function head($theme) {
- $theme->css("favourites.css");
- $theme->script("favourites.js");
+ return $theme->css("favourites.css")
+ . $theme->script("favourites.js");
}
static function header_top($theme) {
diff --git a/3.0/modules/highroller/helpers/highroller_theme.php b/3.0/modules/highroller/helpers/highroller_theme.php
index d42ca82f..999aeeb7 100644
--- a/3.0/modules/highroller/helpers/highroller_theme.php
+++ b/3.0/modules/highroller/helpers/highroller_theme.php
@@ -19,8 +19,8 @@
*/
class highroller_theme_Core {
static function head($theme) {
- $theme->script("highroller.js");
- printf("", url::site("highroller/pick_theme"));
+ return $theme->script("highroller.js")
+ . sprintf("", url::site("highroller/pick_theme"));
}
static function header_top($theme) {
diff --git a/3.0/modules/kbd_nav/helpers/kbd_nav_theme.php b/3.0/modules/kbd_nav/helpers/kbd_nav_theme.php
index 6540f020..e085f187 100644
--- a/3.0/modules/kbd_nav/helpers/kbd_nav_theme.php
+++ b/3.0/modules/kbd_nav/helpers/kbd_nav_theme.php
@@ -3,6 +3,6 @@
class Kbd_Nav_theme_Core {
static function head($theme) {
- $theme->script("kbd_nav.js");
+ return $theme->script("kbd_nav.js");
}
}
\ No newline at end of file
diff --git a/3.0/modules/language_flags/helpers/language_flags_theme.php b/3.0/modules/language_flags/helpers/language_flags_theme.php
index 42c16191..9b5a7ada 100644
--- a/3.0/modules/language_flags/helpers/language_flags_theme.php
+++ b/3.0/modules/language_flags/helpers/language_flags_theme.php
@@ -19,6 +19,6 @@
*/
class language_flags_theme_Core {
static function head($theme) {
- $theme->css("language_flags_sidebar.css");
+ return $theme->css("language_flags_sidebar.css");
}
}
diff --git a/3.0/modules/navcarousel/helpers/navcarousel_theme.php b/3.0/modules/navcarousel/helpers/navcarousel_theme.php
index 844af7f2..a22d42fd 100644
--- a/3.0/modules/navcarousel/helpers/navcarousel_theme.php
+++ b/3.0/modules/navcarousel/helpers/navcarousel_theme.php
@@ -36,8 +36,6 @@ class navcarousel_theme_Core {
}\n";
}
$thumbsize = module::get_var("navcarousel", "thumbsize", "50");
- $theme->script("jquery.jcarousel.min.js");
- $theme->css("skin.css");
$showelements = module::get_var("navcarousel", "showelements", "7");
$childcount = $theme->item->parent()->viewable()->children_count();
$itemoffset = intval(floor($showelements / 2));
@@ -64,7 +62,10 @@ class navcarousel_theme_Core {
$onwinload = "});\n
$(window).load(function () {\n";
}
- Return "\n
+ return
+ $theme->script("jquery.jcarousel.min.js")
+ . $theme->css("skin.css")
+ . "\n