Commit 6ea47e63 by Scott

Remove comment voting form when not being used

parent 1ac1c5b6
...@@ -2402,13 +2402,10 @@ class qa_html_theme_base ...@@ -2402,13 +2402,10 @@ class qa_html_theme_base
$this->output('<div class="qa-c-list-item ' . $extraclass . '" ' . @$c_item['tags'] . '>'); $this->output('<div class="qa-c-list-item ' . $extraclass . '" ' . @$c_item['tags'] . '>');
if (isset($c_item['main_form_tags'])) { if (isset($c_item['vote_view']) && isset($c_item['main_form_tags'])) {
$this->output('<form ' . $c_item['main_form_tags'] . '>'); // form for comment voting buttons // form for comment voting buttons
} $this->output('<form ' . $c_item['main_form_tags'] . '>');
$this->voting($c_item);
$this->voting($c_item);
if (isset($c_item['main_form_tags'])) {
$this->form_hidden_elements(@$c_item['voting_form_hidden']); $this->form_hidden_elements(@$c_item['voting_form_hidden']);
$this->output('</form>'); $this->output('</form>');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment