0byt3m1n1
Path:
/
home
/
mgatv524
/
public_html
/
midiatech
/
cache
/
f5
/
[
Home
]
File: f51d53b419e21813f593944659067e6187cfd7e9c4db335a7f7fab3370e44a21.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; 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_43e76f438b6cc02d5d74f03b26aabf22e2a1267478d4a0c757a94042e5069a47 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // 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, $this->getAttribute($context["region"], "name", []), "html", null, true); echo " - "; echo twig_escape_filter($this->env, $this->getAttribute($context["region"], "width", []), "html", null, true); echo " x "; echo twig_escape_filter($this->env, $this->getAttribute($context["region"], "height", []), "html", null, true); echo " ["; echo twig_escape_filter($this->env, $this->getAttribute($context["region"], "top", []), "html", null, true); echo ","; echo twig_escape_filter($this->env, $this->getAttribute($context["region"], "left", []), "html", null, true); echo "] <p>"; // line 3 echo __("Widgets that have been Published will be displayed below"); echo "</p> "; // line 4 if ((twig_length_filter($this->env, $this->getAttribute($this->getAttribute($context["region"], "regionPlaylist", []), "widgets", [])) > 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, $this->getAttribute($this->getAttribute($context["region"], "regionPlaylist", []), "widgets", []), 0, 10)); foreach ($context['_seq'] as $context["_key"] => $context["widget"]) { // line 14 echo " <tr> <td>"; // line 15 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["region"], "regionPlaylist", []), "name", []), "html", null, true); echo "</td> <td>"; // line 16 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["widget"], "module", []), "getName", [], "method"), "html", null, true); echo "</td> <td>"; // line 17 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["widget"], "module", []), "getModuleName", [], "method"), "html", null, true); echo "</td> <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute($context["widget"], "calculatedDuration", []), "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 ((twig_length_filter($this->env, $this->getAttribute($this->getAttribute($context["region"], "regionPlaylist", []), "widgets", [])) > 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 ( 115 => 26, 109 => 24, 107 => 23, 103 => 21, 94 => 18, 90 => 17, 86 => 16, 82 => 15, 79 => 14, 75 => 13, 69 => 10, 65 => 9, 61 => 8, 57 => 7, 53 => 5, 51 => 4, 47 => 3, 34 => 2, 30 => 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 Source("", "layout-page-grid-widgetlist.twig", "/home/mgatv524/public_html/midiatech/views/layout-page-grid-widgetlist.twig"); } }