parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$context["supported_core_templates"] = array();
// line 2
$context["supported_custom_templates"] = array();
// line 3
echo "
";
// line 4
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "templates", array()));
foreach ($context['_seq'] as $context["_key"] => $context["template"]) {
if (twig_in_filter((isset($context["slot_type"]) ? $context["slot_type"] : null), $this->getAttribute($context["template"], "supported_slot_types", array()))) {
// line 5
echo "\t";
if ($this->getAttribute($context["template"], "is_core", array())) {
// line 6
echo "\t\t";
$context["supported_core_templates"] = twig_array_merge((isset($context["supported_core_templates"]) ? $context["supported_core_templates"] : null), array(0 => $context["template"]));
// line 7
echo "\t";
} else {
// line 8
echo "\t\t";
$context["supported_custom_templates"] = twig_array_merge((isset($context["supported_custom_templates"]) ? $context["supported_custom_templates"] : null), array(0 => $context["template"]));
// line 9
echo "\t";
}
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 11
echo "
";
// line 12
$context["total_templates"] = (twig_length_filter($this->env, (isset($context["supported_core_templates"]) ? $context["supported_core_templates"] : null)) + twig_length_filter($this->env, (isset($context["supported_custom_templates"]) ? $context["supported_custom_templates"] : null)));
// line 13
echo "
\t
";
$this->loadTemplate("tooltip.twig", "dropdown-templates.twig", 16)->display(array_merge($context, array("content" => $this->getAttribute($this->getAttribute((isset($context["strings"]) ? $context["strings"] : null), "tooltips", array()), "available_templates", array()))));
echo "
\t
";
}
public function getTemplateName()
{
return "dropdown-templates.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 145 => 35, 141 => 33, 126 => 31, 123 => 30, 119 => 29, 114 => 28, 112 => 27, 108 => 25, 93 => 23, 90 => 22, 86 => 21, 82 => 20, 75 => 18, 66 => 16, 59 => 14, 56 => 13, 54 => 12, 51 => 11, 43 => 9, 40 => 8, 37 => 7, 34 => 6, 31 => 5, 26 => 4, 23 => 3, 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("", "dropdown-templates.twig", "/home/darwin/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-templates.twig");
}
}