parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->authorize(array(0 => "admin.statistics", 1 => "admin.super"))) { // line 2 echo "
env, twig_jsonencode_filter(array("series" => array(0 => $this->getAttribute($this->getAttribute(($context["popularity"] ?? null), "getDailyChartData", array()), "data", array(), "array")), "labels" => $this->getAttribute($this->getAttribute(($context["popularity"] ?? null), "getDailyChartData", array()), "labels", array(), "array"))), "html_attr"); echo "\">

"; // line 4 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.STATISTICS"), "html", null, true); echo "

"; // line 9 echo twig_escape_filter($this->env, $this->getAttribute(($context["popularity"] ?? null), "getDailyTotal", array()), "html", null, true); echo " "; // line 10 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.TODAY"), "html", null, true); echo " "; // line 13 echo twig_escape_filter($this->env, $this->getAttribute(($context["popularity"] ?? null), "getWeeklyTotal", array()), "html", null, true); echo " "; // line 14 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.WEEK"), "html", null, true); echo " "; // line 17 echo twig_escape_filter($this->env, $this->getAttribute(($context["popularity"] ?? null), "getMonthlyTotal", array()), "html", null, true); echo " "; // line 18 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MONTH"), "html", null, true); echo "
"; } } public function getTemplateName() { return "partials/dashboard-statistics.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 59 => 18, 55 => 17, 49 => 14, 45 => 13, 39 => 10, 35 => 9, 27 => 4, 21 => 2, 19 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Twig_Source("{% if authorize(['admin.statistics', 'admin.super']) %}

{{ \"PLUGIN_ADMIN.STATISTICS\"|tu }}

{{ popularity.getDailyTotal }} {{ \"PLUGIN_ADMIN.TODAY\"|tu }} {{ popularity.getWeeklyTotal }} {{ \"PLUGIN_ADMIN.WEEK\"|tu }} {{ popularity.getMonthlyTotal }} {{ \"PLUGIN_ADMIN.MONTH\"|tu }}
{% endif %} ", "partials/dashboard-statistics.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/dashboard-statistics.html.twig"); } }