Ejemplo n.º 1
0
    function body_suffix()
    {
        qa_html_theme_base::body_suffix();
        $this->output('<script type="text/javascript"> $("#adchattoggle").click (function () 
                        {
				
                                $("#adchat").toggle();
				createCookieAdChat($("#adchat").css("display"));
                           
                        });
			function createCookieAdChat(value) {
        var date = new Date();
        date.setTime(date.getTime()+(365*24*60*60*1000));
        var expires = "; expires="+date.toGMTString();
    
    document.cookie = "showadchat"+"="+value+expires+"; path=/";
}
</script>');
    }
Ejemplo n.º 2
0
 function body_suffix()
 {
     qa_html_theme_base::body_suffix();
     if (qa_opt('badge_active')) {
         if (isset($this->content['test-notify'])) {
             $this->trigger_notify('Badge Tester');
         }
     }
 }
Ejemplo n.º 3
0
 function body_suffix()
 {
     qa_html_theme_base::body_suffix();
     // @username autocomplete
     if (qa_opt('buddypress_integration_enable') && qa_opt('buddypress_integration_autocomplete') && !empty($this->bp_mentions)) {
         $this->output('<script type="text/javascript">', 'var bp_mention_autocomplete = [\'' . implode("','", $this->bp_mentions) . '\'];', '</script>');
     }
 }