update
This commit is contained in:
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
namespace WPML\Core;
|
||||
|
||||
use \WPML\Core\Twig\Environment;
|
||||
use \WPML\Core\Twig\Error\LoaderError;
|
||||
use \WPML\Core\Twig\Error\RuntimeError;
|
||||
use \WPML\Core\Twig\Markup;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityError;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use \WPML\Core\Twig\Source;
|
||||
use \WPML\Core\Twig\Template;
|
||||
|
||||
/* dropdown-menus.twig */
|
||||
class __TwigTemplate_f1ce739fef7bc7dd794b2d41967bdabc42dcf72469c8d61332036acc83b8ef88 extends \WPML\Core\Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 1
|
||||
echo "<h4><label for=\"wpml-ls-available-menus\">";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "select_label", []), "html", null, true);
|
||||
echo ":</label> ";
|
||||
$this->loadTemplate("tooltip.twig", "dropdown-menus.twig", 1)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "available_menus", [])]));
|
||||
echo "</h4>
|
||||
<select name=\"wpml_ls_available_menus\" class=\"js-wpml-ls-available-slots js-wpml-ls-available-menus\">
|
||||
<option disabled=\"disabled\">-- ";
|
||||
// line 3
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "select_option_choose", []), "html", null, true);
|
||||
echo " --</option>
|
||||
";
|
||||
// line 4
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["menus"] ?? null));
|
||||
foreach ($context['_seq'] as $context["menu_key"] => $context["menu"]) {
|
||||
// line 5
|
||||
echo " ";
|
||||
if (($context["menu_key"] == ($context["slug"] ?? null))) {
|
||||
// line 6
|
||||
echo " ";
|
||||
$context["attr"] = " selected=\"selected\"";
|
||||
// line 7
|
||||
echo " ";
|
||||
} elseif (twig_in_filter($this->getAttribute($context["menu"], "term_id", []), \WPML\Core\twig_get_array_keys_filter($this->getAttribute(($context["settings"] ?? null), "menus", [])))) {
|
||||
// line 8
|
||||
echo " ";
|
||||
$context["attr"] = " disabled=\"disabled\"";
|
||||
// line 9
|
||||
echo " ";
|
||||
} else {
|
||||
// line 10
|
||||
echo " ";
|
||||
$context["attr"] = "";
|
||||
// line 11
|
||||
echo " ";
|
||||
}
|
||||
// line 12
|
||||
echo " <option value=\"";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["menu"], "term_id", []), "html", null, true);
|
||||
echo "\"";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, ($context["attr"] ?? null), "html", null, true);
|
||||
echo ">";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["menu"], "name", []), "html", null, true);
|
||||
echo "</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['menu_key'], $context['menu'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 14
|
||||
echo "</select>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "dropdown-menus.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 82 => 14, 69 => 12, 66 => 11, 63 => 10, 60 => 9, 57 => 8, 54 => 7, 51 => 6, 48 => 5, 44 => 4, 40 => 3, 32 => 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("", "dropdown-menus.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-menus.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
|
||||
namespace WPML\Core;
|
||||
|
||||
use \WPML\Core\Twig\Environment;
|
||||
use \WPML\Core\Twig\Error\LoaderError;
|
||||
use \WPML\Core\Twig\Error\RuntimeError;
|
||||
use \WPML\Core\Twig\Markup;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityError;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use \WPML\Core\Twig\Source;
|
||||
use \WPML\Core\Twig\Template;
|
||||
|
||||
/* slot-subform-statics-footer.twig */
|
||||
class __TwigTemplate_09a7528974b03227a24fe2e97b7c69decb7e9737e7faeb979e647bdd00231d8a extends \WPML\Core\Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 1
|
||||
$this->loadTemplate("preview.twig", "slot-subform-statics-footer.twig", 1)->display(twig_array_merge($context, ["preview" => $this->getAttribute($this->getAttribute(($context["previews"] ?? null), "statics", []), "footer", [])]));
|
||||
// line 2
|
||||
echo "
|
||||
<div class=\"wpml-ls-subform-options\">
|
||||
|
||||
\t";
|
||||
// line 5
|
||||
$this->loadTemplate("dropdown-templates.twig", "slot-subform-statics-footer.twig", 5)->display(twig_array_merge($context, ["id" => "in-footer", "name" => "statics[footer][template]", "value" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 9
|
||||
($context["settings"] ?? null), "statics", []), "footer", []), "template", []), "slot_type" => "footer"]));
|
||||
// line 13
|
||||
echo "
|
||||
\t";
|
||||
// line 14
|
||||
$this->loadTemplate("checkboxes-includes.twig", "slot-subform-statics-footer.twig", 14)->display(twig_array_merge($context, ["name_base" => "statics[footer]", "slot_settings" => $this->getAttribute($this->getAttribute( // line 17
|
||||
($context["settings"] ?? null), "statics", []), "footer", []), "template_slug" => $this->getAttribute( // line 18
|
||||
($context["slot_settings"] ?? null), "template", [])]));
|
||||
// line 21
|
||||
echo "
|
||||
\t";
|
||||
// line 22
|
||||
$this->loadTemplate("panel-colors.twig", "slot-subform-statics-footer.twig", 22)->display(twig_array_merge($context, ["id" => "static-footer", "name_base" => "statics[footer]", "slot_settings" => $this->getAttribute($this->getAttribute( // line 26
|
||||
($context["settings"] ?? null), "statics", []), "footer", [])]));
|
||||
// line 29
|
||||
echo "
|
||||
</div>";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "slot-subform-statics-footer.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 55 => 29, 53 => 26, 52 => 22, 49 => 21, 47 => 18, 46 => 17, 45 => 14, 42 => 13, 40 => 9, 39 => 5, 34 => 2, 32 => 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("", "slot-subform-statics-footer.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-footer.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user