示例#1
0
 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();
     }
 }
示例#2
0
 /**
  * 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>");
 }
示例#3
0
 /**
  * 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();
 }