diff options
author | Simon <simon@kisikew.org> | 2012-05-03 11:39:34 -0700 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-05-03 11:39:34 -0700 |
commit | cdb73f706f7830ae95c60e2c9b0199f67147ac77 (patch) | |
tree | 42cc7ce948e9717dfe3bd0d547ed72474a9b15fd /view/theme/dispy/theme.php | |
parent | d72db2e1aa68833cbebc1c24ab4e1c6c9c966679 (diff) | |
parent | bb081e4bf5431e6a707297419a970346971d41ae (diff) | |
download | volse-hubzilla-cdb73f706f7830ae95c60e2c9b0199f67147ac77.tar.gz volse-hubzilla-cdb73f706f7830ae95c60e2c9b0199f67147ac77.tar.bz2 volse-hubzilla-cdb73f706f7830ae95c60e2c9b0199f67147ac77.zip |
Merge pull request #285 from simonlnu/master
dispy reworking, step 1
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r-- | view/theme/dispy/theme.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index 1598220b8..eb7073268 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -22,6 +22,8 @@ function dispy_init(&$a) { $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,6 +41,7 @@ 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( |