Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/uploads/flags/93.tar
Назад
937ac69df7ec963cc7bea3fa9b3d251ea758082fe708ad570265e15d70ebdecc.php 0000775 00000025412 14720503674 0016557 0 ustar 00 <?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; /* template.twig */ class __TwigTemplate_24b7efcf2b43c3b3e2756141aeb0cda65e83e8c509261da27f6b349510642111 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 $context["css_classes_flag"] = \WPML\Core\twig_trim_filter(("wpml-ls-flag " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_flag", []))); // line 2 $context["css_classes_native"] = \WPML\Core\twig_trim_filter(("wpml-ls-native " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_native", []))); // line 3 $context["css_classes_display"] = \WPML\Core\twig_trim_filter(("wpml-ls-display " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_display", []))); // line 4 $context["css_classes_bracket"] = \WPML\Core\twig_trim_filter(("wpml-ls-bracket " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_bracket", []))); // line 5 $context["css_classes_link"] = \WPML\Core\twig_trim_filter(("wpml-ls-link " . $this->getAttribute($this->getAttribute(($context["language"] ?? null), "backward_compatibility", []), "css_classes_a", []))); // line 6 echo " <div class=\""; // line 7 echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes"] ?? null), "html", null, true); echo " wpml-ls-legacy-list-horizontal\""; if ($this->getAttribute(($context["backward_compatibility"] ?? null), "css_id", [])) { echo " id=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["backward_compatibility"] ?? null), "css_id", []), "html", null, true); echo "\""; } echo "> \t<ul>"; // line 10 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["code"] => $context["language"]) { // line 11 echo "<li class=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "css_classes", []), "html", null, true); echo " wpml-ls-item-legacy-list-horizontal\"> \t\t\t\t<a href=\""; // line 12 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "url", []), "html", null, true); echo "\" class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_link"] ?? null), "html", null, true); echo "\"> "; // line 13 $this->loadTemplate("flag.twig", "template.twig", 13)->display($context); // line 15 if (($this->getAttribute($context["language"], "is_current", []) && ($this->getAttribute($context["language"], "native_name", []) || $this->getAttribute($context["language"], "display_name", [])))) { // line 17 $context["current_language_name"] = (($this->getAttribute($context["language"], "native_name", [], "any", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute($context["language"], "native_name", []), $this->getAttribute($context["language"], "display_name", []))) : ($this->getAttribute($context["language"], "display_name", []))); // line 18 echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_native"] ?? null), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, ($context["current_language_name"] ?? null), "html", null, true); echo "</span>"; } else { // line 22 if ($this->getAttribute($context["language"], "native_name", [])) { // line 23 echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_native"] ?? null), "html", null, true); echo "\" lang=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "code", []), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "native_name", []), "html", null, true); echo "</span>"; } // line 26 if (($this->getAttribute($context["language"], "display_name", []) && ($this->getAttribute($context["language"], "display_name", []) != $this->getAttribute($context["language"], "native_name", [])))) { // line 27 echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true); echo "\">"; // line 28 if ($this->getAttribute($context["language"], "native_name", [])) { echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true); echo "\"> (</span>"; } // line 29 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "display_name", []), "html", null, true); // line 30 if ($this->getAttribute($context["language"], "native_name", [])) { echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true); echo "\">)</span>"; } // line 31 echo "</span>"; } } // line 35 echo "</a> \t\t\t</li>"; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 39 echo "</ul> </div> "; } public function getTemplateName() { return "template.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 146 => 39, 131 => 35, 127 => 31, 121 => 30, 119 => 29, 113 => 28, 109 => 27, 107 => 26, 98 => 23, 96 => 22, 89 => 18, 87 => 17, 85 => 15, 83 => 13, 77 => 12, 72 => 11, 55 => 10, 45 => 7, 42 => 6, 40 => 5, 38 => 4, 36 => 3, 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("{% set css_classes_flag = ('wpml-ls-flag ' ~ backward_compatibility.css_classes_flag)|trim %} {% set css_classes_native = ('wpml-ls-native ' ~ backward_compatibility.css_classes_native)|trim %} {% set css_classes_display = ('wpml-ls-display ' ~ backward_compatibility.css_classes_display)|trim %} {% set css_classes_bracket = ('wpml-ls-bracket ' ~ backward_compatibility.css_classes_bracket)|trim %} {% set css_classes_link = ('wpml-ls-link ' ~ language.backward_compatibility.css_classes_a)|trim %} <div class=\"{{ css_classes }} wpml-ls-legacy-list-horizontal\"{% if backward_compatibility.css_id %} id=\"{{ backward_compatibility.css_id }}\"{% endif %}> \t<ul> \t\t{%- for code, language in languages -%} \t\t\t<li class=\"{{ language.css_classes }} wpml-ls-item-legacy-list-horizontal\"> \t\t\t\t<a href=\"{{ language.url }}\" class=\"{{ css_classes_link }}\"> {% include 'flag.twig' %} \t\t\t\t\t{%- if language.is_current and (language.native_name or language.display_name) -%} \t\t\t\t\t\t{%- set current_language_name = language.native_name|default(language.display_name) -%} \t\t\t\t\t\t<span class=\"{{ css_classes_native }}\">{{- current_language_name -}}</span> \t\t\t\t\t{%- else -%} \t\t\t\t\t\t{%- if language.native_name -%} \t\t\t\t\t\t\t<span class=\"{{ css_classes_native }}\" lang=\"{{ language.code }}\">{{- language.native_name -}}</span> \t\t\t\t\t\t{%- endif -%} \t\t\t\t\t\t{%- if language.display_name and (language.display_name != language.native_name) -%} \t\t\t\t\t\t\t<span class=\"{{ css_classes_display }}\"> \t\t\t\t\t\t\t{%- if language.native_name -%}<span class=\"{{ css_classes_bracket }}\"> (</span>{%- endif -%} \t\t\t\t\t\t\t\t{{- language.display_name -}} \t\t\t\t\t\t\t{%- if language.native_name -%}<span class=\"{{ css_classes_bracket }}\">)</span>{%- endif -%} \t\t\t\t\t\t\t</span> \t\t\t\t\t\t{%- endif -%} \t\t\t\t\t{%- endif -%} \t\t\t\t</a> \t\t\t</li> \t\t{%- endfor -%} \t</ul> </div> ", "template.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/template.twig"); } } 93f39efe2472b1badc66ffcc605ba1d26942a933a532be61e4f160e1fa90034f.php 0000775 00000055675 14720503674 0016317 0 ustar 00 <?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_41316e822db6be9a6ffb06619dcfa9d8a6856c10480e555bad4678ba9468c123 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\t<span class=\"wpml-col-media-filename\"> \t\t\t"; // line 36 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "file_name", []), "html", null, true); echo " \t\t</span> \t</td> \t<td class=\"wpml-col-media-translations\"> \t\t"; // line 40 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); foreach ($context['_seq'] as $context["code"] => $context["language"]) { // line 41 echo "\t\t\t"; if ((twig_test_empty(($context["target_language"] ?? null)) || (($context["target_language"] ?? null) == $context["code"]))) { // line 42 echo "\t\t\t\t"; if (($this->getAttribute(($context["attachment"] ?? null), "language", []) == $context["code"])) { // line 43 echo "\t\t\t\t\t<span class=\"js-otgs-popover-tooltip\" data-tippy-distance=\"-12\" \t\t\t\t\t\t title=\""; // line 44 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 48 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 49 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 50 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 51 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 52 if ( !$this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) { // line 53 echo "\t\t\t\t\t\t\t\tdata-tippy-distance=\"-12\" \t\t\t\t\t\t\t"; } // line 55 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 56 echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true); echo "\" \t\t\t\t\t\t data-language-name=\""; // line 57 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 58 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 59 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 60 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 61 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 62 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 63 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 64 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 65 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 66 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 67 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 68 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 69 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 70 if ( !$this->getAttribute(($context["attachment"] ?? null), "is_image", [])) { echo "class=\"is-non-image\""; } // line 71 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 72 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 73 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 77 echo "\t\t\t"; } // line 78 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 79 echo "\t</td> </tr> "; } public function getTemplateName() { return "media-translation-table-row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 291 => 79, 285 => 78, 282 => 77, 273 => 73, 265 => 72, 258 => 71, 254 => 70, 250 => 69, 244 => 68, 240 => 67, 234 => 66, 230 => 65, 226 => 64, 222 => 63, 218 => 62, 214 => 61, 210 => 60, 206 => 59, 202 => 58, 198 => 57, 194 => 56, 189 => 55, 185 => 53, 183 => 52, 179 => 51, 175 => 50, 169 => 49, 166 => 48, 157 => 44, 154 => 43, 151 => 42, 148 => 41, 144 => 40, 137 => 36, 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("<tr class=\"wpml-media-attachment-row\" data-attachment-id=\"{{ attachment.post.ID }}\" \tdata-language-code=\"{{ attachment.language }}\" \tdata-language-name=\"{{ languages[attachment.language].name }}\" \tdata-is-image=\"{{ attachment.is_image }}\" \tdata-thumb=\"{{ attachment.thumb.src }}\" \tdata-file-name=\"{{ attachment.file_name }}\" \tdata-mime-type=\"{{ attachment.mime_type }}\" \tdata-title=\"{{ attachment.post.post_title }}\" \tdata-caption=\"{{ attachment.post.post_excerpt }}\" \tdata-alt_text=\"{{ attachment.alt }}\" \tdata-description=\"{{ attachment.post.post_content }}\" \tdata-flag=\"{{ languages[attachment.language].flag }}\"> \t<td class=\"wpml-col-media-title\"> <span title=\"{{ languages[attachment.language].name }}\" class=\"wpml-media-original-flag js-otgs-popover-tooltip\" \t\t\t data-tippy-distance=\"-12\"> <img src=\"{{ languages[attachment.language].flag }}\" width=\"16\" height=\"12\" alt=\"{{ attachment.language }}\"> </span> \t\t<span class=\"wpml-media-wrapper\"> <img src=\"{{ attachment.thumb.src }}\" \t\t\t\t width=\"{{ attachment.thumb.width }}\" \t\t\t\t height=\"{{ attachment.thumb.height }}\" \t\t\t\t alt=\"{{ attachment.language }}\" \t\t\t\t {% if not attachment.is_image %} \t\t\t\t\t class=\"is-non-image\" \t\t\t\t {% else %} \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= \"{{ attachment.preview.width }}px\" \t\t\t\t\t data-tippy-content=\"{{ '<img style=\\\"max-width:100%;width:auto;max-height:' ~ attachment.preview.height ~ 'px;height:auto;\\\" src=\"' ~ attachment.url ~ '\" />' }}\" \t\t\t\t\t class=\"js-otgs-popover-tooltip\" \t\t\t\t {% endif %} \t\t\t> </span> \t\t<span class=\"wpml-col-media-filename\"> \t\t\t{{ attachment.file_name }} \t\t</span> \t</td> \t<td class=\"wpml-col-media-translations\"> \t\t{% for code, language in languages %} \t\t\t{% if target_language is empty or target_language == code %} \t\t\t\t{% if attachment.language == code %} \t\t\t\t\t<span class=\"js-otgs-popover-tooltip\" data-tippy-distance=\"-12\" \t\t\t\t\t\t title=\"{{ languages[attachment.language].name }}: {{ strings.original_language }}\"> <i class=\"otgs-ico-original\"></i> </span> \t\t\t\t{% else %} \t\t\t\t\t<span class=\"wpml-media-wrapper js-otgs-popover-tooltip\" \t\t\t\t\t\t id=\"media-attachment-{{ attachment.post.ID }}-{{ code }}\" \t\t\t\t\t\t data-file-name=\"{{ attachment.translations[code].file_name }}\" \t\t\t\t\t\t title=\"{{ strings.edit_translation | format(languages[code].name ) }}\" {% if not attachment.translations[code].media_is_translated %} \t\t\t\t\t\t\t\tdata-tippy-distance=\"-12\" \t\t\t\t\t\t\t{% endif %} data-attachment-id=\"{{ attachment.translations[code].id }}\" \t\t\t\t\t\t data-language-code=\"{{ code }}\" \t\t\t\t\t\t data-language-name=\"{{ language.name }}\" \t\t\t\t\t\t data-url=\"{{ attachment.url }}\" \t\t\t\t\t\t data-thumb=\"{{ attachment.translations[code].thumb.src }}\" \t\t\t\t\t\t data-title=\"{{ attachment.translations[code].title }}\" \t\t\t\t\t\t data-caption=\"{{ attachment.translations[code].caption }}\" \t\t\t\t\t\t data-alt_text=\"{{ attachment.translations[code].alt }}\" \t\t\t\t\t\t data-description=\"{{ attachment.translations[code].description }}\" \t\t\t\t\t\t data-flag=\"{{ languages[code].flag }}\" \t\t\t\t\t\t data-media-is-translated=\"{{ attachment.translations[code].media_is_translated }}\"> <a class=\"js-open-media-translation-dialog {% if attachment.translations[code].media_is_translated %}wpml-media-translation-image{% endif %}\"> <img src=\"{{ attachment.translations[code].thumb.src }}\" \t\t\t\t\t\t\t\t\t\t\t width=\"{{ attachment.thumb.width }}\" height=\"{{ attachment.thumb.height }}\" \t\t\t\t\t\t\t\t\t\t\t alt=\"{{ attachment.language }}\" \t\t\t\t\t\t\t\t\t\t\t {% if not attachment.is_image %}class=\"is-non-image\"{% endif %} \t\t\t\t\t\t\t\t\t\t\t{% if not attachment.translations[code].media_is_translated %}style=\"display:none\"{% endif %}> <i class=\"{% if attachment.translations[code].id %}otgs-ico-edit{% else %}otgs-ico-add{% endif %}\" \t\t\t\t\t\t\t\t\t\t {% if attachment.translations[code].media_is_translated %}style=\"display:none\"{% endif %}></i> </a> </span> \t\t\t\t{% endif %} \t\t\t{% endif %} \t\t{% endfor %} \t</td> </tr> ", "media-translation-table-row.twig", "/var/www/xthruster/html/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-table-row.twig"); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка