2012-03-09 00:30:45 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Name: Test Bubble
|
|
|
|
* Version: 1.1
|
|
|
|
* Author: Anne Walk
|
|
|
|
* Author: Devlon Duthied
|
|
|
|
* Maintainer: Mike Macgirvin <mike@macgirvin.com>
|
|
|
|
*/
|
2012-03-13 03:21:32 +00:00
|
|
|
|
2013-01-03 17:47:45 +00:00
|
|
|
|
|
|
|
function testbubble_init(&$a) {
|
2012-12-23 13:16:35 +00:00
|
|
|
set_template_engine($a, 'smarty3');
|
2012-12-22 19:57:29 +00:00
|
|
|
|
2012-03-13 03:21:32 +00:00
|
|
|
$a->page['htmlhead'] .= <<< EOT
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
EOT;
|
2013-01-03 17:47:45 +00:00
|
|
|
}
|