update
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
<?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;
|
||||
|
||||
/* section-shortcode-action.twig */
|
||||
class __TwigTemplate_ac519db7208f9cb753c076da52442eb9e4c9d0826d79078a1d6ceb9e6a7b8fa0 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 "<p>";
|
||||
echo $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "section_description", []);
|
||||
echo "</p>
|
||||
<p>
|
||||
<input type=\"checkbox\" id=\"wpml-ls-show-in-shortcode-actions\" name=\"statics[shortcode_actions][show]\" value=\"1\"
|
||||
class=\"js-wpml-ls-toggle-slot js-wpml-ls-trigger-save\" data-target=\".js-wpml-ls-shortcode-actions-toggle-target\"
|
||||
";
|
||||
// line 5
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "shortcode_actions", []), "show", [])) {
|
||||
echo "checked=\"checked\"";
|
||||
}
|
||||
echo "/>
|
||||
|
||||
<label for=\"wpml-ls-show-in-shortcode-actions\">";
|
||||
// line 7
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "show", []), "html", null, true);
|
||||
echo "</label>
|
||||
</p>
|
||||
|
||||
<div class=\"hidden\">
|
||||
";
|
||||
// line 11
|
||||
$context["slot_settings"] = [];
|
||||
// line 12
|
||||
echo " ";
|
||||
$context["slot_settings"] = \WPML\Core\twig_array_merge(($context["slot_settings"] ?? null), ["shortcode_actions" => $this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "footer", [])]);
|
||||
// line 13
|
||||
echo "
|
||||
";
|
||||
// line 14
|
||||
$this->loadTemplate("table-slots.twig", "section-shortcode-action.twig", 14)->display(twig_array_merge($context, ["slot_type" => "statics", "slots_settings" => // line 17
|
||||
($context["slot_settings"] ?? null), "slug" => "shortcode_actions"]));
|
||||
// line 21
|
||||
echo "
|
||||
</div>
|
||||
|
||||
<div class=\"js-wpml-ls-shortcode-actions-toggle-target alignleft";
|
||||
// line 24
|
||||
if (($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "shortcode_actions", []), "show", []) != 1)) {
|
||||
echo " hidden";
|
||||
}
|
||||
echo "\">
|
||||
<button class=\"js-wpml-ls-open-dialog button-secondary\"
|
||||
data-target=\"#wpml-ls-slot-list-statics-shortcode_actions\"
|
||||
name=\"wpml-ls-customize\">";
|
||||
// line 27
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "customize_button_label", []), "html", null, true);
|
||||
echo "</button>
|
||||
</div>";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "section-shortcode-action.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 78 => 27, 70 => 24, 65 => 21, 63 => 17, 62 => 14, 59 => 13, 56 => 12, 54 => 11, 47 => 7, 40 => 5, 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("", "section-shortcode-action.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-shortcode-action.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user