', '');
$this->output('
', '');
$this->nav_main_sub();
}
// removes sidebar for user profile pages
public function sidepanel()
{
if ($this->template!='user')
qa_html_theme_base::sidepanel();
}
// prevent display of regular footer content (see body_suffix()) and replace with closing new
s
public function footer()
{
$this->output('
');
$this->output('
');
}
// add RSS feed icon after the page title
public function favorite()
{
parent::favorite();
$feed = @$this->content['feed'];
if (!empty($feed)) {
$this->output('
');
}
}
// add view count to question list
public function q_item_stats($q_item)
{
$this->output('
');
$this->voting($q_item);
$this->a_count($q_item);
qa_html_theme_base::view_count($q_item);
$this->output('
');
}
// prevent display of view count in the usual place
public function view_count($q_item)
{
if ($this->template=='question')
qa_html_theme_base::view_count($q_item);
}
// to replace standard Q2A footer
public function body_suffix()
{
$this->output(' ', '');
}
public function attribution()
{
$this->output(
'
'
);
qa_html_theme_base::attribution();
}
}