]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/darkbubble/theme.php
Merge branch 'master' of https://github.com/friendica/friendica
[friendica.git] / view / theme / darkbubble / theme.php
index 326c98bbdaa0f70426ef9d17c144437db96d7d4d..475d4e63ce93126491a23d6ae4edfadcbd0535ff 100644 (file)
@@ -1,4 +1,25 @@
 <?php
+
+/*
+ * Name: Dark Bubble
+ * Version: 1.0
+ * Maintainer: Mike Macgirvin <mike@macgirvin.com>
+ */
+
+
+function darkbubble_init(&$a) {
 $a->theme_info = array(
   'extends' => 'testbubble',
 );
+set_template_engine($a, 'smarty3');
+
+
+$a->page['htmlhead'] .= <<< EOT
+<script>
+$(document).ready(function() {
+
+$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
+});
+</script>
+EOT;
+}