You are here

piwik-reports.tpl.php in Piwik Reports 7.4

Same filename and directory in other branches
  1. 7.3 piwik-reports.tpl.php

File

piwik-reports.tpl.php
View 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

  }
}