aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook-blue/theme.php
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-03-13 18:34:15 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-03-13 18:34:15 +0000
commit43430ef561a004aca8a9a28449e51e3885d39a9a (patch)
tree018927c54c16f68aeae7153c81c404d3e9cbbc7d /view/theme/diabook-blue/theme.php
parent59766b944c9ea3a45b1d7e8593f7bb5d4a0b8445 (diff)
parent5a4167646553e589cf9647c0e0d0446e3f5fd672 (diff)
downloadvolse-hubzilla-43430ef561a004aca8a9a28449e51e3885d39a9a.tar.gz
volse-hubzilla-43430ef561a004aca8a9a28449e51e3885d39a9a.tar.bz2
volse-hubzilla-43430ef561a004aca8a9a28449e51e3885d39a9a.zip
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'view/theme/diabook-blue/theme.php')
-rwxr-xr-xview/theme/diabook-blue/theme.php23
1 files changed, 20 insertions, 3 deletions
diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php
index 0a20c9fbc..e5aa710c7 100755
--- a/view/theme/diabook-blue/theme.php
+++ b/view/theme/diabook-blue/theme.php
@@ -1,8 +1,8 @@
<?php
/*
- * Name: Diabook
- * Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
+ * Name: Diabook-blue
+ * Description: Diabook-blue: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
* Version:
* Author:
*/
@@ -12,7 +12,9 @@ $a->theme_info = array(
);
$a->page['htmlhead'] .= <<< EOT
+
<script>
+
//contacts
$('html').click(function() {
$('#nav-contacts-linkmenu').removeClass('selected');
@@ -62,5 +64,20 @@ $('html').click(function() {
$('#nav-site-linkmenu').click(function(event){
event.stopPropagation();
});
-</script>
+ //appsmenu
+ $('html').click(function() {
+ $('#nav-apps-link').removeClass('selected');
+ document.getElementById( "nav-apps-menu" ).style.display = "none";
+ });
+
+ $('#nav-apps-link').click(function(event){
+ event.stopPropagation();
+ });
+
+ $(function() {
+ $('a.lightbox').fancybox(); // Select all links with lightbox class
+});
+
+
+ </script>
EOT;