diff options
author | friendica <info@friendica.com> | 2012-03-09 14:44:29 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-09 14:44:29 -0800 |
commit | a02ffbcc86d3d2fbe0b73a5eb1dedc0bd3048f34 (patch) | |
tree | c1fbcc0d1c36b102a0943920c28474aff667a182 /view/theme/diabook/theme.php | |
parent | 92a93642e16e58621f8445534ed2348a53891488 (diff) | |
parent | 68ca29719e6eb168ca3efa2d60026da924a0e03b (diff) | |
download | volse-hubzilla-a02ffbcc86d3d2fbe0b73a5eb1dedc0bd3048f34.tar.gz volse-hubzilla-a02ffbcc86d3d2fbe0b73a5eb1dedc0bd3048f34.tar.bz2 volse-hubzilla-a02ffbcc86d3d2fbe0b73a5eb1dedc0bd3048f34.zip |
Merge branch 'pull'
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php new file mode 100755 index 000000000..0a20c9fbc --- /dev/null +++ b/view/theme/diabook/theme.php @@ -0,0 +1,66 @@ +<?php + +/* + * Name: Diabook + * Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu + * Version: + * Author: + */ + +$a->theme_info = array( + 'extends' => 'diabook', +); + +$a->page['htmlhead'] .= <<< EOT +<script> +//contacts +$('html').click(function() { + $('#nav-contacts-linkmenu').removeClass('selected'); + document.getElementById( "nav-contacts-menu" ).style.display = "none"; + }); + + $('#nav-contacts-linkmenu').click(function(event){ + event.stopPropagation(); + }); + +//messages +$('html').click(function() { + $('#nav-messages-linkmenu').removeClass('selected'); + document.getElementById( "nav-messages-menu" ).style.display = "none"; + }); + + $('#nav-messages-linkmenu').click(function(event){ + event.stopPropagation(); + }); + +//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() { + $('#nav-user-linkmenu').removeClass('selected'); + document.getElementById( "nav-user-menu" ).style.display = "none"; + }); + + $('#nav-user-linkmenu').click(function(event){ + event.stopPropagation(); + }); + + //settingsmenu + $('html').click(function() { + $('#nav-site-linkmenu').removeClass('selected'); + document.getElementById( "nav-site-menu" ).style.display = "none"; + }); + + $('#nav-site-linkmenu').click(function(event){ + event.stopPropagation(); + }); +</script> +EOT; |