summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers/slideshow_theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/slideshow/helpers/slideshow_theme.php')
-rw-r--r--modules/slideshow/helpers/slideshow_theme.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/slideshow/helpers/slideshow_theme.php b/modules/slideshow/helpers/slideshow_theme.php
index 269a93ce..fdce22f3 100644
--- a/modules/slideshow/helpers/slideshow_theme.php
+++ b/modules/slideshow/helpers/slideshow_theme.php
@@ -19,8 +19,7 @@
*/
class slideshow_theme_Core {
static function head($theme) {
- $proto = (empty($_SERVER["HTTPS"]) || $_SERVER["HTTPS"] === "off") ? "http" : "https";
- return "<script src=\"$proto://lite.piclens.com/current/piclens_optimized.js\" " .
- "type=\"text/javascript\"></script>";
+ $theme->script("slideshow.js");
+ $theme->css("slideshow.css");
}
}