File: /var/www/html/wp-content/cache/matomo/templates_c/b5/b59652b28d670cc7d88f91e8638f8bda.php
<?php
use Matomo\Dependencies\Twig\Environment;
use Matomo\Dependencies\Twig\Error\LoaderError;
use Matomo\Dependencies\Twig\Error\RuntimeError;
use Matomo\Dependencies\Twig\Extension\CoreExtension;
use Matomo\Dependencies\Twig\Extension\SandboxExtension;
use Matomo\Dependencies\Twig\Markup;
use Matomo\Dependencies\Twig\Sandbox\SecurityError;
use Matomo\Dependencies\Twig\Sandbox\SecurityNotAllowedTagError;
use Matomo\Dependencies\Twig\Sandbox\SecurityNotAllowedFilterError;
use Matomo\Dependencies\Twig\Sandbox\SecurityNotAllowedFunctionError;
use Matomo\Dependencies\Twig\Source;
use Matomo\Dependencies\Twig\Template;
/* @CoreHome/_dataTableFooter.twig */
class __TwigTemplate_74282986d43ca74557e16fa99610a040 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield "<div class=\"dataTableFeatures\">
<div class=\"dataTableFooterNavigation\">
";
// line 4
if (( !(isset($context["isDataTableEmpty"]) || array_key_exists("isDataTableEmpty", $context) ? $context["isDataTableEmpty"] : (function () { throw new RuntimeError('Variable "isDataTableEmpty" does not exist.', 4, $this->source); })()) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 4, $this->source); })()), "show_offset_information", [], "any", false, false, false, 4) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 4, $this->source); })()), "show_pagination_control", [], "any", false, false, false, 4)))) {
// line 5
yield " <div class=\"row dataTablePaginationControl\">
";
// line 6
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 6, $this->source); })()), "show_pagination_control", [], "any", false, false, false, 6)) {
// line 7
yield " <span class=\"dataTablePrevious\">‹ ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["clientSideParameters"] ?? null), "dataTablePreviousIsFirst", [], "any", true, true, false, 7)) {
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("General_First"), "html", null, true);
} else {
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("General_Previous"), "html", null, true);
}
yield "</span>
";
}
// line 10
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 10, $this->source); })()), "show_offset_information", [], "any", false, false, false, 10)) {
// line 11
yield " <span class=\"dataTablePages\"></span>
";
}
// line 13
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 13, $this->source); })()), "show_pagination_control", [], "any", false, false, false, 13)) {
// line 14
yield " <span class=\"dataTableNext\">";
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("General_Next"), "html", null, true);
yield " ›</span>
";
}
// line 16
yield " </div>
";
}
// line 18
yield "
<div class=\"row\">
<div class=\"col s9 m9 dataTableControls\">
";
// line 21
yield from $this->loadTemplate("@CoreHome/_dataTableActions.twig", "@CoreHome/_dataTableFooter.twig", 21)->unwrap()->yield($context);
// line 22
yield " </div>
";
// line 24
if (( !(isset($context["isDataTableEmpty"]) || array_key_exists("isDataTableEmpty", $context) ? $context["isDataTableEmpty"] : (function () { throw new RuntimeError('Variable "isDataTableEmpty" does not exist.', 24, $this->source); })()) && ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 24, $this->source); })()), "show_footer_icons", [], "any", false, false, false, 24) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 24, $this->source); })()), "show_pagination_control", [], "any", false, false, false, 24)) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 24, $this->source); })()), "show_limit_control", [], "any", false, false, false, 24)))) {
// line 25
yield " <div class=\"col s3 m3 limitSelection\"></div>
";
}
// line 27
yield " </div>
";
// line 29
if (( !Matomo\Dependencies\Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 29, $this->source); })()), "related_reports", [], "any", false, false, false, 29)) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 29, $this->source); })()), "show_related_reports", [], "any", false, false, false, 29))) {
// line 30
yield " <div class=\"row datatableRelatedReports\">
";
// line 31
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 31, $this->source); })()), "related_reports_title", [], "any", false, false, false, 31);
yield "
<ul style=\"list-style:none;";
// line 32
if ((Matomo\Dependencies\Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 32, $this->source); })()), "related_reports", [], "any", false, false, false, 32)) == 1)) {
yield "display:inline-block;";
}
yield "\">
<li><span href=\"";
// line 33
yield \Piwik\piwik_escape_filter($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 33, $this->source); })()), "self_url", [], "any", false, false, false, 33), "html", null, true);
yield "\" style=\"display:none;\">";
yield \Piwik\piwik_escape_filter($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 33, $this->source); })()), "title", [], "any", false, false, false, 33), "html", null, true);
yield "</span></li>
";
// line 35
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 35, $this->source); })()), "related_reports", [], "any", false, false, false, 35));
foreach ($context['_seq'] as $context["reportUrl"] => $context["reportTitle"]) {
// line 36
yield " <li><span href=\"";
yield \Piwik\piwik_escape_filter($this->env, $context["reportUrl"], "html", null, true);
yield "\">";
yield \Piwik\piwik_escape_filter($this->env, $context["reportTitle"], "html", null, true);
yield "</span></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['reportUrl'], $context['reportTitle'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
yield " </ul>
</div>
";
}
// line 41
yield " </div>
<span class=\"loadingPiwik\" style=\"display:none;\"><img src=\"plugins/Morpheus/images/loading-blue.gif\"/> ";
// line 43
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("General_LoadingData"), "html", null, true);
yield "</span>
";
// line 45
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["properties"] ?? null), "show_footer_message", [], "any", true, true, false, 45) && !Matomo\Dependencies\Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 45, $this->source); })()), "show_footer_message", [], "any", false, false, false, 45)))) {
// line 46
yield " <div class='datatableFooterMessage'>";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["properties"]) || array_key_exists("properties", $context) ? $context["properties"] : (function () { throw new RuntimeError('Variable "properties" does not exist.', 46, $this->source); })()), "show_footer_message", [], "any", false, false, false, 46);
yield "</div>
";
}
// line 48
yield "
</div>
<span class=\"loadingPiwikBelow\" style=\"display:none;\"><img src=\"plugins/Morpheus/images/loading-blue.gif\"/> ";
// line 51
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("General_LoadingData"), "html", null, true);
yield "</span>
<div class=\"dataTableSpacer\"></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@CoreHome/_dataTableFooter.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 166 => 51, 161 => 48, 155 => 46, 153 => 45, 148 => 43, 144 => 41, 139 => 38, 128 => 36, 124 => 35, 117 => 33, 111 => 32, 107 => 31, 104 => 30, 102 => 29, 98 => 27, 94 => 25, 92 => 24, 88 => 22, 86 => 21, 81 => 18, 77 => 16, 71 => 14, 68 => 13, 64 => 11, 61 => 10, 50 => 7, 48 => 6, 45 => 5, 43 => 4, 38 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"dataTableFeatures\">
<div class=\"dataTableFooterNavigation\">
{% if not isDataTableEmpty and (properties.show_offset_information or properties.show_pagination_control) %}
<div class=\"row dataTablePaginationControl\">
{% if properties.show_pagination_control %}
<span class=\"dataTablePrevious\">‹ {% if clientSideParameters.dataTablePreviousIsFirst is defined %}{{ 'General_First'|translate }}{% else %}{{ 'General_Previous'|translate }}{% endif %}</span>
{% endif %}
{% if properties.show_offset_information %}
<span class=\"dataTablePages\"></span>
{% endif %}
{% if properties.show_pagination_control %}
<span class=\"dataTableNext\">{{ 'General_Next'|translate }} ›</span>
{% endif %}
</div>
{% endif %}
<div class=\"row\">
<div class=\"col s9 m9 dataTableControls\">
{% include \"@CoreHome/_dataTableActions.twig\" %}
</div>
{% if not isDataTableEmpty and (properties.show_footer_icons and properties.show_pagination_control or properties.show_limit_control) %}
<div class=\"col s3 m3 limitSelection\"></div>
{% endif %}
</div>
{% if (properties.related_reports is not empty) and properties.show_related_reports %}
<div class=\"row datatableRelatedReports\">
{{ properties.related_reports_title|raw }}
<ul style=\"list-style:none;{% if properties.related_reports|length == 1 %}display:inline-block;{% endif %}\">
<li><span href=\"{{ properties.self_url }}\" style=\"display:none;\">{{ properties.title }}</span></li>
{% for reportUrl,reportTitle in properties.related_reports %}
<li><span href=\"{{ reportUrl }}\">{{ reportTitle }}</span></li>
{% endfor %}
</ul>
</div>
{% endif %}
</div>
<span class=\"loadingPiwik\" style=\"display:none;\"><img src=\"plugins/Morpheus/images/loading-blue.gif\"/> {{ 'General_LoadingData'|translate }}</span>
{% if properties.show_footer_message is defined and properties.show_footer_message is not empty %}
<div class='datatableFooterMessage'>{{ properties.show_footer_message | raw }}</div>
{% endif %}
</div>
<span class=\"loadingPiwikBelow\" style=\"display:none;\"><img src=\"plugins/Morpheus/images/loading-blue.gif\"/> {{ 'General_LoadingData'|translate }}</span>
<div class=\"dataTableSpacer\"></div>
", "@CoreHome/_dataTableFooter.twig", "/var/www/html/wp-content/plugins/matomo/app/plugins/CoreHome/templates/_dataTableFooter.twig");
}
}