function sidepanel()
 {
     if ($this->template != 'user') {
         qa_html_theme_base::sidepanel();
     }
 }
Example #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>");
 }
Example #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();
 }