// page edit product smallImage, fix page translation, stats

This commit is contained in:
vKham
2012-01-05 17:41:36 +00:00
parent 1e6512252a
commit 0de03b7bb3
13 changed files with 81 additions and 53 deletions
+4 -3
View File
@@ -62,13 +62,14 @@ class StatsNewsletter extends ModuleGraph
if (Tools::getValue('export'))
$this->csvExport(array('type' => 'line', 'layers' => 3));
$this->_html = '
<fieldset><legend><img src="../modules/'.$this->name.'/logo.gif" /> '.$this->displayName.'</legend>
<div class="blocStats">
<h2><img src="../modules/'.$this->name.'/logo.gif" /> '.$this->displayName.'</h2>
<p>'.$this->l('Registrations from customers:').' '.(int)$totals['customers'].'</p>
<p>'.$this->l('Registrations from visitors:').' '.(int)$totals['visitors'].'</p>
<p>'.$this->l('Both:').' '.(int)$totals['both'].'</p>
<div>'.$this->engine(array('type' => 'line', 'layers' => 3)).'</div>
<p><a href="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'&export=1"><img src="../img/admin/asterisk.gif" />'.$this->l('CSV Export').'</a></p>
</fieldset>';
<p><a class="button export-csv" href="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'&export=1"><span>'.$this->l('CSV Export').'</span></a></p>
</div>';
}
else
$this->_html = '<p>'.$this->l('Module Newsletter Block must be installed').'</p>';