diff --git a/modules/sekeywords/sekeywords.php b/modules/sekeywords/sekeywords.php index 942f9f053..24be726ad 100644 --- a/modules/sekeywords/sekeywords.php +++ b/modules/sekeywords/sekeywords.php @@ -105,8 +105,14 @@ class SEKeywords extends ModuleGraph $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->_query.ModuleGraph::getDateBetween().$this->_query2); $total = count($result); $this->html = '

'.$this->displayName.'

-

'. - ($total == 1 ? sprintf($this->l('%d keyword matches your query.'), $total) : sprintf($this->l('%d keywords match your query.'), $total)).'

'; +

'.($total == 1 ? sprintf($this->l('%d keyword matches your query.'), $total) : sprintf($this->l('%d keywords match your query.'), $total)).'

'; + + $form = '
+ '.$this->l('Filter by keyword').' + '.$this->l('And min occurrences').' + +
'; + if ($result && $total) { $table = ' @@ -125,16 +131,11 @@ class SEKeywords extends ModuleGraph $table .= '
'; $this->html .= '
'.$this->engine(array('type' => 'pie')).'

-

'.$this->l('CSV Export').'


-
- '.$this->l('Filter by keyword').' - '.$this->l('And min occurrences').' - -
-
'.$table; +

'.$this->l('CSV Export').'


+ '.$form.'
'.$table; } else - $this->html .= '

'.$this->l('No keywords').'

'; + $this->html .= '

'.$form.''.$this->l('No keywords').'

'; $this->html .= '

'.$this->l('Guide').'