piwik-reports.tpl.php in Piwik Reports 7.4
Same filename and directory in other branches
1 theme call to piwik-reports.tpl.php
- piwik_reports_reports in ./
piwik_reports.pages.inc - Return the $form that handles piwik reports.
File
piwik-reports.tpl.phpView source
<?php
/**
* @file
* Default implementation of the visitors overview report template.
*
* Available variables:
* - $data_url: complete url with params to get selected report.
*/
foreach ($data_url as $data) {
if (!is_null($data['empty_text'])) {
print $data['empty_text'];
}
else {
?>
<h2><?php
print $data['title'];
?></h2>
<div class="widgetIframe"><iframe style="border: 0px none; width: 100%; height: <?php
print $data['iframe_height'] . 'px;" src="' . $data['url'];
?>" scrolling="auto" frameborder="0"></iframe></div>
<?php
}
}