summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers/slideshow_theme.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-20 07:30:49 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-20 07:30:49 -0700
commit5943761df282bfdfe68453de5c1682030006cd11 (patch)
tree455c215280a9b95aa0a61906f54552c7a958b598 /modules/slideshow/helpers/slideshow_theme.php
parent230b9a26ac56c3ca978a7c5df413464068b60812 (diff)
Initial commit of a basic slideshow
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");
}
}