aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r--view/theme/dispy/theme.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index 1598220b8..ee8698cc0 100644
--- a/view/theme/dispy/theme.php
+++ b/view/theme/dispy/theme.php
@@ -20,8 +20,9 @@ function dispy_init(&$a) {
/** @purpose set some theme defaults
*/
$cssFile = null;
- $colour = false;
$colour = get_pconfig(local_user(), "dispy", "colour");
+ $baseurl = $a->get_baseurl($ssl_state);
+
if ($colour === false) { $colour = "light"; }
if ($colour == "light") {
$colour_path = "/light/";
@@ -39,9 +40,13 @@ function dispy_init(&$a) {
}
$a->page['htmlhead'] .= <<<EOT
+ <script type="text/javascript" src="$baseurl/view/theme/dispy/js/modernizr.custom.2.5.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
- $('.group-edit-icon').hover(
+ // Select all links with lightbox class
+ $("a.lightbox").fancybox();
+
+ $('.group-edit-icon').hover(
function() {
$(this).addClass('icon');
$(this).removeClass('iconspacer'); },