115 lines
4.3 KiB
PHP
115 lines
4.3 KiB
PHP
<?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;
|
|
|
|
/* batch-translation.twig */
|
|
class __TwigTemplate_79e459079378c831ef2a7938f83e84ace90b7189982af1a1faf423d000dfdec6 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 "<div id=\"batch-media-translation-wrap\" class=\"batch-media-translation-wrap notice otgs-notice notice-info otgs-is-dismissible\" style=\"display: none\">
|
|
<span class=\"notice-dismiss js-close\"><span class=\"screen-reader-text\">";
|
|
// line 2
|
|
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "close", []), "html", null, true);
|
|
echo "</span></span>
|
|
<form id=\"batch-media-translation-form\" method=\"post\" action=\"\">
|
|
<input type=\"hidden\" name=\"action\" value=\"wpml_media_scan_prepare\" />
|
|
<div class=\"usage\" style=\"display: none\">
|
|
<p>";
|
|
// line 6
|
|
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "was_replaced", []), "html", null, true);
|
|
echo "</p>
|
|
<ul class=\"batch-media-translation-post-list\"></ul>
|
|
<p>";
|
|
// line 8
|
|
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "other_posts", []), "html", null, true);
|
|
echo "</p>
|
|
</div>
|
|
<div class=\"no-usage\" style=\"display: none\">
|
|
<p>";
|
|
// line 11
|
|
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "without_usage", []), "html", null, true);
|
|
echo "</p>
|
|
</div>
|
|
<div class=\"batch-media-translation-action-wrap\">
|
|
<ul class=\"batch-media-translation-action-list\">
|
|
<li>
|
|
<label>
|
|
<input type=\"radio\" name=\"global-scan-scope\" value=\"0\" checked/>";
|
|
// line 17
|
|
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "scan_for_this_media", []), "html", null, true);
|
|
echo "
|
|
</label>
|
|
</li>
|
|
<li>
|
|
<label>
|
|
<input type=\"radio\" name=\"global-scan-scope\" value=\"1\"/>";
|
|
// line 22
|
|
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "scan_for_all_media", []), "html", null, true);
|
|
echo "
|
|
</label>
|
|
</li>
|
|
</ul>
|
|
<p class=\"text-right\">
|
|
<input type=\"submit\" class=\"button-primary\" value=\"";
|
|
// line 27
|
|
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "button_label", []), "html", null, true);
|
|
echo "\"/>
|
|
</p>
|
|
</div>
|
|
</form>
|
|
<p class=\"status\"></p>
|
|
</div>";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "batch-translation.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 78 => 27, 70 => 22, 62 => 17, 53 => 11, 47 => 8, 42 => 6, 35 => 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("", "batch-translation.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-media-translation/templates/menus/batch-translation.twig");
|
|
}
|
|
}
|