// update tabs stats
This commit is contained in:
1 parent
8f10a0e32f
commit
bdb797a66c
18 files changed
+691
-458
No files matched your search
@@ -61,13 +61,26 @@ class StatsNewsletter extends ModuleGraph
|
||||
if (Tools::getValue('export'))
|
||||
$this->csvExport(array('type' => 'line', 'layers' => 3));
|
||||
$this->_html = '
|
||||
<div class="blocStats">
|
||||
<h2><img src="../modules/'.$this->name.'/logo.gif" /> '.$this->displayName.'</h2>
|
||||
<p>'.$this->l('Customer registrations:').' '.(int)$totals['customers'].'</p>
|
||||
<p>'.$this->l('Visitor registrations: ').' '.(int)$totals['visitors'].'</p>
|
||||
<p>'.$this->l('Both:').' '.(int)$totals['both'].'</p>
|
||||
<div>'.$this->engine(array('type' => 'line', 'layers' => 3)).'</div>
|
||||
<p><a class="button export-csv" href="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'&export=1"><span>'.$this->l('CSV Export').'</span></a></p>
|
||||
<div class="panel-heading">
|
||||
'.$this->displayName.'
|
||||
</div>
|
||||
<div class="row row-margin-bottom">
|
||||
<div class="col-lg-12">
|
||||
<div class="col-lg-8">
|
||||
'.$this->engine(array('type' => 'line', 'layers' => 3)).'
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<ul class="list-unstyled">
|
||||
<li>'.$this->l('Customer registrations:').' '.(int)$totals['customers'].'</li>
|
||||
<li>'.$this->l('Visitor registrations: ').' '.(int)$totals['visitors'].'</li>
|
||||
<li>'.$this->l('Both:').' '.(int)$totals['both'].'</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
<a class="btn btn-default export-csv" href="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'&export=1">
|
||||
<i class="icon-cloud-upload"></i> '.$this->l('CSV Export').'
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>';
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user