function body() { if ($this->is_print_view) { $this->output('<BODY onload="window.print()">'); $this->body_content(); $this->output('</BODY>'); } else { qa_html_theme_base::body(); } }
/** * Adding sidebar for mobile device * * @since Snow 1.4 */ public function body() { $this->output("<iframe scrolling='no' frameborder='0' width='100%' height='64' scro src='/solohead'></iframe>"); if (qa_is_mobile_probably()) { $this->output('<div id="qam-sidepanel-toggle"><i class="icon-left-open-big"></i></div>'); $this->output('<div id="qam-sidepanel-mobile">'); qa_html_theme_base::sidepanel(); $this->output('</div>'); } qa_html_theme_base::body(); $this->output("<iframe scrolling='no' frameborder='0' width='100%' height='350' scro src='/solofoot'></iframe>"); }
/** * Adding sidebar for mobile device * * @since Snow 1.4 */ public function body() { if (qa_is_mobile_probably()) { $this->output('<div id="qam-sidepanel-toggle"><i class="icon-left-open-big"></i></div>'); $this->output('<div id="qam-sidepanel-mobile">'); qa_html_theme_base::sidepanel(); $this->output('</div>'); } qa_html_theme_base::body(); }