2011-10-01 13:25:40 +02:00
|
|
|
<?php
|
2012-03-13 04:21:32 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Name: Dark Bubble
|
|
|
|
* Version: 1.0
|
|
|
|
* Maintainer: Mike Macgirvin <mike@macgirvin.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2013-01-03 18:47:45 +01:00
|
|
|
function darkbubble_init(&$a) {
|
2011-10-01 13:25:40 +02:00
|
|
|
$a->theme_info = array(
|
|
|
|
'extends' => 'testbubble',
|
|
|
|
);
|
2012-12-23 14:16:35 +01:00
|
|
|
set_template_engine($a, 'smarty3');
|
2012-03-13 04:21:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
$a->page['htmlhead'] .= <<< EOT
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
EOT;
|
2013-01-03 18:47:45 +01:00
|
|
|
}
|