0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
giga
/
cache
/
a1
/
[
Home
]
File: a14ff404ebaf1e4787b2db105292eb2fddda5f7a270876e1efafe728d093dcda.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* layout-page-grid-widgetlist.twig */ class __TwigTemplate_01fe3d3fa15dcf1db80dcaee088ab19e4e21aeb08149cbc0db5bbf66a5273331 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 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["regions"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["region"]) { // line 2 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["region"], "name", [], "any", false, false, false, 2), "html", null, true); echo " - "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["region"], "width", [], "any", false, false, false, 2), "html", null, true); echo " x "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["region"], "height", [], "any", false, false, false, 2), "html", null, true); echo " ["; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["region"], "top", [], "any", false, false, false, 2), "html", null, true); echo ","; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["region"], "left", [], "any", false, false, false, 2), "html", null, true); echo "] <p>"; // line 3 echo __("Widgets that have been Published will be displayed below"); echo "</p> "; // line 4 if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["region"], "regionPlaylist", [], "any", false, false, false, 4), "widgets", [], "any", false, false, false, 4)), 0))) { // line 5 echo " <table class=\"table table-bordered\"> <thead> <th>"; // line 7 echo __("Playlist"); echo "</th> <th>"; // line 8 echo __("Name"); echo "</th> <th>"; // line 9 echo __("Type"); echo "</th> <th>"; // line 10 echo __("Duration"); echo "</th> </thead> <tbody> "; // line 13 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["region"], "regionPlaylist", [], "any", false, false, false, 13), "widgets", [], "any", false, false, false, 13), 0, 10)); foreach ($context['_seq'] as $context["_key"] => $context["widget"]) { // line 14 echo " <tr> <td>"; // line 15 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["region"], "regionPlaylist", [], "any", false, false, false, 15), "name", [], "any", false, false, false, 15), "html", null, true); echo "</td> <td>"; // line 16 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["widget"], "module", [], "any", false, false, false, 16), "getName", [], "method", false, false, false, 16), "html", null, true); echo "</td> <td>"; // line 17 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["widget"], "module", [], "any", false, false, false, 17), "getModuleName", [], "method", false, false, false, 17), "html", null, true); echo "</td> <td>"; // line 18 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["widget"], "calculatedDuration", [], "any", false, false, false, 18), "html", null, true); echo "</td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['widget'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 21 echo " </tbody> </table> "; // line 23 if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["region"], "regionPlaylist", [], "any", false, false, false, 23), "widgets", [], "any", false, false, false, 23)), 10))) { // line 24 echo " <p>"; echo __("This Playlist has more than 10 widgets. The first ten widgets are shown as they appear"); echo "</p> "; } // line 26 echo " "; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['region'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; } public function getTemplateName() { return "layout-page-grid-widgetlist.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 122 => 26, 116 => 24, 114 => 23, 110 => 21, 101 => 18, 97 => 17, 93 => 16, 89 => 15, 86 => 14, 82 => 13, 76 => 10, 72 => 9, 68 => 8, 64 => 7, 60 => 5, 58 => 4, 54 => 3, 41 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "layout-page-grid-widgetlist.twig", "/home/mgatv524/public_html/giga/views/layout-page-grid-widgetlist.twig"); } }