Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
307 views
in Q2A Core by

qa-include/qa-theme-base.php

Before:

function widgets($region, $place)
/*
Output the widgets (as provided in $this->content['widgets']) for $region and $place
*/
{
  if (count(@$this->content['widgets'][$region][$place])) {
    $this->output('<DIV CLASS="qa-widgets-'.$region.' qa-widgets-'.$region.'-'.$place.'">');
    foreach ($this->content['widgets'][$region][$place] as $module) {
      $this->output('<DIV CLASS="qa-widget-'.$region.' qa-widget-'.$region.'-'.$place.'">');
      $module->output_widget($region, $place, $this, $this->template, $this->request, $this->content);
      $this->output('</DIV>');
    }
    $this->output('</DIV>', '');
  }
}

After:

function widgets($region, $place)
/*
Output the widgets (as provided in $this->content['widgets']) for $region and $place
*/
{
  if (count(@$this->content['widgets'][$region][$place])) {
    $this->output('<DIV CLASS="qa-widgets-'.$region.' qa-widgets-'.$region.'-'.$place.'">');
    foreach ($this->content['widgets'][$region][$place] as $module)
      $module->output_widget($region, $place, $this, $this->template, $this->request, $this->content);
    $this->output('</DIV>', '');
  }
}

Please log in or register to answer this question.

...