update
This commit is contained in:
@@ -0,0 +1,229 @@
|
||||
<?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;
|
||||
|
||||
/* layout-main.twig */
|
||||
class __TwigTemplate_ea19762cd01d93531677a03af2acc8f32ff79a3ec51fd2f825ed8f125578330d 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 "<form id=\"wpml-ls-settings-form\" name=\"wpml_ls_settings_form\">
|
||||
|
||||
\t<input type=\"hidden\" name=\"wpml-ls-refresh-on-browser-back-button\" id=\"wpml-ls-refresh-on-browser-back-button\" value=\"no\">
|
||||
|
||||
";
|
||||
// line 5
|
||||
if ($this->getAttribute(($context["notifications"] ?? null), "css_not_loaded", [])) {
|
||||
// line 6
|
||||
echo " <div class=\"wpml-ls-message notice notice-info\">
|
||||
<p>";
|
||||
// line 7
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["notifications"] ?? null), "css_not_loaded", []), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 10
|
||||
echo "
|
||||
<div id=\"wpml-language-switcher-options\" class=\"js-wpml-ls-section wpml-section\">
|
||||
<div class=\"wpml-section-header\">
|
||||
<h3>";
|
||||
// line 13
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "section_title", []), "html", null, true);
|
||||
echo "</h3>
|
||||
\t\t\t<p>";
|
||||
// line 14
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "section_description", []), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
|
||||
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
|
||||
";
|
||||
// line 18
|
||||
$this->loadTemplate("section-options.twig", "layout-main.twig", 18)->display($context);
|
||||
// line 19
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
<div id=\"wpml-language-switcher-menus\" class=\"js-wpml-ls-section wpml-section\">
|
||||
<div class=\"wpml-section-header\">
|
||||
<h3>
|
||||
";
|
||||
// line 25
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "section_title", []), "html", null, true);
|
||||
echo "
|
||||
</h3>
|
||||
";
|
||||
// line 27
|
||||
$this->loadTemplate("save-notification.twig", "layout-main.twig", 27)->display($context);
|
||||
// line 28
|
||||
echo " </div>
|
||||
|
||||
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
|
||||
";
|
||||
// line 31
|
||||
$this->loadTemplate("section-menus.twig", "layout-main.twig", 31)->display($context);
|
||||
// line 32
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
<div id=\"wpml-language-switcher-sidebars\" class=\"js-wpml-ls-section wpml-section\">
|
||||
<div class=\"wpml-section-header\">
|
||||
<h3>
|
||||
";
|
||||
// line 38
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "section_title", []), "html", null, true);
|
||||
echo "
|
||||
</h3>
|
||||
";
|
||||
// line 40
|
||||
$this->loadTemplate("save-notification.twig", "layout-main.twig", 40)->display($context);
|
||||
// line 41
|
||||
echo " </div>
|
||||
|
||||
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
|
||||
";
|
||||
// line 44
|
||||
$this->loadTemplate("section-sidebars.twig", "layout-main.twig", 44)->display($context);
|
||||
// line 45
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
<div id=\"wpml-language-switcher-footer\" class=\"js-wpml-ls-section wpml-section\">
|
||||
<div class=\"wpml-section-header\">
|
||||
<h3>
|
||||
";
|
||||
// line 51
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "footer", []), "section_title", []), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
// line 52
|
||||
$this->loadTemplate("tooltip.twig", "layout-main.twig", 52)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "show_in_footer", [])]));
|
||||
// line 53
|
||||
echo " </h3>
|
||||
</div>
|
||||
|
||||
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
|
||||
";
|
||||
// line 57
|
||||
$this->loadTemplate("section-footer.twig", "layout-main.twig", 57)->display($context);
|
||||
// line 58
|
||||
echo " </div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id=\"wpml-language-switcher-post-translations\" class=\"js-wpml-ls-section wpml-section\">
|
||||
<div class=\"wpml-section-header\">
|
||||
<h3>
|
||||
";
|
||||
// line 65
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "section_title", []), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
// line 66
|
||||
$this->loadTemplate("tooltip.twig", "layout-main.twig", 66)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "section_post_translations", [])]));
|
||||
// line 67
|
||||
echo " </h3>
|
||||
</div>
|
||||
|
||||
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
|
||||
";
|
||||
// line 71
|
||||
$this->loadTemplate("section-post-translations.twig", "layout-main.twig", 71)->display($context);
|
||||
// line 72
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
<div id=\"wpml-language-switcher-shortcode-action\" class=\"js-wpml-ls-section wpml-section\"
|
||||
";
|
||||
// line 76
|
||||
if ( !($context["setup_complete"] ?? null)) {
|
||||
echo " style=\"display:none;\"";
|
||||
}
|
||||
echo ">
|
||||
<div class=\"wpml-section-header\">
|
||||
<h3>
|
||||
";
|
||||
// line 79
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "section_title", []), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
// line 81
|
||||
echo " </h3>
|
||||
";
|
||||
// line 82
|
||||
$this->loadTemplate("save-notification.twig", "layout-main.twig", 82)->display($context);
|
||||
// line 83
|
||||
echo " </div>
|
||||
|
||||
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
|
||||
";
|
||||
// line 86
|
||||
$this->loadTemplate("section-shortcode-action.twig", "layout-main.twig", 86)->display($context);
|
||||
// line 87
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 90
|
||||
$this->loadTemplate("setup-wizard-buttons.twig", "layout-main.twig", 90)->display($context);
|
||||
// line 91
|
||||
echo "
|
||||
";
|
||||
// line 92
|
||||
$this->loadTemplate("dialog-box.twig", "layout-main.twig", 92)->display($context);
|
||||
// line 93
|
||||
echo "
|
||||
</form>";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "layout-main.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 198 => 93, 196 => 92, 193 => 91, 191 => 90, 186 => 87, 184 => 86, 179 => 83, 177 => 82, 174 => 81, 170 => 79, 162 => 76, 156 => 72, 154 => 71, 148 => 67, 146 => 66, 142 => 65, 133 => 58, 131 => 57, 125 => 53, 123 => 52, 119 => 51, 111 => 45, 109 => 44, 104 => 41, 102 => 40, 97 => 38, 89 => 32, 87 => 31, 82 => 28, 80 => 27, 75 => 25, 67 => 19, 65 => 18, 58 => 14, 54 => 13, 49 => 10, 43 => 7, 40 => 6, 38 => 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("", "layout-main.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-main.twig");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,317 @@
|
||||
<?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;
|
||||
|
||||
/* media-translation-table-row.twig */
|
||||
class __TwigTemplate_ac16df890d9a171c9d47937bca2905766d19b96a999b4ee8d0649a2f7485ed4d 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 "<tr class=\"wpml-media-attachment-row\" data-attachment-id=\"";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "ID", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-language-code=\"";
|
||||
// line 2
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-language-name=\"";
|
||||
// line 3
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "name", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-is-image=\"";
|
||||
// line 4
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "is_image", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-thumb=\"";
|
||||
// line 5
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "src", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-file-name=\"";
|
||||
// line 6
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "file_name", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-mime-type=\"";
|
||||
// line 7
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "mime_type", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-title=\"";
|
||||
// line 8
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "post_title", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-caption=\"";
|
||||
// line 9
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "post_excerpt", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-alt_text=\"";
|
||||
// line 10
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "alt", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-description=\"";
|
||||
// line 11
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "post_content", []), "html", null, true);
|
||||
echo "\"
|
||||
\tdata-flag=\"";
|
||||
// line 12
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "flag", []), "html", null, true);
|
||||
echo "\">
|
||||
\t<td class=\"wpml-col-media-title\">
|
||||
<span title=\"";
|
||||
// line 14
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "name", []), "html", null, true);
|
||||
echo "\" class=\"wpml-media-original-flag js-otgs-popover-tooltip\"
|
||||
\t\t\t data-tippy-distance=\"-12\">
|
||||
<img src=\"";
|
||||
// line 16
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "flag", []), "html", null, true);
|
||||
echo "\" width=\"16\" height=\"12\" alt=\"";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
|
||||
echo "\">
|
||||
</span>
|
||||
\t\t<span class=\"wpml-media-wrapper\">
|
||||
<img src=\"";
|
||||
// line 19
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "src", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t width=\"";
|
||||
// line 20
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "width", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t height=\"";
|
||||
// line 21
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "height", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t alt=\"";
|
||||
// line 22
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t ";
|
||||
// line 23
|
||||
if ( !$this->getAttribute(($context["attachment"] ?? null), "is_image", [])) {
|
||||
// line 24
|
||||
echo "\t\t\t\t\t class=\"is-non-image\"
|
||||
\t\t\t\t ";
|
||||
} else {
|
||||
// line 26
|
||||
echo "\t\t\t\t\t data-tippy-boundary=\"viewport\"
|
||||
\t\t\t\t\t data-tippy-flip=\"true\"
|
||||
\t\t\t\t\t data-tippy-placement=\"right\"
|
||||
\t\t\t\t\t data-tippy-maxWidth= \"";
|
||||
// line 29
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "preview", []), "width", []), "html", null, true);
|
||||
echo "px\"
|
||||
\t\t\t\t\t data-tippy-content=\"";
|
||||
// line 30
|
||||
echo \WPML\Core\twig_escape_filter($this->env, (((("<img style=\"max-width:100%;width:auto;max-height:" . $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "preview", []), "height", [])) . "px;height:auto;\" src=\"") . $this->getAttribute(($context["attachment"] ?? null), "url", [])) . "\" />"), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t class=\"js-otgs-popover-tooltip\"
|
||||
\t\t\t\t ";
|
||||
}
|
||||
// line 33
|
||||
echo "\t\t\t>
|
||||
</span>
|
||||
\t</td>
|
||||
\t<td class=\"wpml-col-media-translations\">
|
||||
\t\t";
|
||||
// line 37
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["code"] => $context["language"]) {
|
||||
// line 38
|
||||
echo "\t\t\t";
|
||||
if ((twig_test_empty(($context["target_language"] ?? null)) || (($context["target_language"] ?? null) == $context["code"]))) {
|
||||
// line 39
|
||||
echo "\t\t\t\t";
|
||||
if (($this->getAttribute(($context["attachment"] ?? null), "language", []) == $context["code"])) {
|
||||
// line 40
|
||||
echo "\t\t\t\t\t<span class=\"js-otgs-popover-tooltip\" data-tippy-distance=\"-12\"
|
||||
\t\t\t\t\t\t title=\"";
|
||||
// line 41
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "name", []), "html", null, true);
|
||||
echo ": ";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "original_language", []), "html", null, true);
|
||||
echo "\">
|
||||
<i class=\"otgs-ico-original\"></i>
|
||||
</span>
|
||||
\t\t\t\t";
|
||||
} else {
|
||||
// line 45
|
||||
echo "\t\t\t\t\t<span class=\"wpml-media-wrapper js-otgs-popover-tooltip\"
|
||||
\t\t\t\t\t\t id=\"media-attachment-";
|
||||
// line 46
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "ID", []), "html", null, true);
|
||||
echo "-";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-file-name=\"";
|
||||
// line 47
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "file_name", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t title=\"";
|
||||
// line 48
|
||||
echo \WPML\Core\twig_escape_filter($this->env, sprintf($this->getAttribute(($context["strings"] ?? null), "edit_translation", []), $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $context["code"], [], "array"), "name", [])), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 49
|
||||
if ( !$this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
|
||||
// line 50
|
||||
echo "\t\t\t\t\t\t\t\tdata-tippy-distance=\"-12\"
|
||||
\t\t\t\t\t\t\t";
|
||||
}
|
||||
// line 52
|
||||
echo " data-attachment-id=\"";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "id", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-language-code=\"";
|
||||
// line 53
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-language-name=\"";
|
||||
// line 54
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-url=\"";
|
||||
// line 55
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "url", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-thumb=\"";
|
||||
// line 56
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "thumb", []), "src", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-title=\"";
|
||||
// line 57
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "title", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-caption=\"";
|
||||
// line 58
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "caption", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-alt_text=\"";
|
||||
// line 59
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "alt", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-description=\"";
|
||||
// line 60
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "description", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-flag=\"";
|
||||
// line 61
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $context["code"], [], "array"), "flag", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t data-media-is-translated=\"";
|
||||
// line 62
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", []), "html", null, true);
|
||||
echo "\">
|
||||
<a class=\"js-open-media-translation-dialog ";
|
||||
// line 63
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
|
||||
echo "wpml-media-translation-image";
|
||||
}
|
||||
echo "\">
|
||||
<img src=\"";
|
||||
// line 64
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "thumb", []), "src", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t\t\t\t\t\t width=\"";
|
||||
// line 65
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "width", []), "html", null, true);
|
||||
echo "\" height=\"";
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "height", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t\t\t\t\t\t alt=\"";
|
||||
// line 66
|
||||
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
|
||||
echo "\"
|
||||
\t\t\t\t\t\t\t\t\t\t\t ";
|
||||
// line 67
|
||||
if ( !$this->getAttribute(($context["attachment"] ?? null), "is_image", [])) {
|
||||
echo "class=\"is-non-image\"";
|
||||
}
|
||||
// line 68
|
||||
echo "\t\t\t\t\t\t\t\t\t\t\t";
|
||||
if ( !$this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
|
||||
echo "style=\"display:none\"";
|
||||
}
|
||||
echo ">
|
||||
<i class=\"";
|
||||
// line 69
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "id", [])) {
|
||||
echo "otgs-ico-edit";
|
||||
} else {
|
||||
echo "otgs-ico-add";
|
||||
}
|
||||
echo "\"
|
||||
\t\t\t\t\t\t\t\t\t\t ";
|
||||
// line 70
|
||||
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
|
||||
echo "style=\"display:none\"";
|
||||
}
|
||||
echo "></i>
|
||||
</a>
|
||||
</span>
|
||||
\t\t\t\t";
|
||||
}
|
||||
// line 74
|
||||
echo "\t\t\t";
|
||||
}
|
||||
// line 75
|
||||
echo "\t\t";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 76
|
||||
echo "\t</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "media-translation-table-row.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 285 => 76, 279 => 75, 276 => 74, 267 => 70, 259 => 69, 252 => 68, 248 => 67, 244 => 66, 238 => 65, 234 => 64, 228 => 63, 224 => 62, 220 => 61, 216 => 60, 212 => 59, 208 => 58, 204 => 57, 200 => 56, 196 => 55, 192 => 54, 188 => 53, 183 => 52, 179 => 50, 177 => 49, 173 => 48, 169 => 47, 163 => 46, 160 => 45, 151 => 41, 148 => 40, 145 => 39, 142 => 38, 138 => 37, 132 => 33, 126 => 30, 122 => 29, 117 => 26, 113 => 24, 111 => 23, 107 => 22, 103 => 21, 99 => 20, 95 => 19, 87 => 16, 82 => 14, 77 => 12, 73 => 11, 69 => 10, 65 => 9, 61 => 8, 57 => 7, 53 => 6, 49 => 5, 45 => 4, 41 => 3, 37 => 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("", "media-translation-table-row.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-table-row.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user