aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy-dark/theme.php
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-03-14 08:02:04 -0700
committerSimon <simon@kisikew.org>2012-03-14 08:02:04 -0700
commitc95deb48398a23de68a3d438b5fffeaea3f3fa01 (patch)
treef9e7d080dd0e32d876cb07409b4f8dc1b550b10b /view/theme/dispy-dark/theme.php
parentf03c57007a2a9ec73902acfb2d951528e68e3117 (diff)
parent0bf9595ab19f3af772d20a88eac86dc8cf962c3e (diff)
downloadvolse-hubzilla-c95deb48398a23de68a3d438b5fffeaea3f3fa01.tar.gz
volse-hubzilla-c95deb48398a23de68a3d438b5fffeaea3f3fa01.tar.bz2
volse-hubzilla-c95deb48398a23de68a3d438b5fffeaea3f3fa01.zip
Merge pull request #134 from simonlnu/master
PHP Fatal error: Call-time pass-by-reference has been removed in mod/item.php on line 630
Diffstat (limited to 'view/theme/dispy-dark/theme.php')
-rw-r--r--view/theme/dispy-dark/theme.php46
1 files changed, 43 insertions, 3 deletions
diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php
index a7aec1c1a..6f8243058 100644
--- a/view/theme/dispy-dark/theme.php
+++ b/view/theme/dispy-dark/theme.php
@@ -1,5 +1,17 @@
<?php
-$a->theme_info = array();
+
+/*
+ * Name: Dispy Dark
+ * Description: Dispy Dark, Friendica theme
+ * Version: 0.9
+ * Author: Simon <http://simon.kisikew.org/>
+ * Maintainer: Simon <http://simon.kisikew.org/>
+ */
+
+
+$a->theme_info = array(
+ 'extends' => 'dispy-dark'
+);
$a->page['htmlhead'] .= <<< EOT
<script>
@@ -52,6 +64,26 @@ $(document).ready(function() {
$('#drop-' + id).addClass('iconspacer'); }
);
+ // notifications
+ $('html').click(function() {
+ $('#nav-notifications-linkmenu').removeClass('selected');
+ document.getElementById("nav-notifications-menu").style.display = "none";
+ });
+
+ $('#nav-notifications-linkmenu').click(function(event) {
+ event.stopPropagation();
+ });
+
+ // usermenu
+ //$('html').click(function() {
+// $('#user-menu-popup').css('display: none');
+ //document.getElementById("usermenu-popup").style.display = "none";
+ //});
+
+ //$('#user-menu').click(function(event) {
+ // event.stopPropagation();
+ //});
+
function toggleToolbar() {
if ( $('#nav-floater').is(':visible') ) {
$('#nav-floater').slideUp('fast');
@@ -69,9 +101,17 @@ $(document).ready(function() {
toggleToolbar();
return false;
});
+
+ $('#profile-jot-text').focusin(function() {
+ $(this).css({color: '#eec'});
+ });
+
+ $('#profile-photo-wrapper').mouseover(function() {
+ $('#profile-edit-side-div').css({display: 'block'});
+ }).mouseout(function() {
+ $('#profile-edit-side-div').css({display: 'none'});
+ });
});
</script>
EOT;
-$a->page['footer'] .= <<<EOFooter
-EOFooter;