Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/uploads/flags/twig.tar
Назад
4a/4aeebe3ae90caf1b6fe4a902bffb107a16012316c3f63ebd8d110c9fad8930cc.php 0000775 00000021002 14720466120 0017124 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; /* table-slot-row.twig */ class __TwigTemplate_50de6cad30a337ca9666575c30094d84d5e93253f4677a832c88c1c8cbeae924 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 if ((($context["slot_type"] ?? null) == "statics")) { // line 2 echo "\t"; $context["is_static"] = true; // line 3 echo "\t"; $context["dialog_title"] = $this->getAttribute($this->getAttribute(($context["strings"] ?? null), ($context["slug"] ?? null), [], "array"), "dialog_title", []); // line 4 echo "\t"; $context["include_row"] = (((("slot-subform-" . ($context["slot_type"] ?? null)) . "-") . ($context["slug"] ?? null)) . ".twig"); } else { // line 6 echo "\t"; $context["dialog_title"] = $this->getAttribute($this->getAttribute(($context["strings"] ?? null), ($context["slot_type"] ?? null), [], "array"), "dialog_title", []); // line 7 echo "\t"; $context["include_row"] = (("slot-subform-" . ($context["slot_type"] ?? null)) . ".twig"); } // line 9 echo " "; // line 10 $context["slot_row_id"] = ((("wpml-ls-" . ($context["slot_type"] ?? null)) . "-row-") . ($context["slug"] ?? null)); // line 11 echo "<tr id=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["slot_row_id"] ?? null), "html", null, true); echo "\" class=\"js-wpml-ls-row\" data-item-slug=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["slug"] ?? null), "html", null, true); echo "\" data-item-type=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["slot_type"] ?? null), "html", null, true); echo "\"> <td class=\"wpml-ls-cell-preview\"> <div class=\"js-wpml-ls-subform wpml-ls-subform\" data-origin-id=\""; // line 13 echo \WPML\Core\twig_escape_filter($this->env, ($context["slot_row_id"] ?? null), "html", null, true); echo "\" data-title=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["dialog_title"] ?? null), "html", null, true); echo "\" data-item-slug=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["slug"] ?? null), "html", null, true); echo "\" data-item-type=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["slot_type"] ?? null), "html", null, true); echo "\"> "; // line 14 if (($context["slot_settings"] ?? null)) { // line 15 echo " "; $this->loadTemplate(($context["include_row"] ?? null), "table-slot-row.twig", 15)->display(twig_array_merge($context, ["slug" => // line 17 ($context["slug"] ?? null), "slot_settings" => // line 18 ($context["slot_settings"] ?? null), "settings" => // line 19 ($context["settings"] ?? null), "slots" => // line 20 ($context["slots"] ?? null), "strings" => // line 21 ($context["strings"] ?? null), "preview" => $this->getAttribute($this->getAttribute( // line 22 ($context["previews"] ?? null), ($context["slot_type"] ?? null), [], "array"), ($context["slug"] ?? null), [], "array"), "color_schemes" => // line 23 ($context["color_schemes"] ?? null)])); // line 26 echo " "; } // line 27 echo " </div> </td> \t"; // line 30 if ( !($context["is_static"] ?? null)) { // line 31 echo " <td> <span class=\"js-wpml-ls-row-title\">"; // line 32 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["slots"] ?? null), ($context["slug"] ?? null), [], "array"), "name", []), "html", null, true); echo "</span> </td> \t"; } // line 35 echo " \t<td class=\"wpml-ls-cell-action\"> <a href=\"#\" title=\""; // line 37 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "title_action_edit", []), "html", null, true); echo "\" class=\"js-wpml-ls-row-edit wpml-ls-row-edit\"><i class=\"otgs-ico-edit\"></i></a> </td> \t"; // line 40 if ( !($context["is_static"] ?? null)) { // line 41 echo " <td class=\"wpml-ls-cell-action\"> <a href=\"#\" title=\""; // line 42 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "title_action_delete", []), "html", null, true); echo "\" class=\"js-wpml-ls-row-remove wpml-ls-row-remove\"><i class=\"otgs-ico-delete\"></i></a> </td> \t"; } // line 45 echo "</tr>"; } public function getTemplateName() { return "table-slot-row.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 128 => 45, 122 => 42, 119 => 41, 117 => 40, 111 => 37, 107 => 35, 101 => 32, 98 => 31, 96 => 30, 91 => 27, 88 => 26, 86 => 23, 85 => 22, 84 => 21, 83 => 20, 82 => 19, 81 => 18, 80 => 17, 78 => 15, 76 => 14, 66 => 13, 56 => 11, 54 => 10, 51 => 9, 47 => 7, 44 => 6, 40 => 4, 37 => 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("{% if slot_type == 'statics' %} \t{% set is_static = true %} \t{% set dialog_title = strings[ slug ].dialog_title %} \t{% set include_row = 'slot-subform-' ~ slot_type ~ '-' ~ slug ~ '.twig' %} {% else %} \t{% set dialog_title = strings[ slot_type ].dialog_title %} \t{% set include_row = 'slot-subform-' ~ slot_type ~ '.twig' %} {% endif %} {% set slot_row_id = 'wpml-ls-' ~ slot_type ~ '-row-' ~ slug %} <tr id=\"{{ slot_row_id }}\" class=\"js-wpml-ls-row\" data-item-slug=\"{{ slug }}\" data-item-type=\"{{ slot_type }}\"> <td class=\"wpml-ls-cell-preview\"> <div class=\"js-wpml-ls-subform wpml-ls-subform\" data-origin-id=\"{{ slot_row_id }}\" data-title=\"{{ dialog_title }}\" data-item-slug=\"{{ slug }}\" data-item-type=\"{{ slot_type }}\"> {% if slot_settings %} {% include include_row with { \"slug\": slug, \"slot_settings\": slot_settings, \"settings\": settings, \"slots\": slots, \"strings\": strings, \"preview\": previews[ slot_type ][ slug ], \"color_schemes\": color_schemes, } %} {% endif %} </div> </td> \t{% if not is_static %} <td> <span class=\"js-wpml-ls-row-title\">{{ slots[ slug ].name }}</span> </td> \t{% endif %} \t<td class=\"wpml-ls-cell-action\"> <a href=\"#\" title=\"{{ strings.misc.title_action_edit }}\" class=\"js-wpml-ls-row-edit wpml-ls-row-edit\"><i class=\"otgs-ico-edit\"></i></a> </td> \t{% if not is_static %} <td class=\"wpml-ls-cell-action\"> <a href=\"#\" title=\"{{ strings.misc.title_action_delete }}\" class=\"js-wpml-ls-row-remove wpml-ls-row-remove\"><i class=\"otgs-ico-delete\"></i></a> </td> \t{% endif %} </tr>", "table-slot-row.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/table-slot-row.twig"); } } 7f/7f54bc5420fc43170abcffaea19b7c86adb30543d6d339e08efbc28bb748949a.php 0000775 00000034501 14720466120 0016765 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-popup.twig */ class __TwigTemplate_7f74456c77a75ce2aac6ce7cb559a527140eaa7348b286ce2b104291a71ff51c 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=\"wpml-media-dialog\"> <span class=\"ajax-loader\"></span> <form id=\"wpml-media-dialog-form\" method=\"post\" enctype=\"multipart/form-data\"> "; // line 4 echo ($context["nonce"] ?? null); echo " <input type=\"hidden\" name=\"original-attachment-id\" value=\"\"/> <input type=\"hidden\" name=\"translated-attachment-id\" value=\"\"/> <input type=\"hidden\" name=\"translated-language\" value=\"\"/> <input type=\"hidden\" name=\"restore-media\" value=\"0\"/> <input type=\"hidden\" name=\"update-media-file\" value=\"0\"/> <input type=\"hidden\" name=\"action\" value=\"wpml_media_save_translation\"/> <header class=\"wpml-media-translation-header\"> <h3 class=\"wpml-header-original\">"; // line 12 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "original", []), "html", null, true); echo "<span class=\"wpml-title-flag\"><img src=\"#\"></span><strong>%from_language%</strong> </h3> <h3 class=\"wpml-header-translation\">"; // line 15 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "translation", []), "html", null, true); echo "<span class=\"wpml-title-flag\"><img src=\"#\"></span><strong>%to_language%</strong> </h3> </header> <div class=\"wpml-form-row\"> <label>"; // line 23 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "file", []), "html", null, true); echo "</label> <span class=\"wpml-media-wrapper\"> <span class=\"wpml-media-original-image\"> <img src=\"#\" alt=\"#\"> <span class=\"wpml-media-original-title\"></span> </span> </span> <span class=\"wpml-media-wrapper wpml-media-upload-handle\"> <a class=\"wpml-media-translation-image drag-drop-area\"> <img src=\"#\" alt=\"#\"> <span class=\"wpml-media-translated-title\"></span> <span class=\"wpml-media-upload-text hidden\">"; // line 36 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "use_different_file", []), "html", null, true); echo "</span> </a> <span class=\"js-wpml-media-revert wpml-display-block text-center hidden\"> <a class=\"button button-secondary button-small\">"; // line 40 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "revert_to_original", []), "html", null, true); echo "</a> </span> </span> </div> <div class=\"wpml-form-row wpml-form-row-title hidden\"> <label for=\"media-title\">"; // line 47 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "name", []), "html", null, true); echo "</label> <input readonly value=\"\" id=\"media-title-original\" type=\"text\"> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\""; // line 50 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true); echo "\"></button> <input name=\"translation[title]\" id=\"media-title-translation\" value=\"\" type=\"text\"> </div> <div class=\"wpml-form-row wpml-form-row-caption hidden\"> <label for=\"media-caption\">"; // line 54 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "caption", []), "html", null, true); echo "</label> <textarea readonly id=\"media-caption-original\" cols=\"22\" rows=\"4\"></textarea> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\""; // line 57 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true); echo "\"></button> <textarea name=\"translation[caption]\" id=\"media-caption-translation\" cols=\"22\" rows=\"4\"></textarea> </div> <div class=\"wpml-form-row wpml-form-row-alt-text hidden\"> <label for=\"media-alt-text\">"; // line 61 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "alt_text", []), "html", null, true); echo "</label> <input readonly value=\"\" id=\"media-alt-text-original\" type=\"text\"> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\""; // line 64 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true); echo "\"></button> <input name=\"translation[alt-text]\" id=\"media-alt-text-translation\" value=\"\" type=\"text\"> </div> <div class=\"wpml-form-row wpml-form-row-description hidden\"> <label for=\"media-description\">"; // line 68 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "description", []), "html", null, true); echo "</label> <textarea readonly id=\"media-description-original\" cols=\"22\" rows=\"4\"></textarea> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\""; // line 71 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true); echo "\"></button> <textarea name=\"translation[description]\" id=\"media-description-translation\" cols=\"22\" rows=\"4\"></textarea> </div> </form> "; // line 75 if (($context["show_text_change_notice"] ?? null)) { // line 76 echo " <div class=\"text-change-notice notice notice-info inline is-dismissible hidden\"> <p>"; // line 77 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "texts_change_notice", []), "html", null, true); echo "</p> </div> "; } // line 80 echo " <div id=\"wpml-media-upload-progress-animation\"> <div class=\"upload-progress-bar\"></div> <div class=\"status\">0%</div> </div> <span id=\"wpml-media-upload-error\" class=\"icl_error_text\"></span> </div> <form id=\"wpml-media-file-upload-form\" enctype=\"multipart/form-data\"> <input type=\"hidden\" name=\"action\" value=\"wpml_media_upload_file\"> <input type=\"hidden\" name=\"attachment-id\" value=\"\"> <input type=\"hidden\" name=\"original-attachment-id\" value=\"\"> <input type=\"hidden\" name=\"language\" value=\"\"> "; // line 91 echo ($context["nonce"] ?? null); echo " <input style=\"display:none\" type=\"file\" name=\"image\" accept=\"image/*\" /> </form> "; } public function getTemplateName() { return "media-translation-popup.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 174 => 91, 161 => 80, 155 => 77, 152 => 76, 150 => 75, 143 => 71, 137 => 68, 130 => 64, 124 => 61, 117 => 57, 111 => 54, 104 => 50, 98 => 47, 88 => 40, 81 => 36, 65 => 23, 54 => 15, 48 => 12, 37 => 4, 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("<div id=\"wpml-media-dialog\"> <span class=\"ajax-loader\"></span> <form id=\"wpml-media-dialog-form\" method=\"post\" enctype=\"multipart/form-data\"> {{ nonce|raw }} <input type=\"hidden\" name=\"original-attachment-id\" value=\"\"/> <input type=\"hidden\" name=\"translated-attachment-id\" value=\"\"/> <input type=\"hidden\" name=\"translated-language\" value=\"\"/> <input type=\"hidden\" name=\"restore-media\" value=\"0\"/> <input type=\"hidden\" name=\"update-media-file\" value=\"0\"/> <input type=\"hidden\" name=\"action\" value=\"wpml_media_save_translation\"/> <header class=\"wpml-media-translation-header\"> <h3 class=\"wpml-header-original\">{{ strings.original }}<span class=\"wpml-title-flag\"><img src=\"#\"></span><strong>%from_language%</strong> </h3> <h3 class=\"wpml-header-translation\">{{ strings.translation }}<span class=\"wpml-title-flag\"><img src=\"#\"></span><strong>%to_language%</strong> </h3> </header> <div class=\"wpml-form-row\"> <label>{{ strings.file }}</label> <span class=\"wpml-media-wrapper\"> <span class=\"wpml-media-original-image\"> <img src=\"#\" alt=\"#\"> <span class=\"wpml-media-original-title\"></span> </span> </span> <span class=\"wpml-media-wrapper wpml-media-upload-handle\"> <a class=\"wpml-media-translation-image drag-drop-area\"> <img src=\"#\" alt=\"#\"> <span class=\"wpml-media-translated-title\"></span> <span class=\"wpml-media-upload-text hidden\">{{ strings.use_different_file }}</span> </a> <span class=\"js-wpml-media-revert wpml-display-block text-center hidden\"> <a class=\"button button-secondary button-small\">{{ strings.revert_to_original }}</a> </span> </span> </div> <div class=\"wpml-form-row wpml-form-row-title hidden\"> <label for=\"media-title\">{{ strings.name }}</label> <input readonly value=\"\" id=\"media-title-original\" type=\"text\"> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\"{{ strings.copy_from_original }}\"></button> <input name=\"translation[title]\" id=\"media-title-translation\" value=\"\" type=\"text\"> </div> <div class=\"wpml-form-row wpml-form-row-caption hidden\"> <label for=\"media-caption\">{{ strings.caption }}</label> <textarea readonly id=\"media-caption-original\" cols=\"22\" rows=\"4\"></textarea> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\"{{ strings.copy_from_original }}\"></button> <textarea name=\"translation[caption]\" id=\"media-caption-translation\" cols=\"22\" rows=\"4\"></textarea> </div> <div class=\"wpml-form-row wpml-form-row-alt-text hidden\"> <label for=\"media-alt-text\">{{ strings.alt_text }}</label> <input readonly value=\"\" id=\"media-alt-text-original\" type=\"text\"> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\"{{ strings.copy_from_original }}\"></button> <input name=\"translation[alt-text]\" id=\"media-alt-text-translation\" value=\"\" type=\"text\"> </div> <div class=\"wpml-form-row wpml-form-row-description hidden\"> <label for=\"media-description\">{{ strings.description }}</label> <textarea readonly id=\"media-description-original\" cols=\"22\" rows=\"4\"></textarea> <button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\" title=\"{{ strings.copy_from_original }}\"></button> <textarea name=\"translation[description]\" id=\"media-description-translation\" cols=\"22\" rows=\"4\"></textarea> </div> </form> {% if( show_text_change_notice) %} <div class=\"text-change-notice notice notice-info inline is-dismissible hidden\"> <p>{{ strings.texts_change_notice }}</p> </div> {% endif %} <div id=\"wpml-media-upload-progress-animation\"> <div class=\"upload-progress-bar\"></div> <div class=\"status\">0%</div> </div> <span id=\"wpml-media-upload-error\" class=\"icl_error_text\"></span> </div> <form id=\"wpml-media-file-upload-form\" enctype=\"multipart/form-data\"> <input type=\"hidden\" name=\"action\" value=\"wpml_media_upload_file\"> <input type=\"hidden\" name=\"attachment-id\" value=\"\"> <input type=\"hidden\" name=\"original-attachment-id\" value=\"\"> <input type=\"hidden\" name=\"language\" value=\"\"> {{ nonce|raw }} <input style=\"display:none\" type=\"file\" name=\"image\" accept=\"image/*\" /> </form> ", "media-translation-popup.twig", "/var/www/xthruster/html/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-popup.twig"); } } 02/0297e3c5e2a279a1a136a396ccae9cf166ced5f09d4cc91b86c22a1ac93affbc.php 0000775 00000006634 14720466120 0017027 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; /* table-nav-arrow.twig */ class __TwigTemplate_6c99e4a55d5ceb829de46a437fbd0d4ba09af9d821d4d25c79b938e43463e997 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["arrows"] = ["first-page" => "«", "previous-page" => "‹", "next-page" => "›", "last-page" => "»"]; // line 8 echo " "; // line 9 if (($context["url"] ?? null)) { // line 10 echo " <a class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true); echo "\" href=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["url"] ?? null), "html", null, true); echo "\"> <span class=\"screen-reader-text\">"; // line 11 echo \WPML\Core\twig_escape_filter($this->env, ($context["label"] ?? null), "html", null, true); echo "</span><span aria-hidden=\"true\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["arrows"] ?? null), ($context["class"] ?? null), [], "array"), "html", null, true); echo "</span> </a> "; } else { // line 14 echo " <span class=\"tablenav-pages-navspan\" aria-hidden=\"true\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["arrows"] ?? null), ($context["class"] ?? null), [], "array"), "html", null, true); echo "</span> "; } } public function getTemplateName() { return "table-nav-arrow.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 54 => 14, 46 => 11, 39 => 10, 37 => 9, 34 => 8, 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 arrows = { 'first-page': '«', 'previous-page': '‹', 'next-page': '›', 'last-page': '»' } %} {% if url %} <a class=\"{{ class }}\" href=\"{{ url }}\"> <span class=\"screen-reader-text\">{{ label }}</span><span aria-hidden=\"true\">{{ arrows[ class ] }}</span> </a> {% else %} <span class=\"tablenav-pages-navspan\" aria-hidden=\"true\">{{ arrows[ class ] }}</span> {% endif %}", "table-nav-arrow.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/pagination/table-nav-arrow.twig"); } } 02/02bf25dea2b038cc1d33cce9173abc0a01cead44e7ebeb0a376ac0b57806c7dc.php 0000775 00000011027 14720466120 0017110 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; /* section-footer.twig */ class __TwigTemplate_dbac5bc424e9a2ac63095edbac68f20edb18dd2bd8c497189f99f6d392f9f157 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 class=\"wpml-ls-form-line js-wpml-ls-option\"> <label for=\"wpml-ls-show-in-footer\"> <input type=\"checkbox\" id=\"wpml-ls-show-in-footer\" name=\"statics[footer][show]\" value=\"1\" class=\"js-wpml-ls-toggle-slot js-wpml-ls-trigger-save\" data-target=\".js-wpml-ls-footer-toggle-target\" "; // line 5 if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "footer", []), "show", [])) { echo "checked=\"checked\""; } echo "/> "; // line 6 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "footer", []), "show", []), "html", null, true); echo " </label> \t"; // line 9 $this->loadTemplate("save-notification.twig", "section-footer.twig", 9)->display($context); // line 10 echo "</p> <div class=\"js-wpml-ls-footer-toggle-target"; // line 12 if (($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "footer", []), "show", []) != 1)) { echo " hidden"; } echo "\"> \t"; // line 14 $context["slot_settings"] = []; // line 15 echo "\t"; $context["slot_settings"] = \WPML\Core\twig_array_merge(($context["slot_settings"] ?? null), ["footer" => $this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "footer", [])]); // line 16 echo " \t"; // line 17 $this->loadTemplate("table-slots.twig", "section-footer.twig", 17)->display(twig_array_merge($context, ["slot_type" => "statics", "slots_settings" => // line 20 ($context["slot_settings"] ?? null), "slug" => "footer"])); // line 24 echo " </div> "; } public function getTemplateName() { return "section-footer.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 74 => 24, 72 => 20, 71 => 17, 68 => 16, 65 => 15, 63 => 14, 56 => 12, 52 => 10, 50 => 9, 44 => 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("<p class=\"wpml-ls-form-line js-wpml-ls-option\"> <label for=\"wpml-ls-show-in-footer\"> <input type=\"checkbox\" id=\"wpml-ls-show-in-footer\" name=\"statics[footer][show]\" value=\"1\" class=\"js-wpml-ls-toggle-slot js-wpml-ls-trigger-save\" data-target=\".js-wpml-ls-footer-toggle-target\" {% if settings.statics.footer.show %}checked=\"checked\"{% endif %}/> {{ strings.footer.show }} </label> \t{% include 'save-notification.twig' %} </p> <div class=\"js-wpml-ls-footer-toggle-target{% if settings.statics.footer.show != 1 %} hidden{% endif %}\"> \t{% set slot_settings = [] %} \t{% set slot_settings = slot_settings|merge({'footer': settings.statics.footer}) %} \t{% include 'table-slots.twig' \t\twith { \t\t\t\"slot_type\": \"statics\", \t\t\t\"slots_settings\": slot_settings, \t \"slug\" : 'footer', \t\t} \t%} </div> ", "section-footer.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-footer.twig"); } } b5/b5a269d2b92dbef9cf2a3b995e2cbeca4a867c0ebdf1a5920cee8c04a5e4fabe.php 0000775 00000010075 14720466120 0017470 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; /* button-add-new-ls.twig */ class __TwigTemplate_f02339aef018c10276e80ff7d06098b416b6e54beb6e904d383f658a7d347ab1 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 class=\"alignright\"> \t"; // line 3 $context["add_tooltip"] = ($context["tooltip_all_assigned"] ?? null); // line 4 echo " \t"; // line 5 if ((($context["existing_items"] ?? null) == 0)) { // line 6 echo "\t\t"; $context["add_tooltip"] = ($context["tooltip_no_item"] ?? null); // line 7 echo "\t"; } // line 8 echo " \t"; // line 9 if ((($context["settings_items"] ?? null) >= ($context["existing_items"] ?? null))) { // line 10 echo "\t\t"; $context["disabled"] = true; // line 11 echo "\t"; } // line 12 echo " \t<span class=\"js-wpml-ls-tooltip-wrapper"; // line 13 if ( !($context["disabled"] ?? null)) { echo " hidden"; } echo "\"> "; // line 14 $this->loadTemplate("tooltip.twig", "button-add-new-ls.twig", 14)->display(twig_array_merge($context, ["content" => ($context["add_tooltip"] ?? null)])); // line 15 echo " </span> \t<button class=\"js-wpml-ls-open-dialog button-secondary\""; // line 17 if (($context["disabled"] ?? null)) { echo " disabled=\"disabled\""; } // line 18 echo "\t\t\tdata-target=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["button_target"] ?? null), "html", null, true); echo "\">+ "; echo \WPML\Core\twig_escape_filter($this->env, ($context["button_label"] ?? null), "html", null, true); echo "</button> </p>"; } public function getTemplateName() { return "button-add-new-ls.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 79 => 18, 75 => 17, 71 => 15, 69 => 14, 63 => 13, 60 => 12, 57 => 11, 54 => 10, 52 => 9, 49 => 8, 46 => 7, 43 => 6, 41 => 5, 38 => 4, 36 => 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("<p class=\"alignright\"> \t{% set add_tooltip = tooltip_all_assigned %} \t{% if existing_items == 0 %} \t\t{% set add_tooltip = tooltip_no_item %} \t{% endif %} \t{% if settings_items >= existing_items %} \t\t{% set disabled = true %} \t{% endif %} \t<span class=\"js-wpml-ls-tooltip-wrapper{% if not disabled %} hidden{% endif %}\"> {% include 'tooltip.twig' with { \"content\": add_tooltip } %} </span> \t<button class=\"js-wpml-ls-open-dialog button-secondary\"{% if disabled %} disabled=\"disabled\"{% endif %} \t\t\tdata-target=\"{{ button_target }}\">+ {{ button_label }}</button> </p>", "button-add-new-ls.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/button-add-new-ls.twig"); } } b5/b5442095925aec06bcaa38a331d5f36aa8ba0511ce44122137e845a81456ba21.php 0000775 00000021763 14720466120 0016173 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; /* slot-subform-statics-post_translations.twig */ class __TwigTemplate_20d718bb8b2186bd5a26f3e9ba6caa25a1202095b1aac4ee8180e2704db1ac16 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-post_translations.twig", 1)->display(twig_array_merge($context, ["preview" => $this->getAttribute($this->getAttribute(($context["previews"] ?? null), "statics", []), "post_translations", [])])); // line 2 echo " <div class=\"wpml-ls-subform-options\"> \t"; // line 5 $this->loadTemplate("dropdown-templates.twig", "slot-subform-statics-post_translations.twig", 5)->display(twig_array_merge($context, ["id" => "in-post-translations", "name" => "statics[post_translations][template]", "value" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 9 ($context["settings"] ?? null), "statics", []), "post_translations", []), "template", []), "slot_type" => "post_translations"])); // line 13 echo " \t"; // line 14 $this->loadTemplate("checkboxes-includes.twig", "slot-subform-statics-post_translations.twig", 14)->display(twig_array_merge($context, ["name_base" => "statics[post_translations]", "slot_settings" => $this->getAttribute($this->getAttribute( // line 17 ($context["settings"] ?? null), "statics", []), "post_translations", []), "template_slug" => $this->getAttribute( // line 18 ($context["slot_settings"] ?? null), "template", [])])); // line 21 echo " \t<h4><label>"; // line 22 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "position_label", []), "html", null, true); echo "</label> "; $this->loadTemplate("tooltip.twig", "slot-subform-statics-post_translations.twig", 22)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "post_translation_position", [])])); echo "</h4> \t<ul> \t\t<li> \t\t\t<label> \t\t\t\t<input type=\"checkbox\" name=\"statics[post_translations][display_before_content]\" \t\t\t\t\t id=\"wpml-ls-before-in-post-translations\" \t\t\t\t\t value=\"1\""; // line 28 if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "post_translations", []), "display_before_content", [])) { echo " checked=\"checked\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "position_above", []), "html", null, true); echo " \t\t\t</label> \t\t</li> \t\t<li> \t\t\t<label> \t\t\t\t<input type=\"checkbox\" name=\"statics[post_translations][display_after_content]\" \t\t\t\t\t id=\"wpml-ls-after-in-post-translations\" \t\t\t\t\t value=\"1\""; // line 35 if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "post_translations", []), "display_after_content", [])) { echo " checked=\"checked\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "position_below", []), "html", null, true); echo " \t\t\t</label> \t\t</li> \t</ul> \t"; // line 40 if (twig_test_empty($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "post_translations", []), "availability_text", []))) { // line 41 echo "\t\t"; $context["availability_text"] = $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "default_alternative_languages_text", []); // line 42 echo "\t"; } else { // line 43 echo "\t\t"; $context["availability_text"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "post_translations", []), "availability_text", []); // line 44 echo "\t"; } // line 45 echo " \t<h4><label>"; // line 46 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "label_alternative_languages_text", []), "html", null, true); echo "</label> "; $this->loadTemplate("tooltip.twig", "slot-subform-statics-post_translations.twig", 46)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "alternative_languages_text", [])])); echo "</h4> \t<input type=\"text\" class=\"js-wpml-ls-trigger-update\" \t\t name=\"statics[post_translations][availability_text]\" value=\""; // line 48 echo \WPML\Core\twig_escape_filter($this->env, ($context["availability_text"] ?? null), "html", null, true); echo "\" size=\"40\"> </div>"; } public function getTemplateName() { return "slot-subform-statics-post_translations.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 113 => 48, 106 => 46, 103 => 45, 100 => 44, 97 => 43, 94 => 42, 91 => 41, 89 => 40, 77 => 35, 63 => 28, 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("{% include 'preview.twig' with {\"preview\": previews.statics.post_translations } %} <div class=\"wpml-ls-subform-options\"> \t{% include 'dropdown-templates.twig' \twith { \t\"id\": \"in-post-translations\", \t\"name\": \"statics[post_translations][template]\", \t\"value\": settings.statics.post_translations.template, \t\"slot_type\": \"post_translations\", \t} \t%} \t{% include 'checkboxes-includes.twig' \t\twith { \t\t\t\"name_base\": \"statics[post_translations]\", \t\t\t\"slot_settings\": settings.statics.post_translations, \t\t\t\"template_slug\": slot_settings.template, \t\t} \t%} \t<h4><label>{{ strings.post_translations.position_label }}</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.post_translation_position } %}</h4> \t<ul> \t\t<li> \t\t\t<label> \t\t\t\t<input type=\"checkbox\" name=\"statics[post_translations][display_before_content]\" \t\t\t\t\t id=\"wpml-ls-before-in-post-translations\" \t\t\t\t\t value=\"1\"{% if settings.statics.post_translations.display_before_content %} checked=\"checked\"{% endif %}>{{ strings.post_translations.position_above }} \t\t\t</label> \t\t</li> \t\t<li> \t\t\t<label> \t\t\t\t<input type=\"checkbox\" name=\"statics[post_translations][display_after_content]\" \t\t\t\t\t id=\"wpml-ls-after-in-post-translations\" \t\t\t\t\t value=\"1\"{% if settings.statics.post_translations.display_after_content %} checked=\"checked\"{% endif %}>{{ strings.post_translations.position_below }} \t\t\t</label> \t\t</li> \t</ul> \t{% if settings.statics.post_translations.availability_text is empty %} \t\t{% set availability_text = strings.post_translations.default_alternative_languages_text %} \t{% else %} \t\t{% set availability_text = settings.statics.post_translations.availability_text %} \t{% endif %} \t<h4><label>{{ strings.post_translations.label_alternative_languages_text }}</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.alternative_languages_text } %}</h4> \t<input type=\"text\" class=\"js-wpml-ls-trigger-update\" \t\t name=\"statics[post_translations][availability_text]\" value=\"{{ availability_text }}\" size=\"40\"> </div>", "slot-subform-statics-post_translations.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-post_translations.twig"); } } c8/c819ca8e4e30e70a1600cebeda8ac0528ca03457d1e7e162fa9cfb17f0177e47.php 0000775 00000012575 14720466120 0016672 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; /* radio-position-menu.twig */ class __TwigTemplate_70fba6d6b73824a4d0711242415462b8a12cc57eb81e58520db12234ff33c1e9 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 if ( !$this->getAttribute(($context["slot_settings"] ?? null), "position_in_menu", [])) { // line 2 echo " "; $context["menu_position"] = "after"; } else { // line 4 echo " "; $context["menu_position"] = $this->getAttribute(($context["slot_settings"] ?? null), "position_in_menu", []); } // line 6 echo " <h4><label>"; // line 7 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "position_label", []), "html", null, true); echo "</label> "; $this->loadTemplate("tooltip.twig", "radio-position-menu.twig", 7)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "menu_position", [])])); echo "</h4> <ul> <li> <label> <input type=\"radio\" name=\""; // line 11 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[position_in_menu]"; } else { echo "position_in_menu"; } echo "\" class=\" js-wpml-ls-trigger-update\" value=\"before\""; // line 13 if ((($context["menu_position"] ?? null) == "before")) { echo " checked=\"checked\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "position_first_item", []), "html", null, true); echo " </label> </li> <li> <label> <input type=\"radio\" name=\""; // line 18 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[position_in_menu]"; } else { echo "position_in_menu"; } echo "\" class=\" js-wpml-ls-trigger-update\" value=\"after\""; // line 20 if ((($context["menu_position"] ?? null) == "after")) { echo " checked=\"checked\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "position_last_item", []), "html", null, true); echo " </label> </li> </ul>"; } public function getTemplateName() { return "radio-position-menu.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 86 => 20, 76 => 18, 64 => 13, 54 => 11, 45 => 7, 42 => 6, 38 => 4, 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("{% if not slot_settings.position_in_menu %} {% set menu_position = 'after' %} {% else %} {% set menu_position = slot_settings.position_in_menu %} {% endif %} <h4><label>{{ strings.menus.position_label }}</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.menu_position } %}</h4> <ul> <li> <label> <input type=\"radio\" name=\"{% if name_base %}{{ name_base }}[position_in_menu]{% else %}position_in_menu{% endif %}\" class=\" js-wpml-ls-trigger-update\" value=\"before\"{% if menu_position == 'before' %} checked=\"checked\"{% endif %}>{{ strings.menus.position_first_item }} </label> </li> <li> <label> <input type=\"radio\" name=\"{% if name_base %}{{ name_base }}[position_in_menu]{% else %}position_in_menu{% endif %}\" class=\" js-wpml-ls-trigger-update\" value=\"after\"{% if menu_position == 'after' %} checked=\"checked\"{% endif %}>{{ strings.menus.position_last_item }} </label> </li> </ul>", "radio-position-menu.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/radio-position-menu.twig"); } } 12/12d389643852f777e564f008a2d7906a86e3bf8470e9de1e92f821e09791916c.php 0000775 00000012720 14720466120 0015725 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; /* section-shortcode-action.twig */ class __TwigTemplate_f29cd5b8972c6905ac4730be0b0ecbceacc6fd80a4ec66b497760e288cb7c3dd 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("<p>{{ strings.shortcode_actions.section_description|raw }}</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\" {% if settings.statics.shortcode_actions.show %}checked=\"checked\"{% endif %}/> <label for=\"wpml-ls-show-in-shortcode-actions\">{{ strings.shortcode_actions.show }}</label> </p> <div class=\"hidden\"> {% set slot_settings = [] %} {% set slot_settings = slot_settings|merge({'shortcode_actions': settings.statics.footer}) %} {% include 'table-slots.twig' with { \"slot_type\": \"statics\", \"slots_settings\": slot_settings, \"slug\" : 'shortcode_actions', } %} </div> <div class=\"js-wpml-ls-shortcode-actions-toggle-target alignleft{% if settings.statics.shortcode_actions.show != 1 %} hidden{% endif %}\"> <button class=\"js-wpml-ls-open-dialog button-secondary\" data-target=\"#wpml-ls-slot-list-statics-shortcode_actions\" name=\"wpml-ls-customize\">{{ strings.shortcode_actions.customize_button_label }}</button> </div>", "section-shortcode-action.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-shortcode-action.twig"); } } 12/12bd6af038b0bea45d6b1373e708a76d5c901bb7382e581d93cdcf25f55096b6.php 0000775 00000026053 14720466120 0016372 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; /* pagination.twig */ class __TwigTemplate_1cb40c40e9adb25193979463c222949cad8f576ccebdbf5ca3371f5beaec8a07 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 if ($this->getAttribute(($context["pagination_model"] ?? null), "total_items", [])) { // line 2 echo " <h2 class=\"screen-reader-text\">"; // line 3 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "list_navigation", []), "html", null, true); echo "</h2> <div class=\"tablenav-pages clearfix\"> <span class=\"displaying-num\">"; // line 7 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["pagination_model"] ?? null), "total_items_text", []), "html", null, true); echo "</span> "; // line 9 if (($this->getAttribute(($context["pagination_model"] ?? null), "total_items", []) > $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_items_per_page", []))) { // line 10 echo " <span class=\"pagination-links\"> "; // line 13 $this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 13)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 15 ($context["pagination_model"] ?? null), "pagination", []), "get_first_page_url", []), "class" => "first-page", "label" => $this->getAttribute($this->getAttribute( // line 17 ($context["pagination_model"] ?? null), "strings", []), "first_page", [])])); // line 20 echo " "; // line 21 $this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 21)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 23 ($context["pagination_model"] ?? null), "pagination", []), "get_previous_page_url", []), "class" => "previous-page", "label" => $this->getAttribute($this->getAttribute( // line 25 ($context["pagination_model"] ?? null), "strings", []), "previous_page", [])])); // line 28 echo " <span class=\"paging-input\"> "; // line 30 if ((($context["nav_location"] ?? null) == "top")) { // line 31 echo " <label for=\"current-page-selector-"; echo \WPML\Core\twig_escape_filter($this->env, ($context["nav_location"] ?? null), "html", null, true); echo "\" class=\"screen-reader-text\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "current_page", []), "html", null, true); echo "</label> <input class=\"current-page\" id=\"current-page-selector-"; // line 32 echo \WPML\Core\twig_escape_filter($this->env, ($context["nav_location"] ?? null), "html", null, true); echo "\" type=\"text\" name=\"paged\" value=\""; // line 33 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_current_page", []), "html", null, true); echo "\" size=\""; echo \WPML\Core\twig_escape_filter($this->env, \WPML\Core\twig_length_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_total_pages", [])), "html", null, true); echo "\" aria-describedby=\"table-paging\"> <span class=\"tablenav-paging-text\"> "; // line 34 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "of", []), "html", null, true); echo " <span class=\"total-pages\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_total_pages", []), "html", null, true); echo "</span></span> "; } else { // line 36 echo " <span class=\"tablenav-paging-text\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_current_page", []), "html", null, true); echo " "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "of", []), "html", null, true); echo " <span class=\"total-pages\">"; // line 37 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_total_pages", []), "html", null, true); echo "</span> </span> "; } // line 40 echo " </span> "; // line 42 $this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 42)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 44 ($context["pagination_model"] ?? null), "pagination", []), "get_next_page_url", []), "class" => "next-page", "label" => $this->getAttribute($this->getAttribute( // line 46 ($context["pagination_model"] ?? null), "strings", []), "next_page", [])])); // line 49 echo " "; // line 51 $this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 51)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 53 ($context["pagination_model"] ?? null), "pagination", []), "get_last_page_url", []), "class" => "last-page", "label" => $this->getAttribute($this->getAttribute( // line 55 ($context["pagination_model"] ?? null), "strings", []), "last_page", [])])); // line 58 echo " </span> "; } // line 62 echo " </div> "; } } public function getTemplateName() { return "pagination.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 132 => 62, 126 => 58, 124 => 55, 123 => 53, 122 => 51, 118 => 49, 116 => 46, 115 => 44, 114 => 42, 110 => 40, 104 => 37, 97 => 36, 90 => 34, 84 => 33, 80 => 32, 73 => 31, 71 => 30, 67 => 28, 65 => 25, 64 => 23, 63 => 21, 60 => 20, 58 => 17, 57 => 15, 56 => 13, 51 => 10, 49 => 9, 44 => 7, 37 => 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("{% if pagination_model.total_items %} <h2 class=\"screen-reader-text\">{{ pagination_model.strings.list_navigation }}</h2> <div class=\"tablenav-pages clearfix\"> <span class=\"displaying-num\">{{ pagination_model.total_items_text }}</span> {% if pagination_model.total_items > pagination_model.pagination.get_items_per_page %} <span class=\"pagination-links\"> {% include 'table-nav-arrow.twig' with { 'url': pagination_model.pagination.get_first_page_url, 'class': 'first-page', 'label': pagination_model.strings.first_page, } %} {% include 'table-nav-arrow.twig' with { 'url': pagination_model.pagination.get_previous_page_url, 'class': 'previous-page', 'label': pagination_model.strings.previous_page, } %} <span class=\"paging-input\"> {% if nav_location == 'top' %} <label for=\"current-page-selector-{{ nav_location }}\" class=\"screen-reader-text\">{{ pagination_model.strings.current_page }}</label> <input class=\"current-page\" id=\"current-page-selector-{{ nav_location }}\" type=\"text\" name=\"paged\" value=\"{{ pagination_model.pagination.get_current_page }}\" size=\"{{ pagination_model.pagination.get_total_pages|length }}\" aria-describedby=\"table-paging\"> <span class=\"tablenav-paging-text\"> {{ pagination_model.strings.of }} <span class=\"total-pages\">{{ pagination_model.pagination.get_total_pages }}</span></span> {% else %} <span class=\"tablenav-paging-text\">{{ pagination_model.pagination.get_current_page }} {{ pagination_model.strings.of }} <span class=\"total-pages\">{{ pagination_model.pagination.get_total_pages }}</span> </span> {% endif %} </span> {% include 'table-nav-arrow.twig' with { 'url': pagination_model.pagination.get_next_page_url, 'class': 'next-page', 'label': pagination_model.strings.next_page, } %} {% include 'table-nav-arrow.twig' with { 'url': pagination_model.pagination.get_last_page_url, 'class': 'last-page', 'label': pagination_model.strings.last_page, } %} </span> {% endif %} </div> {% endif %}", "pagination.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/pagination/pagination.twig"); } } b8/b81f0b97054e881c7da7cc756f3c2d75ee2f2de9a20612880184b982766b3910.php 0000775 00000035557 14720466120 0016217 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-filters.twig */ class __TwigTemplate_3bb1acda368b88557ea52f54d87e581f82a643d942ef8a89ab9f48acd3be97ac 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=\"posts-filter\" method=\"get\"> <input type=\"hidden\" name=\"page\" value=\"wpml-media\"/> <input type=\"hidden\" name=\"sm\" value=\"media-translation\"/> "; // line 4 echo ($context["nonce"] ?? null); echo " <label for=\"filter-by-date\" class=\"screen-reader-text\">"; // line 5 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "filter_by_date", []), "html", null, true); echo "</label> <select id=\"filter-by-date\" name=\"m\"> <option "; // line 7 if ((($context["selected_month"] ?? null) == 0)) { echo "selected=\"selected\""; } // line 8 echo " value=\"0\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "all_dates", []), "html", null, true); echo "</option> "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["months"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["month"]) { // line 10 echo " <option "; if ((($context["selected_month"] ?? null) == $this->getAttribute($context["month"], "id", []))) { echo "selected=\"selected\""; } // line 11 echo " value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["month"], "id", []), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["month"], "label", []), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['month'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 13 echo " </select> "; // line 14 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "in", []), "html", null, true); echo " <label for=\"filter-by-language\" class=\"screen-reader-text\">"; // line 15 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "filter_by_language", []), "html", null, true); echo "</label> <select id=\"filter-by-language\" name=\"slang\"> <option value=\"\">"; // line 17 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "any_language", []), "html", null, true); echo "</option> "; // line 18 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); foreach ($context['_seq'] as $context["code"] => $context["language"]) { // line 19 echo " <option "; if ((($context["from_language"] ?? null) == $context["code"])) { echo "selected=\"selected\""; } // line 20 echo " value=\""; echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 22 echo " </select> "; // line 23 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "to", []), "html", null, true); echo " <select id=\"filter-by-language\" name=\"tlang\"> <option value=\"\">"; // line 25 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "any_language", []), "html", null, true); echo "</option> "; // line 26 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); foreach ($context['_seq'] as $context["code"] => $context["language"]) { // line 27 echo " <option "; if ((($context["to_language"] ?? null) == $context["code"])) { echo "selected=\"selected\""; } // line 28 echo " value=\""; echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 30 echo " </select> <label for=\"filter-by-translation-status\" class=\"screen-reader-text\">"; // line 32 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "filter_by_status", []), "html", null, true); echo "</label> <select id=\"filter-by-translation-status\" name=\"status\"> <option "; // line 34 if ((\WPML\Core\twig_length_filter($this->env, ($context["selected_status"] ?? null)) == 0)) { echo "selected=\"selected\""; } // line 35 echo " value=\"\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_all", []), "html", null, true); echo "</option> <option "; // line 36 if (((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "not_translated", [])) && (\WPML\Core\twig_length_filter($this->env, ($context["selected_status"] ?? null)) > 0))) { echo "selected=\"selected\""; } // line 37 echo " value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "not_translated", []), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_not", []), "html", null, true); echo "</option> <option "; // line 38 if (((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "in_progress", [])) && (\WPML\Core\twig_length_filter($this->env, ($context["selected_status"] ?? null)) > 0))) { echo "selected=\"selected\""; } // line 39 echo " value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "in_progress", []), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_in_progress", []), "html", null, true); echo "</option> <option "; // line 40 if ((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "translated", []))) { echo "selected=\"selected\""; } // line 41 echo " value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "translated", []), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_translated", []), "html", null, true); echo "</option> <option "; // line 42 if ((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "needs_translation", []))) { echo "selected=\"selected\""; } // line 43 echo " value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "needs_translation", []), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_needs_translation", []), "html", null, true); echo "</option> </select> <label class=\"screen-reader-text\" for=\"media-search-input\">"; // line 46 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "search_media", []), "html", null, true); echo "</label> <input size=\"25\" type=\"search\" id=\"media-search-input\" placeholder=\""; // line 47 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "search_placeholder", []), "html", null, true); echo "\" name=\"s\" value=\""; // line 48 echo \WPML\Core\twig_escape_filter($this->env, ($context["search"] ?? null), "html", null, true); echo "\"> <input type=\"submit\" class=\"button action\" value=\""; // line 49 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "search_button_label", []), "html", null, true); echo "\"> </form>"; } public function getTemplateName() { return "media-translation-filters.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 219 => 49, 215 => 48, 211 => 47, 207 => 46, 198 => 43, 194 => 42, 187 => 41, 183 => 40, 176 => 39, 172 => 38, 165 => 37, 161 => 36, 156 => 35, 152 => 34, 147 => 32, 143 => 30, 132 => 28, 127 => 27, 123 => 26, 119 => 25, 114 => 23, 111 => 22, 100 => 20, 95 => 19, 91 => 18, 87 => 17, 82 => 15, 78 => 14, 75 => 13, 64 => 11, 59 => 10, 55 => 9, 50 => 8, 46 => 7, 41 => 5, 37 => 4, 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("<form id=\"posts-filter\" method=\"get\"> <input type=\"hidden\" name=\"page\" value=\"wpml-media\"/> <input type=\"hidden\" name=\"sm\" value=\"media-translation\"/> {{ nonce|raw }} <label for=\"filter-by-date\" class=\"screen-reader-text\">{{ strings.filter_by_date }}</label> <select id=\"filter-by-date\" name=\"m\"> <option {% if( selected_month == 0 ) %}selected=\"selected\"{% endif %} value=\"0\">{{ strings.all_dates }}</option> {% for month in months %} <option {% if( selected_month == month.id ) %}selected=\"selected\"{% endif %} value=\"{{ month.id }}\">{{ month.label }}</option> {% endfor %} </select> {{ strings.in }} <label for=\"filter-by-language\" class=\"screen-reader-text\">{{ strings.filter_by_language }}</label> <select id=\"filter-by-language\" name=\"slang\"> <option value=\"\">{{ strings.any_language }}</option> {% for code, language in languages %} <option {% if( from_language == code ) %}selected=\"selected\"{% endif %} value=\"{{ code }}\">{{ language.name }}</option> {% endfor %} </select> {{ strings.to }} <select id=\"filter-by-language\" name=\"tlang\"> <option value=\"\">{{ strings.any_language }}</option> {% for code, language in languages %} <option {% if( to_language == code ) %}selected=\"selected\"{% endif %} value=\"{{ code }}\">{{ language.name }}</option> {% endfor %} </select> <label for=\"filter-by-translation-status\" class=\"screen-reader-text\">{{ strings.filter_by_status }}</label> <select id=\"filter-by-translation-status\" name=\"status\"> <option {% if( selected_status|length == 0 ) %}selected=\"selected\"{% endif %} value=\"\">{{ strings.status_all }}</option> <option {% if( selected_status == statuses.not_translated and selected_status|length > 0 ) %}selected=\"selected\"{% endif %} value=\"{{ statuses.not_translated }}\">{{ strings.status_not }}</option> <option {% if( selected_status == statuses.in_progress and selected_status|length > 0 ) %}selected=\"selected\"{% endif %} value=\"{{ statuses.in_progress }}\">{{ strings.status_in_progress }}</option> <option {% if( selected_status == statuses.translated ) %}selected=\"selected\"{% endif %} value=\"{{ statuses.translated }}\">{{ strings.status_translated }}</option> <option {% if( selected_status == statuses.needs_translation ) %}selected=\"selected\"{% endif %} value=\"{{ statuses.needs_translation }}\">{{ strings.status_needs_translation }}</option> </select> <label class=\"screen-reader-text\" for=\"media-search-input\">{{ strings.search_media }}</label> <input size=\"25\" type=\"search\" id=\"media-search-input\" placeholder=\"{{ strings.search_placeholder }}\" name=\"s\" value=\"{{ search }}\"> <input type=\"submit\" class=\"button action\" value=\"{{ strings.search_button_label }}\"> </form>", "media-translation-filters.twig", "/var/www/xthruster/html/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-filters.twig"); } } 0c/0c58828cdc1515494b80b535b5f5aec089ddcb6e15b38543d921c8bf2212044b.php 0000775 00000012473 14720466120 0016305 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; /* dropdown-menus.twig */ class __TwigTemplate_9dab46c1c71a47d27aeb13e49f282c0a8f61ee4f3f900b4e08456aa0442e87ed 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("<h4><label for=\"wpml-ls-available-menus\">{{ strings.menus.select_label }}:</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.available_menus } %}</h4> <select name=\"wpml_ls_available_menus\" class=\"js-wpml-ls-available-slots js-wpml-ls-available-menus\"> <option disabled=\"disabled\">-- {{ strings.menus.select_option_choose }} --</option> {% for menu_key, menu in menus %} {% if menu_key == slug %} {% set attr = ' selected=\"selected\"' %} {% elseif menu.term_id in settings.menus|keys %} {% set attr = ' disabled=\"disabled\"' %} {% else %} {% set attr = '' %} {% endif %} <option value=\"{{ menu.term_id }}\"{{ attr }}>{{ menu.name }}</option> {% endfor %} </select> ", "dropdown-menus.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-menus.twig"); } } 0c/0ce8a16c90efdbee5173a53640ea27191d3474648c728a82403947e893a54f8f.php 0000775 00000030227 14720466120 0016176 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; /* layout-main.twig */ class __TwigTemplate_494d9fe9d110ed7625f462bc7617152523f771783e04584d4acbc4dc151ec290 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("<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\"> {% if notifications.css_not_loaded %} <div class=\"wpml-ls-message notice notice-info\"> <p>{{ notifications.css_not_loaded }}</p> </div> {% endif %} <div id=\"wpml-language-switcher-options\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3>{{ strings.options.section_title }}</h3> \t\t\t<p>{{ strings.options.section_description }}</p> </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> {% include 'section-options.twig' %} </div> </div> <div id=\"wpml-language-switcher-menus\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> {{ strings.menus.section_title }} </h3> {% include 'save-notification.twig' %} </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> {% include 'section-menus.twig' %} </div> </div> <div id=\"wpml-language-switcher-sidebars\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> {{ strings.sidebars.section_title }} </h3> {% include 'save-notification.twig' %} </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> {% include 'section-sidebars.twig' %} </div> </div> <div id=\"wpml-language-switcher-footer\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> {{ strings.footer.section_title }} {% include 'tooltip.twig' with { \"content\": strings.tooltips.show_in_footer } %} </h3> </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> {% include 'section-footer.twig' %} </div> </div> <div id=\"wpml-language-switcher-post-translations\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> {{ strings.post_translations.section_title }} {% include 'tooltip.twig' with { \"content\": strings.tooltips.section_post_translations } %} </h3> </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> {% include 'section-post-translations.twig' %} </div> </div> <div id=\"wpml-language-switcher-shortcode-action\" class=\"js-wpml-ls-section wpml-section\" {% if not setup_complete %} style=\"display:none;\"{% endif %}> <div class=\"wpml-section-header\"> <h3> {{ strings.shortcode_actions.section_title }} {#{% include 'tooltip.twig' with { \"content\": strings.tooltips.section_shortcode_action } %}#} </h3> {% include 'save-notification.twig' %} </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> {% include 'section-shortcode-action.twig' %} </div> </div> {% include 'setup-wizard-buttons.twig' %} {% include 'dialog-box.twig' %} </form>", "layout-main.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-main.twig"); } } 2d/2d5b7a622f4e59ae64da50026ca691b979250c9854a1caa6fbde89d6f47205df.php 0000775 00000016512 14720466120 0016551 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; /* slot-subform-sidebars.twig */ class __TwigTemplate_512ee49ede7deaa82b7ef77ae8eb0503ae3d1afc4654142d3f033733d7d46483 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 if ( !(isset($context["slot_settings"]) || array_key_exists("slot_settings", $context))) { // line 2 echo " "; $context["slot_settings"] = ($context["default_sidebars_slot"] ?? null); } // line 4 echo " "; // line 5 $this->loadTemplate("preview.twig", "slot-subform-sidebars.twig", 5)->display(twig_array_merge($context, ["preview" => ($context["preview"] ?? null)])); // line 6 echo " <div class=\"wpml-ls-subform-options\"> "; // line 9 $this->loadTemplate("dropdown-sidebars.twig", "slot-subform-sidebars.twig", 9)->display(twig_array_merge($context, ["slug" => // line 11 ($context["slug"] ?? null), "settings" => // line 12 ($context["settings"] ?? null), "sidebars" => // line 13 ($context["slots"] ?? null), "strings" => // line 14 ($context["strings"] ?? null)])); // line 17 echo " "; // line 18 $this->loadTemplate("dropdown-templates.twig", "slot-subform-sidebars.twig", 18)->display(twig_array_merge($context, ["id" => ("in-sidebars-" . // line 20 ($context["slug"] ?? null)), "name" => (("sidebars[" . // line 21 ($context["slug"] ?? null)) . "][template]"), "value" => $this->getAttribute( // line 22 ($context["slot_settings"] ?? null), "template", []), "slot_type" => "sidebars"])); // line 26 echo " "; // line 27 $this->loadTemplate("checkboxes-includes.twig", "slot-subform-sidebars.twig", 27)->display(twig_array_merge($context, ["name_base" => (("sidebars[" . // line 29 ($context["slug"] ?? null)) . "]"), "slot_settings" => // line 30 ($context["slot_settings"] ?? null), "strings" => // line 31 ($context["strings"] ?? null), "template_slug" => $this->getAttribute( // line 32 ($context["slot_settings"] ?? null), "template", [])])); // line 35 echo " <h4><label for=\"widget-title-in-"; // line 36 echo \WPML\Core\twig_escape_filter($this->env, ($context["slug"] ?? null), "html", null, true); echo "\"> "; // line 37 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "label_widget_title", []), "html", null, true); echo " "; $this->loadTemplate("tooltip.twig", "slot-subform-sidebars.twig", 37)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "widget_title", [])])); echo "</label></h4> <input type=\"text\" id=\"widget-title-in-"; // line 39 echo \WPML\Core\twig_escape_filter($this->env, ($context["slug"] ?? null), "html", null, true); echo "\" name=\"sidebars["; // line 40 echo \WPML\Core\twig_escape_filter($this->env, ($context["slug"] ?? null), "html", null, true); echo "][widget_title]\" value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["slot_settings"] ?? null), "widget_title", []), "html", null, true); echo "\" size=\"40\"> "; // line 43 $this->loadTemplate("panel-colors.twig", "slot-subform-sidebars.twig", 43)->display(twig_array_merge($context, ["strings" => // line 45 ($context["strings"] ?? null), "id" => ("in-sidebars-" . // line 46 ($context["slug"] ?? null)), "name_base" => (("sidebars[" . // line 47 ($context["slug"] ?? null)) . "]"), "slot_settings" => // line 48 ($context["slot_settings"] ?? null), "color_schemes" => // line 49 ($context["color_schemes"] ?? null)])); // line 52 echo " </div>"; } public function getTemplateName() { return "slot-subform-sidebars.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 104 => 52, 102 => 49, 101 => 48, 100 => 47, 99 => 46, 98 => 45, 97 => 43, 89 => 40, 85 => 39, 78 => 37, 74 => 36, 71 => 35, 69 => 32, 68 => 31, 67 => 30, 66 => 29, 65 => 27, 62 => 26, 60 => 22, 59 => 21, 58 => 20, 57 => 18, 54 => 17, 52 => 14, 51 => 13, 50 => 12, 49 => 11, 48 => 9, 43 => 6, 41 => 5, 38 => 4, 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("{% if not slot_settings is defined %} {% set slot_settings = default_sidebars_slot %} {% endif %} {% include 'preview.twig' with {\"preview\": preview } %} <div class=\"wpml-ls-subform-options\"> {% include 'dropdown-sidebars.twig' with { \"slug\": slug, \"settings\": settings, \"sidebars\": slots, \"strings\": strings, } %} {% include 'dropdown-templates.twig' with { \"id\": \"in-sidebars-\" ~ slug, \"name\": \"sidebars[\" ~ slug ~ \"][template]\", \"value\": slot_settings.template, \"slot_type\": \"sidebars\", } %} {% include 'checkboxes-includes.twig' with { \"name_base\": \"sidebars[\" ~ slug ~ \"]\", \"slot_settings\": slot_settings, \"strings\": strings, \"template_slug\": slot_settings.template, } %} <h4><label for=\"widget-title-in-{{ slug }}\"> {{ strings.sidebars.label_widget_title }} {% include 'tooltip.twig' with { \"content\": strings.tooltips.widget_title } %}</label></h4> <input type=\"text\" id=\"widget-title-in-{{ slug }}\" name=\"sidebars[{{ slug }}][widget_title]\" value=\"{{ slot_settings.widget_title }}\" size=\"40\"> {% include 'panel-colors.twig' with { \"strings\": strings, \"id\": \"in-sidebars-\" ~ slug, \"name_base\": \"sidebars[\" ~ slug ~ \"]\", \"slot_settings\": slot_settings, \"color_schemes\": color_schemes, } %} </div>", "slot-subform-sidebars.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-sidebars.twig"); } } e5/e538fa7f970ca307f4a9af4d9e454a3b88de66f35ba01661b39c2547ef93e942.php 0000775 00000014511 14720466120 0016513 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; /* section-sidebars.twig */ class __TwigTemplate_dc888c69d1b1b8e9a458ff2b05a7d11d89b5188dbfbec601352ecafc775cb095 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["slug_placeholder"] = "%id%"; // line 2 echo " "; // line 3 $this->loadTemplate("table-slots.twig", "section-sidebars.twig", 3)->display(twig_array_merge($context, ["slot_type" => "sidebars", "slots_settings" => $this->getAttribute( // line 6 ($context["settings"] ?? null), "sidebars", []), "slots" => $this->getAttribute( // line 7 ($context["data"] ?? null), "sidebars", [])])); // line 10 echo " "; // line 11 $this->loadTemplate("button-add-new-ls.twig", "section-sidebars.twig", 11)->display(twig_array_merge($context, ["existing_items" => \WPML\Core\twig_length_filter($this->env, $this->getAttribute( // line 13 ($context["data"] ?? null), "sidebars", [])), "settings_items" => \WPML\Core\twig_length_filter($this->env, $this->getAttribute( // line 14 ($context["settings"] ?? null), "sidebars", [])), "tooltip_all_assigned" => $this->getAttribute($this->getAttribute( // line 15 ($context["strings"] ?? null), "tooltips", []), "add_sidebar_all_assigned", []), "tooltip_no_item" => $this->getAttribute($this->getAttribute( // line 16 ($context["strings"] ?? null), "tooltips", []), "add_sidebar_no_sidebar", []), "button_target" => "#wpml-ls-new-sidebars-template", "button_label" => $this->getAttribute($this->getAttribute( // line 18 ($context["strings"] ?? null), "sidebars", []), "add_button_label", [])])); // line 21 echo " <script type=\"text/html\" id=\"wpml-ls-new-sidebars-template\" class=\"js-wpml-ls-template\"> <div class=\"js-wpml-ls-subform wpml-ls-subform\" data-title=\""; // line 23 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "dialog_title_new", []), "html", null, true); echo "\" data-item-slug=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["slug_placeholder"] ?? null), "html", null, true); echo "\" data-item-type=\"sidebars\"> "; // line 25 $this->loadTemplate("slot-subform-sidebars.twig", "section-sidebars.twig", 25)->display(twig_array_merge($context, ["slug" => // line 27 ($context["slug_placeholder"] ?? null), "slots_settings" => // line 28 ($context["slots_settings"] ?? null), "slots" => $this->getAttribute( // line 29 ($context["data"] ?? null), "sidebars", []), "preview" => $this->getAttribute($this->getAttribute( // line 30 ($context["previews"] ?? null), "sidebars", []), ($context["slug"] ?? null), [], "array")])); // line 33 echo " </div> </script> <script type=\"text/html\" id=\"wpml-ls-new-sidebars-row-template\" class=\"js-wpml-ls-template\"> "; // line 38 $this->loadTemplate("table-slot-row.twig", "section-sidebars.twig", 38)->display(twig_array_merge($context, ["slug" => // line 40 ($context["slug_placeholder"] ?? null), "slots" => // line 41 ($context["sidebars"] ?? null)])); // line 44 echo "</script>"; } public function getTemplateName() { return "section-sidebars.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 79 => 44, 77 => 41, 76 => 40, 75 => 38, 68 => 33, 66 => 30, 65 => 29, 64 => 28, 63 => 27, 62 => 25, 55 => 23, 51 => 21, 49 => 18, 48 => 16, 47 => 15, 46 => 14, 45 => 13, 44 => 11, 41 => 10, 39 => 7, 38 => 6, 37 => 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 slug_placeholder = '%id%' %} {% include 'table-slots.twig' with { \"slot_type\": \"sidebars\", \"slots_settings\": settings.sidebars, \"slots\" : data.sidebars, } %} {% include 'button-add-new-ls.twig' with { \"existing_items\": data.sidebars|length, \"settings_items\": settings.sidebars|length, \"tooltip_all_assigned\": strings.tooltips.add_sidebar_all_assigned, \"tooltip_no_item\": strings.tooltips.add_sidebar_no_sidebar, \"button_target\": \"#wpml-ls-new-sidebars-template\", \"button_label\": strings.sidebars.add_button_label, } %} <script type=\"text/html\" id=\"wpml-ls-new-sidebars-template\" class=\"js-wpml-ls-template\"> <div class=\"js-wpml-ls-subform wpml-ls-subform\" data-title=\"{{ strings.sidebars.dialog_title_new }}\" data-item-slug=\"{{ slug_placeholder }}\" data-item-type=\"sidebars\"> {% include 'slot-subform-sidebars.twig' with { \"slug\": slug_placeholder, \"slots_settings\": slots_settings, \"slots\": data.sidebars, \"preview\": previews.sidebars[ slug ], } %} </div> </script> <script type=\"text/html\" id=\"wpml-ls-new-sidebars-row-template\" class=\"js-wpml-ls-template\"> {% include 'table-slot-row.twig' with { \"slug\": slug_placeholder, \"slots\": sidebars } %} </script>", "section-sidebars.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-sidebars.twig"); } } f2/f285a15d8e70ffcdbcaa438e83817eee290e4fecd5dabde4431fffa2e8f0167a.php 0000775 00000040443 14720466120 0017351 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; /* checkboxes-includes.twig */ class __TwigTemplate_71095864c94ee5268322f3c2e1184fa9ad64dd3c5aa089469aa653ea586d9153 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["force"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["data"] ?? null), "templates", []), ($context["template_slug"] ?? null), [], "array"), "force_settings", []); // line 2 $context["is_hierarchical"] = (($this->getAttribute(($context["slot_settings"] ?? null), "slot_group", []) == "menus") && $this->getAttribute(($context["slot_settings"] ?? null), "is_hierarchical", [])); // line 3 echo " <h4>"; // line 4 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "title_what_to_include", []), "html", null, true); echo " "; $this->loadTemplate("tooltip.twig", "checkboxes-includes.twig", 4)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "what_to_include", [])])); echo "</h4> <ul class=\"js-wpml-ls-to-include\"> <li> <label> <input type=\"checkbox\" class=\"js-wpml-ls-setting-display_flags js-wpml-ls-toggle-suboptions js-wpml-ls-trigger-update\" data-target=\".js-wpml-ls-flag-sizes\" data-show-on-checked=\"1\" value=\"1\" name=\""; // line 14 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[display_flags]"; } else { echo "display_flags"; } echo "\" "; // line 15 if ($this->getAttribute(($context["force"] ?? null), "display_flags", [], "any", true, true)) { echo " disabled=\"disabled\""; } // line 16 echo " "; if ($this->getAttribute(($context["slot_settings"] ?? null), "display_flags", [])) { echo " checked=\"checked\""; } // line 17 echo " > "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_flag", []), "html", null, true); echo " </label> <ul class=\"js-wpml-ls-flag-sizes\" style=\"display: "; // line 20 if ($this->getAttribute(($context["slot_settings"] ?? null), "display_flags", [])) { echo "block"; } else { echo "none"; } echo ";\"> <li> <label> "; // line 23 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_flag_width", []), "html", null, true); echo " <input type=\"number\" class=\"js-wpml-ls-setting-include_flag_width js-wpml-ls-trigger-update\" name=\""; // line 27 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[include_flag_width]"; } else { echo "include_flag_width"; } echo "\" value=\""; // line 28 ((($this->getAttribute(($context["slot_settings"] ?? null), "include_flag_width", []) > 0)) ? (print (\WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["slot_settings"] ?? null), "include_flag_width", []), "html", null, true))) : (print (""))); echo "\" placeholder=\""; // line 29 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_flag_width_placeholder", []), "html", null, true); echo "\" > "; // line 31 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_flag_width_suffix", []), "html", null, true); echo " </label> </li> <li> <label> "; // line 36 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_flag_height", []), "html", null, true); echo " <input type=\"number\" class=\"js-wpml-ls-setting-_include_flag_height js-wpml-ls-trigger-update\" name=\""; // line 40 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[include_flag_height]"; } else { echo "include_flag_height"; } echo "\" value=\""; // line 41 ((($this->getAttribute(($context["slot_settings"] ?? null), "include_flag_height", []) > 0)) ? (print (\WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["slot_settings"] ?? null), "include_flag_height", []), "html", null, true))) : (print (""))); echo "\" placeholder=\""; // line 42 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_flag_height_placeholder", []), "html", null, true); echo "\" > "; // line 44 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_flag_height_suffix", []), "html", null, true); echo " </label> </li> </ul> </li> <li> <label><input type=\"checkbox\" class=\"js-wpml-ls-setting-display_names_in_native_lang js-wpml-ls-trigger-update\" name=\""; // line 51 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[display_names_in_native_lang]"; } else { echo "display_names_in_native_lang"; } echo "\" "; // line 52 if ($this->getAttribute(($context["force"] ?? null), "display_names_in_native_lang", [], "any", true, true)) { echo " disabled=\"disabled\""; } // line 53 echo " value=\"1\""; if ($this->getAttribute(($context["slot_settings"] ?? null), "display_names_in_native_lang", [])) { echo " checked=\"checked\""; } echo "> "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_native_lang", []), "html", null, true); echo " </label> </li> <li> <label><input type=\"checkbox\" class=\"js-wpml-ls-setting-display_names_in_current_lang js-wpml-ls-trigger-update\" name=\""; // line 58 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[display_names_in_current_lang]"; } else { echo "display_names_in_current_lang"; } echo "\" "; // line 59 if ($this->getAttribute(($context["force"] ?? null), "display_names_in_current_lang", [], "any", true, true)) { echo " disabled=\"disabled\""; } // line 60 echo " value=\"1\""; if ((($this->getAttribute(($context["slot_settings"] ?? null), "display_names_in_current_lang", [], "any", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute(($context["slot_settings"] ?? null), "display_names_in_current_lang", []), 1)) : (1))) { echo " checked=\"checked\""; } echo "> "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_display_lang", []), "html", null, true); echo " </label> </li> <li> <label><input type=\"checkbox\" class=\"js-wpml-ls-setting-display_link_for_current_lang js-wpml-ls-trigger-update\" name=\""; // line 65 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[display_link_for_current_lang]"; } else { echo "display_link_for_current_lang"; } echo "\" "; // line 66 if (($this->getAttribute(($context["force"] ?? null), "display_link_for_current_lang", [], "any", true, true) || ($context["is_hierarchical"] ?? null))) { echo " disabled=\"disabled\""; } // line 67 echo " value=\"1\""; if ((($this->getAttribute(($context["slot_settings"] ?? null), "display_link_for_current_lang", [], "any", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute(($context["slot_settings"] ?? null), "display_link_for_current_lang", []), 1)) : (1))) { echo " checked=\"checked\""; } echo "> "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_include_current_lang", []), "html", null, true); echo " </label> </li> </ul>"; } public function getTemplateName() { return "checkboxes-includes.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 222 => 67, 218 => 66, 209 => 65, 196 => 60, 192 => 59, 183 => 58, 170 => 53, 166 => 52, 157 => 51, 147 => 44, 142 => 42, 138 => 41, 129 => 40, 122 => 36, 114 => 31, 109 => 29, 105 => 28, 96 => 27, 89 => 23, 79 => 20, 72 => 17, 67 => 16, 63 => 15, 54 => 14, 39 => 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 force = data.templates[ template_slug ].force_settings %} {% set is_hierarchical = slot_settings.slot_group == 'menus' and slot_settings.is_hierarchical %} <h4>{{ strings.misc.title_what_to_include }} {% include 'tooltip.twig' with { \"content\": strings.tooltips.what_to_include } %}</h4> <ul class=\"js-wpml-ls-to-include\"> <li> <label> <input type=\"checkbox\" class=\"js-wpml-ls-setting-display_flags js-wpml-ls-toggle-suboptions js-wpml-ls-trigger-update\" data-target=\".js-wpml-ls-flag-sizes\" data-show-on-checked=\"1\" value=\"1\" name=\"{% if name_base %}{{ name_base }}[display_flags]{% else %}display_flags{% endif %}\" {% if force.display_flags is defined %} disabled=\"disabled\"{% endif %} {% if slot_settings.display_flags %} checked=\"checked\"{% endif %} > {{ strings.misc.label_include_flag }} </label> <ul class=\"js-wpml-ls-flag-sizes\" style=\"display: {% if slot_settings.display_flags %}block{% else %}none{% endif %};\"> <li> <label> {{ strings.misc.label_include_flag_width }} <input type=\"number\" class=\"js-wpml-ls-setting-include_flag_width js-wpml-ls-trigger-update\" name=\"{% if name_base %}{{ name_base }}[include_flag_width]{% else %}include_flag_width{% endif %}\" value=\"{{ slot_settings.include_flag_width > 0 ? slot_settings.include_flag_width : '' }}\" placeholder=\"{{ strings.misc.label_include_flag_width_placeholder }}\" > {{ strings.misc.label_include_flag_width_suffix }} </label> </li> <li> <label> {{ strings.misc.label_include_flag_height }} <input type=\"number\" class=\"js-wpml-ls-setting-_include_flag_height js-wpml-ls-trigger-update\" name=\"{% if name_base %}{{ name_base }}[include_flag_height]{% else %}include_flag_height{% endif %}\" value=\"{{ slot_settings.include_flag_height > 0 ? slot_settings.include_flag_height : '' }}\" placeholder=\"{{ strings.misc.label_include_flag_height_placeholder }}\" > {{ strings.misc.label_include_flag_height_suffix }} </label> </li> </ul> </li> <li> <label><input type=\"checkbox\" class=\"js-wpml-ls-setting-display_names_in_native_lang js-wpml-ls-trigger-update\" name=\"{% if name_base %}{{ name_base }}[display_names_in_native_lang]{% else %}display_names_in_native_lang{% endif %}\" {% if force.display_names_in_native_lang is defined %} disabled=\"disabled\"{% endif %} value=\"1\"{% if slot_settings.display_names_in_native_lang %} checked=\"checked\"{% endif %}> {{ strings.misc.label_include_native_lang }} </label> </li> <li> <label><input type=\"checkbox\" class=\"js-wpml-ls-setting-display_names_in_current_lang js-wpml-ls-trigger-update\" name=\"{% if name_base %}{{ name_base }}[display_names_in_current_lang]{% else %}display_names_in_current_lang{% endif %}\" {% if force.display_names_in_current_lang is defined %} disabled=\"disabled\"{% endif %} value=\"1\"{% if slot_settings.display_names_in_current_lang|default(1) %} checked=\"checked\"{% endif %}> {{ strings.misc.label_include_display_lang }} </label> </li> <li> <label><input type=\"checkbox\" class=\"js-wpml-ls-setting-display_link_for_current_lang js-wpml-ls-trigger-update\" name=\"{% if name_base %}{{ name_base }}[display_link_for_current_lang]{% else %}display_link_for_current_lang{% endif %}\" {% if force.display_link_for_current_lang is defined or is_hierarchical %} disabled=\"disabled\"{% endif %} value=\"1\"{% if slot_settings.display_link_for_current_lang|default(1) %} checked=\"checked\"{% endif %}> {{ strings.misc.label_include_current_lang }} </label> </li> </ul>", "checkboxes-includes.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/checkboxes-includes.twig"); } } a1/a161746f7b7c1a31bd4ecc0cd5e6681fde39725556f590a716fa16ab4e67a2e1.php 0000775 00000013731 14720466120 0016531 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; /* radio-hierarchical-menu.twig */ class __TwigTemplate_6fd4aecdcc21336a69fb8696e6f27a891ae3fa5461eaf55e81126dcef08048e5 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 if ( !$this->getAttribute(($context["slot_settings"] ?? null), "is_hierarchical", [], "any", true, true)) { // line 2 echo " "; $context["is_hierarchical"] = 1; } else { // line 4 echo " "; $context["is_hierarchical"] = $this->getAttribute(($context["slot_settings"] ?? null), "is_hierarchical", []); } // line 6 echo " <h4><label>"; // line 7 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "is_hierarchical_label", []), "html", null, true); echo "</label> "; $this->loadTemplate("tooltip.twig", "radio-hierarchical-menu.twig", 7)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "menu_style_type", [])])); echo "</h4> <ul> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\""; // line 12 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[is_hierarchical]"; } else { echo "is_hierarchical"; } echo "\" value=\"1\""; // line 13 if ((($context["is_hierarchical"] ?? null) == 1)) { echo " checked=\"checked\""; } echo "><b>"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "hierarchical", []), "html", null, true); echo "</b> - "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "hierarchical_desc", []), "html", null, true); echo " </label> </li> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\""; // line 19 if (($context["name_base"] ?? null)) { echo \WPML\Core\twig_escape_filter($this->env, ($context["name_base"] ?? null), "html", null, true); echo "[is_hierarchical]"; } else { echo "is_hierarchical"; } echo "\" value=\"0\""; // line 20 if ((($context["is_hierarchical"] ?? null) == 0)) { echo " checked=\"checked\""; } echo "><b>"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "flat", []), "html", null, true); echo "</b> - "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "flat_desc", []), "html", null, true); echo " </label> </li> </ul>"; } public function getTemplateName() { return "radio-hierarchical-menu.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 88 => 20, 79 => 19, 64 => 13, 55 => 12, 45 => 7, 42 => 6, 38 => 4, 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("{% if not slot_settings.is_hierarchical is defined %} {% set is_hierarchical = 1 %} {% else %} {% set is_hierarchical = slot_settings.is_hierarchical %} {% endif %} <h4><label>{{ strings.menus.is_hierarchical_label }}</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.menu_style_type } %}</h4> <ul> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\"{% if name_base %}{{ name_base }}[is_hierarchical]{% else %}is_hierarchical{% endif %}\" value=\"1\"{% if is_hierarchical == 1 %} checked=\"checked\"{% endif %}><b>{{ strings.menus.hierarchical }}</b> - {{ strings.menus.hierarchical_desc }} </label> </li> <li> <label> <input type=\"radio\" class=\"js-wpml-ls-trigger-update js-wpml-ls-menu-is-hierarchical\" name=\"{% if name_base %}{{ name_base }}[is_hierarchical]{% else %}is_hierarchical{% endif %}\" value=\"0\"{% if is_hierarchical == 0 %} checked=\"checked\"{% endif %}><b>{{ strings.menus.flat }}</b> - {{ strings.menus.flat_desc }} </label> </li> </ul>", "radio-hierarchical-menu.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/radio-hierarchical-menu.twig"); } } 55/555fac5ecdfd4f4e1e09b63cfa00ac8cd293c4f7346241a0fb2f3acea2a06c73.php 0000775 00000005263 14720466120 0017072 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; /* preview.twig */ class __TwigTemplate_c4780aed4a218b2ebb6b50a88fbab8a5faf275c715e0e063cdfaf3dd7dca5880 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 class=\"js-wpml-ls-preview-wrapper wpml-ls-preview-wrapper"; if (($context["class"] ?? null)) { echo " "; echo \WPML\Core\twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true); } echo "\"> <strong class=\"wpml-ls-preview-label\">"; // line 2 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_preview", []), "html", null, true); echo "</strong> <span class=\"spinner\"></span> <div class=\"js-wpml-ls-preview\">"; // line 4 echo $this->getAttribute(($context["preview"] ?? null), "html", []); echo "</div> </div>"; } public function getTemplateName() { return "preview.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 45 => 4, 40 => 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("<div class=\"js-wpml-ls-preview-wrapper wpml-ls-preview-wrapper{% if class %} {{ class }}{% endif %}\"> <strong class=\"wpml-ls-preview-label\">{{ strings.misc.label_preview }}</strong> <span class=\"spinner\"></span> <div class=\"js-wpml-ls-preview\">{{ preview.html|raw }}</div> </div>", "preview.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/preview.twig"); } } bb/bbe2396e5f9fcb27d66ce009294f4d86571be45291fc7427853234cc21651f95.php 0000775 00000007231 14720466120 0016267 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; /* layout-reset.twig */ class __TwigTemplate_371de438652f70628acc6e0328627982818bad39fa24a85a60c544392574274a 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 class=\"wpml-section\" id=\"wpml_ls_reset\"> \t<div class=\"wpml-section-header\"> \t\t<h3>"; // line 3 echo \WPML\Core\twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "</h3> \t</div> \t<div class=\"wpml-section-content\"> \t\t<p>"; // line 6 echo ($context["description"] ?? null); echo "</p> \t\t"; // line 8 if (($context["theme_config_file"] ?? null)) { // line 9 echo "\t\t\t<p class=\"explanation-text\">"; echo ($context["explanation_text"] ?? null); echo "</p> \t\t"; } // line 11 echo " \t\t<p class=\"buttons-wrap\"> \t\t\t<a class=\"button button-secondary\" onclick=\"if(!confirm('"; // line 13 echo \WPML\Core\twig_escape_filter($this->env, ($context["confirmation_message"] ?? null), "html", null, true); echo "')) return false;\" \t\t\t href=\""; // line 14 echo \WPML\Core\twig_escape_filter($this->env, ($context["restore_page_url"] ?? null), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, ($context["restore_button_label"] ?? null), "html", null, true); if (($context["theme_config_file"] ?? null)) { echo " *"; } echo "</a> \t\t</p> \t</div> </div>"; } public function getTemplateName() { return "layout-reset.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 63 => 14, 59 => 13, 55 => 11, 49 => 9, 47 => 8, 42 => 6, 36 => 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("<div class=\"wpml-section\" id=\"wpml_ls_reset\"> \t<div class=\"wpml-section-header\"> \t\t<h3>{{ title }}</h3> \t</div> \t<div class=\"wpml-section-content\"> \t\t<p>{{ description|raw }}</p> \t\t{% if theme_config_file %} \t\t\t<p class=\"explanation-text\">{{ explanation_text|raw }}</p> \t\t{% endif %} \t\t<p class=\"buttons-wrap\"> \t\t\t<a class=\"button button-secondary\" onclick=\"if(!confirm('{{ confirmation_message }}')) return false;\" \t\t\t href=\"{{ restore_page_url }}\">{{ restore_button_label }}{% if theme_config_file %} *{% endif %}</a> \t\t</p> \t</div> </div>", "layout-reset.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-reset.twig"); } } c2/c200fc5afc55d802f48c10182937a840fcc7aff16dcbc935d9d059a1adcf4432.php 0000775 00000016234 14720466120 0016663 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; /* table-slots.twig */ class __TwigTemplate_ff3a9f014996414027ed2c80ea744a6173a6a8173bf5bcd994eddb0c0900b878 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 if ((($context["slot_type"] ?? null) == "statics")) { // line 2 echo "\t"; $context["is_static"] = true; // line 3 echo "\t"; $context["table_id"] = ((("wpml-ls-slot-list-" . ($context["slot_type"] ?? null)) . "-") . ($context["slug"] ?? null)); } else { // line 5 echo "\t"; $context["table_id"] = ("wpml-ls-slot-list-" . ($context["slot_type"] ?? null)); } // line 7 echo " "; // line 8 if (twig_in_filter(($context["slug"] ?? null), [0 => "footer", 1 => "post_translations"])) { // line 9 echo " "; $context["label_action"] = $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_action", []); } else { // line 11 echo " "; $context["label_action"] = $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_actions", []); } // line 13 echo " <table id=\""; // line 14 echo \WPML\Core\twig_escape_filter($this->env, ($context["table_id"] ?? null), "html", null, true); echo "\" class=\"js-wpml-ls-slot-list wpml-ls-slot-list\""; if ( !($context["slots_settings"] ?? null)) { echo " style=\"display:none;\""; } echo "> <thead> <tr> <th>"; // line 17 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_preview", []), "html", null, true); echo "</th> "; // line 18 if ( !($context["is_static"] ?? null)) { echo "<th>"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "label_position", []), "html", null, true); echo "</th>"; } // line 19 echo " <th"; if ( !($context["is_static"] ?? null)) { echo " colspan=\"2\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, ($context["label_action"] ?? null), "html", null, true); echo "</th></tr> </thead> <tbody> "; // line 22 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["slots_settings"] ?? 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["slug"] => $context["slot_settings"]) { // line 23 echo " "; $this->loadTemplate("table-slot-row.twig", "table-slots.twig", 23)->display(twig_array_merge($context, ["slug" => // line 25 $context["slug"], "slot_type" => // line 26 ($context["slot_type"] ?? null), "slot_settings" => // line 27 $context["slot_settings"], "slots" => // line 28 ($context["slots"] ?? null)])); // line 31 echo " "; ++$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['slug'], $context['slot_settings'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 32 echo " </tbody> </table>"; } public function getTemplateName() { return "table-slots.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 130 => 32, 116 => 31, 114 => 28, 113 => 27, 112 => 26, 111 => 25, 109 => 23, 92 => 22, 81 => 19, 75 => 18, 71 => 17, 61 => 14, 58 => 13, 54 => 11, 50 => 9, 48 => 8, 45 => 7, 41 => 5, 37 => 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("{% if slot_type == 'statics' %} \t{% set is_static = true %} \t{% set table_id = 'wpml-ls-slot-list-' ~ slot_type ~ '-' ~ slug %} {% else %} \t{% set table_id = 'wpml-ls-slot-list-' ~ slot_type %} {% endif %} {% if slug in ['footer', 'post_translations'] %} {% set label_action = strings.misc.label_action %} {% else %} {% set label_action = strings.misc.label_actions %} {% endif %} <table id=\"{{ table_id }}\" class=\"js-wpml-ls-slot-list wpml-ls-slot-list\"{% if not slots_settings %} style=\"display:none;\"{% endif %}> <thead> <tr> <th>{{ strings.misc.label_preview }}</th> {% if not is_static %}<th>{{ strings.misc.label_position }}</th>{% endif %} <th{% if not is_static %} colspan=\"2\"{% endif %}>{{ label_action }}</th></tr> </thead> <tbody> {% for slug, slot_settings in slots_settings %} {% include 'table-slot-row.twig' with { \"slug\": slug, \"slot_type\": slot_type, \"slot_settings\": slot_settings, \"slots\": slots, } %} {% endfor %} </tbody> </table>", "table-slots.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/table-slots.twig"); } } 37/3734c83d4e3f44f0565d4417c162736853a546217af76ad9786ea094ee421b9b.php 0000775 00000013432 14720466120 0015764 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; /* batch-translation.twig */ class __TwigTemplate_929cbdc84bd973793638ca476a75f25ecaeab3694a5c8f484af49be0383908e9 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("<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\">{{ strings.close }}</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>{{ strings.was_replaced }}</p> <ul class=\"batch-media-translation-post-list\"></ul> <p>{{ strings.other_posts }}</p> </div> <div class=\"no-usage\" style=\"display: none\"> <p>{{ strings.without_usage }}</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/>{{ strings.scan_for_this_media }} </label> </li> <li> <label> <input type=\"radio\" name=\"global-scan-scope\" value=\"1\"/>{{ strings.scan_for_all_media }} </label> </li> </ul> <p class=\"text-right\"> <input type=\"submit\" class=\"button-primary\" value=\"{{ strings.button_label }}\"/> </p> </div> </form> <p class=\"status\"></p> </div>", "batch-translation.twig", "/var/www/xthruster/html/wp-content/plugins/wpml-media-translation/templates/menus/batch-translation.twig"); } } ab/ab34aa001f4576fbe8bb48c04e4242dcf5dfae6dbb404a791f7d64225ee1e684.php 0000775 00000014330 14720466120 0017014 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; /* slot-subform-menus.twig */ class __TwigTemplate_85762cf74182cea0c9b2bc9162919c6e684ae2b204110b2282d86041d580d476 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 if ( !(isset($context["slot_settings"]) || array_key_exists("slot_settings", $context))) { // line 2 echo "\t"; $context["slot_settings"] = ($context["default_menus_slot"] ?? null); } // line 4 echo " "; // line 5 $this->loadTemplate("preview.twig", "slot-subform-menus.twig", 5)->display(twig_array_merge($context, ["preview" => ($context["preview"] ?? null)])); // line 6 echo " <div class=\"wpml-ls-subform-options\"> "; // line 9 $this->loadTemplate("dropdown-menus.twig", "slot-subform-menus.twig", 9)->display(twig_array_merge($context, ["slug" => // line 11 ($context["slug"] ?? null), "menus" => // line 12 ($context["slots"] ?? null)])); // line 15 echo " "; // line 16 $this->loadTemplate("dropdown-templates.twig", "slot-subform-menus.twig", 16)->display(twig_array_merge($context, ["id" => ("in-menus-" . // line 18 ($context["slug"] ?? null)), "name" => (("menus[" . // line 19 ($context["slug"] ?? null)) . "][template]"), "value" => $this->getAttribute( // line 20 ($context["slot_settings"] ?? null), "template", []), "slot_type" => "menus"])); // line 24 echo " "; // line 25 $this->loadTemplate("radio-position-menu.twig", "slot-subform-menus.twig", 25)->display(twig_array_merge($context, ["name_base" => (("menus[" . // line 27 ($context["slug"] ?? null)) . "]"), "slot_settings" => // line 28 ($context["slot_settings"] ?? null)])); // line 31 echo " "; // line 32 $this->loadTemplate("radio-hierarchical-menu.twig", "slot-subform-menus.twig", 32)->display(twig_array_merge($context, ["name_base" => (("menus[" . // line 34 ($context["slug"] ?? null)) . "]"), "slot_settings" => // line 35 ($context["slot_settings"] ?? null)])); // line 38 echo " "; // line 40 $this->loadTemplate("checkboxes-includes.twig", "slot-subform-menus.twig", 40)->display(twig_array_merge($context, ["name_base" => (("menus[" . // line 42 ($context["slug"] ?? null)) . "]"), "slot_settings" => // line 43 ($context["slot_settings"] ?? null), "template_slug" => $this->getAttribute( // line 44 ($context["slot_settings"] ?? null), "template", [])])); // line 47 echo " "; // line 48 $this->loadTemplate("panel-colors.twig", "slot-subform-menus.twig", 48)->display(twig_array_merge($context, ["id" => ("in-menus-" . // line 50 ($context["slug"] ?? null)), "name_base" => (("menus[" . // line 51 ($context["slug"] ?? null)) . "]"), "slot_settings" => // line 52 ($context["slot_settings"] ?? null), "slot_type" => "menus"])); // line 56 echo " </div>"; } public function getTemplateName() { return "slot-subform-menus.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 91 => 56, 89 => 52, 88 => 51, 87 => 50, 86 => 48, 83 => 47, 81 => 44, 80 => 43, 79 => 42, 78 => 40, 74 => 38, 72 => 35, 71 => 34, 70 => 32, 67 => 31, 65 => 28, 64 => 27, 63 => 25, 60 => 24, 58 => 20, 57 => 19, 56 => 18, 55 => 16, 52 => 15, 50 => 12, 49 => 11, 48 => 9, 43 => 6, 41 => 5, 38 => 4, 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("{% if not slot_settings is defined %} \t{% set slot_settings = default_menus_slot %} {% endif %} {% include 'preview.twig' with {\"preview\": preview } %} <div class=\"wpml-ls-subform-options\"> {% include 'dropdown-menus.twig' with { \"slug\": slug, \"menus\": slots, } %} {% include 'dropdown-templates.twig' with { \"id\": \"in-menus-\" ~ slug, \"name\": \"menus[\" ~ slug ~ \"][template]\", \"value\": slot_settings.template, \"slot_type\": \"menus\", } %} {% include 'radio-position-menu.twig' with { \"name_base\": \"menus[\" ~ slug ~ \"]\", \"slot_settings\": slot_settings } %} {% include 'radio-hierarchical-menu.twig' with { \"name_base\": \"menus[\" ~ slug ~ \"]\", \"slot_settings\": slot_settings } %} {% include 'checkboxes-includes.twig' with { \"name_base\": \"menus[\" ~ slug ~ \"]\", \"slot_settings\": slot_settings, \"template_slug\": slot_settings.template, } %} {% include 'panel-colors.twig' with { \"id\": \"in-menus-\" ~ slug, \"name_base\": \"menus[\" ~ slug ~ \"]\", \"slot_settings\": slot_settings, \"slot_type\": \"menus\", } %} </div>", "slot-subform-menus.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-menus.twig"); } } cc/ccafb66aa37b10b079b60352d272594340085c422c5924e0dc6ab7c94b374b62.php 0000775 00000005456 14720466120 0016275 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; /* tooltip.twig */ class __TwigTemplate_c12082be16904eae0afb20174cac72202b8478b048467cf5ff94acf9f502b3e4 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 "<a href=\"#\" class=\"js-wpml-ls-tooltip-open wpml-ls-tooltip-open otgs-ico-help\" data-content=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["content"] ?? null), "text", []), "html_attr"); echo "\" data-link-text=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["content"] ?? null), "link", []), "text", []), "html_attr"); echo "\" data-link-url=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["content"] ?? null), "link", []), "url", []), "html_attr"); echo "\" data-link-target=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["content"] ?? null), "link", []), "target", []), "html_attr"); echo "\"></a>"; } public function getTemplateName() { return "tooltip.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 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("<a href=\"#\" class=\"js-wpml-ls-tooltip-open wpml-ls-tooltip-open otgs-ico-help\" data-content=\"{{ content.text|e('html_attr') }}\" data-link-text=\"{{ content.link.text|e('html_attr') }}\" data-link-url=\"{{ content.link.url|e('html_attr') }}\" data-link-target=\"{{ content.link.target|e('html_attr') }}\"></a>", "tooltip.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/tooltip.twig"); } } 1f/1fc864da32ca96480f73294b60dd06f051f395924cf6d4d995ef6c71a8ce1b6b.php 0000775 00000003455 14720466120 0016506 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; /* save-notification.twig */ class __TwigTemplate_834501af37ae25c96de7d0e11e8d3710a860a0f82be4c0fe357b67b741b9f5cf 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 "<span class=\"js-wpml-ls-messages wpml-ls-messages\"></span><span class=\"spinner\"></span> "; } public function getTemplateName() { return "save-notification.twig"; } public function getDebugInfo() { return array ( 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("<span class=\"js-wpml-ls-messages wpml-ls-messages\"></span><span class=\"spinner\"></span> ", "save-notification.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/save-notification.twig"); } } 9a/9ae0f2e83c5f18c964ab54c56f6d053dd41a115060cd83b98518032872bcdc92.php 0000775 00000043315 14720466120 0016323 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; /* section-options.twig */ class __TwigTemplate_cefa114439759ec68be3217be2a1dddd63f564702db5f34b8cf8a12fab042723 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 class=\"js-wpml-ls-option wpml-ls-language_order\"> \t<h4><label>"; // line 2 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "label_language_order", []), "html", null, true); echo "</label> "; $this->loadTemplate("tooltip.twig", "section-options.twig", 2)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "languages_order", [])])); // line 3 echo "\t\t"; $this->loadTemplate("save-notification.twig", "section-options.twig", 3)->display($context); // line 4 echo "\t</h4> \t<p class=\"explanation-text\">"; // line 5 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "tip_drag_languages", []), "html", null, true); echo "</p> \t<ul id=\"wpml-ls-languages-order\" class=\"wpml-ls-languages-order\"> \t\t"; // line 7 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["ordered_languages"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["language"]) { // line 8 echo "\t\t<li class=\"js-wpml-languages-order-item\" data-language-code=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "code", []), "html", null, true); echo "\"> "; // line 9 echo $this->getAttribute($context["language"], "flag_img", []); echo " "; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "display_name", []), "html", null, true); echo "<input type=\"hidden\" name=\"languages_order[]\" value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "code", []), "html", null, true); echo "\"> \t\t</li> \t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 12 echo "\t</ul> </div> <div class=\"js-wpml-ls-option wpml-ls-languages_with_no_translations\"> \t<h4><label>"; // line 16 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "label_languages_with_no_translations", []), "html", null, true); echo " "; $this->loadTemplate("tooltip.twig", "section-options.twig", 16)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "languages_without_translation", [])])); // line 17 echo "\t\t</label> \t\t"; // line 18 $this->loadTemplate("save-notification.twig", "section-options.twig", 18)->display($context); // line 19 echo "\t</h4> \t<ul> \t\t<li> \t\t\t<label for=\"link_empty_off\"> \t\t\t\t<input type=\"radio\" name=\"link_empty\" id=\"link_empty_off\" \t\t\t\t\t class=\"js-wpml-ls-trigger-save\" \t\t\t\t\t value=\"0\""; // line 25 if ( !$this->getAttribute(($context["settings"] ?? null), "link_empty", [])) { echo " checked=\"checked\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "option_skip_link", []), "html", null, true); echo " \t\t\t</label> \t\t</li> \t\t<li> \t\t\t<label for=\"link_empty_on\"> \t\t\t\t<input type=\"radio\" name=\"link_empty\" id=\"link_empty_on\" \t\t\t\t\t class=\"js-wpml-ls-trigger-save\" \t\t\t\t\t value=\"1\""; // line 32 if ($this->getAttribute(($context["settings"] ?? null), "link_empty", [])) { echo " checked=\"checked\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "option_link_home", []), "html", null, true); echo " \t\t\t</label> \t\t</li> \t</ul> </div> <div class=\"js-wpml-ls-option wpml-ls-preserve_url_args\"> \t<p class=\"wpml-ls-form-line\"> \t\t"; // line 40 if ( !$this->getAttribute(($context["settings"] ?? null), "copy_parameters", [])) { echo "<a href=\"#\" class=\"js-wpml-ls-toggle-once\">"; } // line 41 echo "\t\t\t<label for=\"copy_parameters\"> \t\t\t\t"; // line 42 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "label_preserve_url_args", []), "html", null, true); if ( !$this->getAttribute(($context["settings"] ?? null), "copy_parameters", [])) { echo "<span class=\"otgs-ico-caret-down js-arrow-toggle\"></span>"; } // line 43 echo "</label>"; if ( !$this->getAttribute(($context["settings"] ?? null), "copy_parameters", [])) { echo "</a>"; } // line 44 echo " \t\t"; // line 45 $this->loadTemplate("tooltip.twig", "section-options.twig", 45)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "preserve_url_arguments", [])])); // line 46 echo " \t\t"; // line 47 $this->loadTemplate("save-notification.twig", "section-options.twig", 47)->display($context); // line 48 echo " \t\t<input type=\"text\" size=\"100\" id=\"copy_parameters\" name=\"copy_parameters\" \t\t\t value=\""; // line 50 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["settings"] ?? null), "copy_parameters", []), "html", null, true); echo "\" \t\t\t class=\"js-wpml-ls-trigger-save js-wpml-ls-trigger-need-save"; // line 51 if ( !$this->getAttribute(($context["settings"] ?? null), "copy_parameters", [])) { echo " js-wpml-ls-toggle-target hidden"; } echo "\"> \t</p> </div> <div class=\"js-wpml-ls-option wpml-ls-additional_css\"> \t<p class=\"wpml-ls-form-line\"> \t\t"; // line 57 if ( !$this->getAttribute(($context["settings"] ?? null), "additional_css", [])) { echo "<a href=\"#\" class=\"js-wpml-ls-toggle-once\">"; } // line 58 echo "\t\t\t<label for=\"additional_css\"> \t\t\t\t"; // line 59 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "label_additional_css", []), "html", null, true); if ( !$this->getAttribute(($context["settings"] ?? null), "additional_css", [])) { echo "<span class=\"otgs-ico-caret-down js-arrow-toggle\"></span>"; } // line 60 echo "</label>"; if ( !$this->getAttribute(($context["settings"] ?? null), "additional_css", [])) { echo "</a>"; } // line 61 echo " \t\t"; // line 63 $this->loadTemplate("tooltip.twig", "section-options.twig", 63)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "additional_css", [])])); // line 64 echo " \t\t"; // line 65 $this->loadTemplate("save-notification.twig", "section-options.twig", 65)->display($context); // line 66 echo " \t\t<textarea id=\"additional_css\" name=\"additional_css\" rows=\"4\" \t\t\t\t class=\"large-text js-wpml-ls-additional-css js-wpml-ls-trigger-save js-wpml-ls-trigger-need-save"; // line 68 if ( !$this->getAttribute(($context["settings"] ?? null), "additional_css", [])) { echo " js-wpml-ls-toggle-target hidden"; } echo "\">"; // line 69 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["settings"] ?? null), "additional_css", []), "html", null, true); // line 70 echo "</textarea> \t</p> </div> <div class=\"js-wpml-ls-option wpml-ls-backwards_compatibility\"> \t<div class=\"wpml-ls-form-line\"> \t\t"; // line 76 if (( !$this->getAttribute(($context["settings"] ?? null), "migrated", []) == 1)) { // line 77 echo "\t\t\t"; $context["hide_backwards_compatibility"] = true; // line 78 echo "\t\t"; } // line 79 echo " \t\t"; // line 80 if (($context["hide_backwards_compatibility"] ?? null)) { echo "<a href=\"#\" class=\"js-wpml-ls-toggle-once\">"; } // line 81 echo "\t\t\t<label> \t\t\t\t"; // line 82 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "label_migrated_toggle", []), "html", null, true); if (($context["hide_backwards_compatibility"] ?? null)) { echo "<span class=\"otgs-ico-caret-down js-arrow-toggle\"></span>"; } // line 83 echo "</label>"; if (($context["hide_backwards_compatibility"] ?? null)) { echo "</a>"; } // line 84 echo " \t\t"; // line 85 $this->loadTemplate("tooltip.twig", "section-options.twig", 85)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "backwards_compatibility", [])])); // line 86 echo " \t\t"; // line 87 $this->loadTemplate("save-notification.twig", "section-options.twig", 87)->display($context); // line 88 echo " \t\t<p"; // line 89 if (($context["hide_backwards_compatibility"] ?? null)) { echo " class=\"js-wpml-ls-toggle-target hidden\""; } echo "> \t\t\t<input type=\"checkbox\" id=\"wpml-ls-backwards-compatibility\" name=\"migrated\" \t\t\t\t value=\"0\""; // line 91 if (($this->getAttribute(($context["settings"] ?? null), "migrated", []) == 0)) { echo " checked=\"checked\""; } // line 92 echo "\t\t\t\t class=\"js-wpml-ls-migrated js-wpml-ls-trigger-save js-wpml-ls-trigger-need-save\"> \t\t\t<label for=\"wpml-ls-backwards-compatibility\"> \t\t\t\t"; // line 95 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "label_skip_backwards_compatibility", []), "html", null, true); echo " \t\t\t</label> \t\t</p> \t</div> </div> "; } public function getTemplateName() { return "section-options.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 274 => 95, 269 => 92, 265 => 91, 258 => 89, 255 => 88, 253 => 87, 250 => 86, 248 => 85, 245 => 84, 240 => 83, 235 => 82, 232 => 81, 228 => 80, 225 => 79, 222 => 78, 219 => 77, 217 => 76, 209 => 70, 207 => 69, 202 => 68, 198 => 66, 196 => 65, 193 => 64, 191 => 63, 187 => 61, 182 => 60, 177 => 59, 174 => 58, 170 => 57, 159 => 51, 155 => 50, 151 => 48, 149 => 47, 146 => 46, 144 => 45, 141 => 44, 136 => 43, 131 => 42, 128 => 41, 124 => 40, 109 => 32, 95 => 25, 87 => 19, 85 => 18, 82 => 17, 78 => 16, 72 => 12, 59 => 9, 54 => 8, 50 => 7, 45 => 5, 42 => 4, 39 => 3, 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("<div class=\"js-wpml-ls-option wpml-ls-language_order\"> \t<h4><label>{{ strings.options.label_language_order }}</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.languages_order } %} \t\t{% include 'save-notification.twig' %} \t</h4> \t<p class=\"explanation-text\">{{ strings.options.tip_drag_languages }}</p> \t<ul id=\"wpml-ls-languages-order\" class=\"wpml-ls-languages-order\"> \t\t{% for language in ordered_languages %} \t\t<li class=\"js-wpml-languages-order-item\" data-language-code=\"{{ language.code }}\"> {{ language.flag_img | raw }} {{ language.display_name }}<input type=\"hidden\" name=\"languages_order[]\" value=\"{{ language.code }}\"> \t\t</li> \t\t{% endfor %} \t</ul> </div> <div class=\"js-wpml-ls-option wpml-ls-languages_with_no_translations\"> \t<h4><label>{{ strings.options.label_languages_with_no_translations }} {% include 'tooltip.twig' with { \"content\": strings.tooltips.languages_without_translation } %} \t\t</label> \t\t{% include 'save-notification.twig' %} \t</h4> \t<ul> \t\t<li> \t\t\t<label for=\"link_empty_off\"> \t\t\t\t<input type=\"radio\" name=\"link_empty\" id=\"link_empty_off\" \t\t\t\t\t class=\"js-wpml-ls-trigger-save\" \t\t\t\t\t value=\"0\"{% if not settings.link_empty %} checked=\"checked\"{% endif %}>{{ strings.options.option_skip_link }} \t\t\t</label> \t\t</li> \t\t<li> \t\t\t<label for=\"link_empty_on\"> \t\t\t\t<input type=\"radio\" name=\"link_empty\" id=\"link_empty_on\" \t\t\t\t\t class=\"js-wpml-ls-trigger-save\" \t\t\t\t\t value=\"1\"{% if settings.link_empty %} checked=\"checked\"{% endif %}>{{ strings.options.option_link_home }} \t\t\t</label> \t\t</li> \t</ul> </div> <div class=\"js-wpml-ls-option wpml-ls-preserve_url_args\"> \t<p class=\"wpml-ls-form-line\"> \t\t{% if not settings.copy_parameters %}<a href=\"#\" class=\"js-wpml-ls-toggle-once\">{% endif %} \t\t\t<label for=\"copy_parameters\"> \t\t\t\t{{ strings.options.label_preserve_url_args }}{% if not settings.copy_parameters -%}<span class=\"otgs-ico-caret-down js-arrow-toggle\"></span>{%- endif -%} \t\t\t</label>{% if not settings.copy_parameters %}</a>{% endif %} \t\t{% include 'tooltip.twig' with { \"content\": strings.tooltips.preserve_url_arguments } %} \t\t{% include 'save-notification.twig' %} \t\t<input type=\"text\" size=\"100\" id=\"copy_parameters\" name=\"copy_parameters\" \t\t\t value=\"{{ settings.copy_parameters }}\" \t\t\t class=\"js-wpml-ls-trigger-save js-wpml-ls-trigger-need-save{% if not settings.copy_parameters %} js-wpml-ls-toggle-target hidden{% endif %}\"> \t</p> </div> <div class=\"js-wpml-ls-option wpml-ls-additional_css\"> \t<p class=\"wpml-ls-form-line\"> \t\t{% if not settings.additional_css %}<a href=\"#\" class=\"js-wpml-ls-toggle-once\">{% endif %} \t\t\t<label for=\"additional_css\"> \t\t\t\t{{ strings.options.label_additional_css }}{% if not settings.additional_css %}<span class=\"otgs-ico-caret-down js-arrow-toggle\"></span>{%- endif -%} \t\t\t</label>{% if not settings.additional_css %}</a>{% endif %} \t\t{% include 'tooltip.twig' with { \"content\": strings.tooltips.additional_css } %} \t\t{% include 'save-notification.twig' %} \t\t<textarea id=\"additional_css\" name=\"additional_css\" rows=\"4\" \t\t\t\t class=\"large-text js-wpml-ls-additional-css js-wpml-ls-trigger-save js-wpml-ls-trigger-need-save{% if not settings.additional_css %} js-wpml-ls-toggle-target hidden{% endif %}\"> \t\t\t{{- settings.additional_css -}} \t\t</textarea> \t</p> </div> <div class=\"js-wpml-ls-option wpml-ls-backwards_compatibility\"> \t<div class=\"wpml-ls-form-line\"> \t\t{% if not settings.migrated == 1 %} \t\t\t{% set hide_backwards_compatibility = true %} \t\t{% endif %} \t\t{% if hide_backwards_compatibility %}<a href=\"#\" class=\"js-wpml-ls-toggle-once\">{% endif %} \t\t\t<label> \t\t\t\t{{ strings.options.label_migrated_toggle }}{% if hide_backwards_compatibility %}<span class=\"otgs-ico-caret-down js-arrow-toggle\"></span>{%- endif -%} \t\t\t</label>{% if hide_backwards_compatibility %}</a>{% endif %} \t\t{% include 'tooltip.twig' with { \"content\": strings.tooltips.backwards_compatibility } %} \t\t{% include 'save-notification.twig' %} \t\t<p{% if hide_backwards_compatibility %} class=\"js-wpml-ls-toggle-target hidden\"{% endif %}> \t\t\t<input type=\"checkbox\" id=\"wpml-ls-backwards-compatibility\" name=\"migrated\" \t\t\t\t value=\"0\"{% if settings.migrated == 0 %} checked=\"checked\"{% endif %} \t\t\t\t class=\"js-wpml-ls-migrated js-wpml-ls-trigger-save js-wpml-ls-trigger-need-save\"> \t\t\t<label for=\"wpml-ls-backwards-compatibility\"> \t\t\t\t{{ strings.options.label_skip_backwards_compatibility }} \t\t\t</label> \t\t</p> \t</div> </div> ", "section-options.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-options.twig"); } } 81/8168f6686cda5d00ae4cfc5753f98a48edec70c5e1679d7cf68eb270f6d6b49b.php 0000775 00000025412 14720466120 0016672 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_f001736c0931030efdc62b2c550dd43de3ff8a67929bd4b69f895ea1f2c4a1d1 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"); } } 6a/6aaaefcfb8cc3b37bb50a4061bb2a71923fdda3546d74106ccf95f2d8660acd2.php 0000775 00000011601 14720466120 0017061 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; /* section-post-translations.twig */ class __TwigTemplate_d66be2975e949e3e30ce97d9d3fcfe78655d42113950938082c7f14314a7f919 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 class=\"wpml-ls-form-line js-wpml-ls-option\"> <label for=\"wpml-ls-show-in-post-translations\"> <input type=\"checkbox\" id=\"wpml-ls-show-in-post-translations\" name=\"statics[post_translations][show]\" value=\"1\" class=\"js-wpml-ls-toggle-slot js-wpml-ls-trigger-save\" data-target=\".js-wpml-ls-post-translations-toggle-target\" "; // line 5 if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "post_translations", []), "show", [])) { echo "checked=\"checked\""; } echo "/> "; // line 6 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "show", []), "html", null, true); echo " </label> "; // line 9 $this->loadTemplate("save-notification.twig", "section-post-translations.twig", 9)->display($context); // line 10 echo "</p> <div class=\"js-wpml-ls-post-translations-toggle-target alignleft"; // line 12 if (($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "post_translations", []), "show", []) != 1)) { echo " hidden"; } echo "\"> "; // line 14 $context["slot_settings"] = []; // line 15 echo " "; $context["slot_settings"] = \WPML\Core\twig_array_merge(($context["slot_settings"] ?? null), ["post_translations" => $this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "post_translations", [])]); // line 16 echo " "; // line 17 $this->loadTemplate("table-slots.twig", "section-post-translations.twig", 17)->display(twig_array_merge($context, ["slot_type" => "statics", "slots_settings" => // line 20 ($context["slot_settings"] ?? null), "slug" => "post_translations"])); // line 24 echo " </div>"; } public function getTemplateName() { return "section-post-translations.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 74 => 24, 72 => 20, 71 => 17, 68 => 16, 65 => 15, 63 => 14, 56 => 12, 52 => 10, 50 => 9, 44 => 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("<p class=\"wpml-ls-form-line js-wpml-ls-option\"> <label for=\"wpml-ls-show-in-post-translations\"> <input type=\"checkbox\" id=\"wpml-ls-show-in-post-translations\" name=\"statics[post_translations][show]\" value=\"1\" class=\"js-wpml-ls-toggle-slot js-wpml-ls-trigger-save\" data-target=\".js-wpml-ls-post-translations-toggle-target\" {% if settings.statics.post_translations.show %}checked=\"checked\"{% endif %}/> {{ strings.post_translations.show }} </label> {% include 'save-notification.twig' %} </p> <div class=\"js-wpml-ls-post-translations-toggle-target alignleft{% if settings.statics.post_translations.show != 1 %} hidden{% endif %}\"> {% set slot_settings = [] %} {% set slot_settings = slot_settings|merge({'post_translations': settings.statics.post_translations}) %} {% include 'table-slots.twig' with { \"slot_type\": \"statics\", \"slots_settings\": slot_settings, \t\t \"slug\" : 'post_translations', } %} </div>", "section-post-translations.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-post-translations.twig"); } } b6/b6673c51f52708865364458c41932b86529892e3534da7fc626e9e6d9f65733b.php 0000775 00000010131 14720466120 0015652 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; /* flag.twig */ class __TwigTemplate_63e628572d3ee10fb12fce8f99877ff53e5fdc9036edbfe18d03ae03743428bf 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 if ($this->getAttribute(($context["language"] ?? null), "flag_url", [])) { // line 2 echo " "; if (($this->getAttribute(($context["language"] ?? null), "flag_width", []) > 0)) { // line 3 echo " "; $context["flag_width"] = sprintf("width=%s", $this->getAttribute(($context["language"] ?? null), "flag_width", [])); // line 4 echo " "; } // line 5 echo " "; if (($this->getAttribute(($context["language"] ?? null), "flag_height", []) > 0)) { // line 6 echo " "; $context["flag_height"] = sprintf("height=%s", $this->getAttribute(($context["language"] ?? null), "flag_height", [])); // line 7 echo " "; } // line 8 echo " <img class=\""; // line 9 echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true); echo "\" src=\""; // line 10 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["language"] ?? null), "flag_url", []), "html", null, true); echo "\" alt=\""; // line 11 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["language"] ?? null), "flag_alt", []), "html", null, true); echo "\" "; // line 12 echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_width"] ?? null), "html", null, true); echo " "; // line 13 echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_height"] ?? null), "html", null, true); echo " />"; } } public function getTemplateName() { return "flag.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 71 => 13, 67 => 12, 63 => 11, 59 => 10, 55 => 9, 52 => 8, 49 => 7, 46 => 6, 43 => 5, 40 => 4, 37 => 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("{% if language.flag_url %} {% if language.flag_width > 0 %} {% set flag_width = 'width=%s'|format(language.flag_width) %} {% endif %} {% if language.flag_height > 0 %} {% set flag_height = 'height=%s'|format(language.flag_height) %} {% endif %} <img class=\"{{ css_classes_flag }}\" src=\"{{ language.flag_url }}\" alt=\"{{ language.flag_alt }}\" {{ flag_width }} {{ flag_height }} /> {%- endif -%}", "flag.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/flag.twig"); } } 42/420e30e5c42fc52089236d789fc350625fecf8d3de2deeffa215f31daad0e261.php 0000775 00000006415 14720466120 0016610 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; /* setup-wizard-buttons.twig */ class __TwigTemplate_63a45bc8634d5a15eac0423150cd151e478915088649982b2eb01c02707371ae 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 if ( !($context["setup_complete"] ?? null)) { // line 2 echo "\t<footer id=\"icl_setup_nav_3\" class=\"js-wpml-ls-section wpml-section clearfix text-right\"> \t\t<input id=\"icl_setup_back_2\" class=\"button-secondary alignleft\" name=\"save\" value=\""; // line 3 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "button_back", []), "html", null, true); echo "\" type=\"button\" /> \t\t"; // line 4 echo ($context["setup_step_2_nonce_field"] ?? null); echo " \t\t<input class=\"button-primary alignright\" name=\"save\" value=\""; // line 5 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "button_next", []), "html", null, true); echo "\" type=\"submit\" /> \t\t<input type=\"hidden\" name=\"submit_setup_wizard\" value=\"0\" /> \t</footer> "; } } public function getTemplateName() { return "setup-wizard-buttons.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 45 => 5, 41 => 4, 37 => 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("{% if not setup_complete %} \t<footer id=\"icl_setup_nav_3\" class=\"js-wpml-ls-section wpml-section clearfix text-right\"> \t\t<input id=\"icl_setup_back_2\" class=\"button-secondary alignleft\" name=\"save\" value=\"{{ strings.misc.button_back }}\" type=\"button\" /> \t\t{{ setup_step_2_nonce_field|raw }} \t\t<input class=\"button-primary alignright\" name=\"save\" value=\"{{ strings.misc.button_next }}\" type=\"submit\" /> \t\t<input type=\"hidden\" name=\"submit_setup_wizard\" value=\"0\" /> \t</footer> {% endif %}", "setup-wizard-buttons.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/setup-wizard-buttons.twig"); } } 42/4292ecbe425903a2b9f5a6467ec5e87022dbf6898fd9b67cd3efa31b914d60af.php 0000775 00000020667 14720466120 0016570 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.twig */ class __TwigTemplate_682e4ce9d46cedeb25b09ba11bd877e961282de43c37a9b44ef0a5e29343b7e7 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 class=\"wrap\"> <h2>"; // line 3 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "heading", []), "html", null, true); echo "</h2> "; // line 5 $this->loadTemplate("batch-translation.twig", "media-translation.twig", 5)->display(twig_array_merge($context, ($context["batch_translation"] ?? null))); // line 6 echo " <div class=\"tablenav top wpml-media-tablenav\"> "; // line 8 $this->loadTemplate("media-translation-filters.twig", "media-translation.twig", 8)->display($context); // line 9 echo " </div> <table class=\"widefat striped wpml-media-table js-otgs-table-sticky-header\"> <thead> <tr> <th class=\"wpml-col-media-title\">"; // line 14 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "original_language", []), "html", null, true); echo "</th> <th class=\"wpml-col-media-translations\"> "; // line 16 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); foreach ($context['_seq'] as $context["code"] => $context["language"]) { // line 17 echo " "; if ((twig_test_empty(($context["target_language"] ?? null)) || (($context["target_language"] ?? null) == $context["code"]))) { // line 18 echo " <span class=\"js-otgs-popover-tooltip\" title=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true); echo "\"><img src=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "flag", []), "html", null, true); echo "\" width=\"16\" height=\"12\" alt=\""; // line 20 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "code", []), "html", null, true); echo "\"></span> "; } // line 22 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 23 echo " </th> </tr> </thead> <tbody> "; // line 27 if (($context["attachments"] ?? null)) { // line 28 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["attachments"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) { // line 29 echo " "; $this->loadTemplate("media-translation-table-row.twig", "media-translation.twig", 29)->display(twig_to_array(["attachment" => $context["attachment"], "languages" => ($context["languages"] ?? null), "strings" => ($context["strings"] ?? null), "target_language" => ($context["target_language"] ?? null)])); // line 30 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 31 echo " "; } else { // line 32 echo " <tr> <td colspan=\"2\">"; // line 33 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "no_attachments", []), "html", null, true); echo "</td> </tr> "; } // line 36 echo " </tbody> </table> <div class=\"tablenav bottom\"> "; // line 41 $this->loadTemplate("pagination.twig", "media-translation.twig", 41)->display(twig_to_array(["pagination_model" => ($context["pagination"] ?? null)])); // line 42 echo " "; // line 43 $this->loadTemplate("media-translation-popup.twig", "media-translation.twig", 43)->display($context); // line 44 echo " </div> </div>"; } public function getTemplateName() { return "media-translation.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 135 => 44, 133 => 43, 130 => 42, 128 => 41, 121 => 36, 115 => 33, 112 => 32, 109 => 31, 103 => 30, 100 => 29, 95 => 28, 93 => 27, 87 => 23, 81 => 22, 76 => 20, 68 => 18, 65 => 17, 61 => 16, 56 => 14, 49 => 9, 47 => 8, 43 => 6, 41 => 5, 36 => 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("<div class=\"wrap\"> <h2>{{ strings.heading }}</h2> {% include 'batch-translation.twig' with batch_translation %} <div class=\"tablenav top wpml-media-tablenav\"> {% include 'media-translation-filters.twig' %} </div> <table class=\"widefat striped wpml-media-table js-otgs-table-sticky-header\"> <thead> <tr> <th class=\"wpml-col-media-title\">{{ strings.original_language }}</th> <th class=\"wpml-col-media-translations\"> {% for code, language in languages %} {% if target_language is empty or target_language == code %} <span class=\"js-otgs-popover-tooltip\" title=\"{{ language.name }}\"><img src=\"{{ language.flag }}\" width=\"16\" height=\"12\" alt=\"{{ language.code }}\"></span> {% endif %} {% endfor %} </th> </tr> </thead> <tbody> {% if attachments %} {% for attachment in attachments %} {% include 'media-translation-table-row.twig' with {'attachment' : attachment, 'languages': languages, 'strings': strings, 'target_language': target_language } only %} {% endfor %} {% else %} <tr> <td colspan=\"2\">{{ strings.no_attachments }}</td> </tr> {% endif %} </tbody> </table> <div class=\"tablenav bottom\"> {% include 'pagination.twig' with {'pagination_model' : pagination} only %} {% include 'media-translation-popup.twig' %} </div> </div>", "media-translation.twig", "/var/www/xthruster/html/wp-content/plugins/wpml-media-translation/templates/menus/media-translation.twig"); } } 6e/6eac6944ad9ce0e1791e6a4a7b1f0a41f43b48e962ce5369bacc566cda0065ee.php 0000775 00000010207 14720466120 0016756 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; /* slot-subform-statics-footer.twig */ class __TwigTemplate_8479170619fa75d9c151f94d370858e616f3ef3cea0b07736488bf04b1bbc481 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("{% include 'preview.twig' with {\"preview\": previews.statics.footer } %} <div class=\"wpml-ls-subform-options\"> \t{% include 'dropdown-templates.twig' \t\twith { \t\t\t\"id\": \"in-footer\", \t\t\t\"name\": \"statics[footer][template]\", \t\t\t\"value\": settings.statics.footer.template, \t\t\t\"slot_type\": \"footer\", \t\t} \t%} \t{% include 'checkboxes-includes.twig' \t\twith { \t\t\t\"name_base\": \"statics[footer]\", \t\t\t\"slot_settings\": settings.statics.footer, \t\t\t\"template_slug\": slot_settings.template, \t\t} \t%} \t{% include 'panel-colors.twig' \t\twith { \t\t\t\"id\": \"static-footer\", \t\t\t\"name_base\": \"statics[footer]\", \t\t\t\"slot_settings\": settings.statics.footer, \t\t} \t%} </div>", "slot-subform-statics-footer.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-footer.twig"); } } d1/d15c446454f467849eee79807de20c4f15e7b9161c9e36d62db0a902102569e7.php 0000775 00000007130 14720466120 0016122 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; /* translation-priority-select.twig */ class __TwigTemplate_15b7a9d8346f804b4b5743723a5a5b29401e3fc9d97e56ff6a15c94c0be9c14e 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 "<select class=\"wpml-select2-button js-change-translation-priority\" id=\"icl-st-change-translation-priority-selected\" disabled=\"disabled\"> <option value=\"\">"; // line 2 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "empty_text", [])); echo "</option> "; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["translation_priorities"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["translation_priority"]) { // line 4 echo " <option value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["translation_priority"], "name", []), "html", null, true); echo "\"> "; // line 5 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["translation_priority"], "name", []), "html", null, true); echo " </option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['translation_priority'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 8 echo "</select> "; // line 10 echo ($context["nonce"] ?? null); } public function getTemplateName() { return "translation-priority-select.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 61 => 10, 57 => 8, 48 => 5, 43 => 4, 39 => 3, 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("<select class=\"wpml-select2-button js-change-translation-priority\" id=\"icl-st-change-translation-priority-selected\" disabled=\"disabled\"> <option value=\"\">{{ strings.empty_text|e }}</option> {% for translation_priority in translation_priorities %} <option value=\"{{ translation_priority.name }}\"> {{ translation_priority.name }} </option> {% endfor %} </select> {{ nonce|raw }}", "translation-priority-select.twig", "/var/www/xthruster/html/wp-content/plugins/wpml-string-translation/templates/translation-priority/translation-priority-select.twig"); } } 93/937ac69df7ec963cc7bea3fa9b3d251ea758082fe708ad570265e15d70ebdecc.php 0000644 00000025412 14720466120 0016777 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"); } } 93/93f39efe2472b1badc66ffcc605ba1d26942a933a532be61e4f160e1fa90034f.php 0000775 00000055675 14720466120 0016544 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"); } } 9b/9beb9a300407b020caeaf69fe9666694e6e17ad8066c40004ecdec76a8752498.php 0000775 00000014341 14720466120 0016417 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; /* section-menus.twig */ class __TwigTemplate_a84434523d71f9af47a1f440943a67115eda27c3e704b4dfb0fa2424d6c447d7 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["slug_placeholder"] = "%id%"; // line 2 echo " "; // line 3 $this->loadTemplate("table-slots.twig", "section-menus.twig", 3)->display(twig_array_merge($context, ["slot_type" => "menus", "slots_settings" => $this->getAttribute( // line 6 ($context["settings"] ?? null), "menus", []), "slots" => $this->getAttribute( // line 7 ($context["data"] ?? null), "menus", [])])); // line 10 echo " "; // line 11 $this->loadTemplate("button-add-new-ls.twig", "section-menus.twig", 11)->display(twig_array_merge($context, ["existing_items" => \WPML\Core\twig_length_filter($this->env, $this->getAttribute( // line 13 ($context["data"] ?? null), "menus", [])), "settings_items" => \WPML\Core\twig_length_filter($this->env, $this->getAttribute( // line 14 ($context["settings"] ?? null), "menus", [])), "tooltip_all_assigned" => $this->getAttribute($this->getAttribute( // line 15 ($context["strings"] ?? null), "tooltips", []), "add_menu_all_assigned", []), "tooltip_no_item" => $this->getAttribute($this->getAttribute( // line 16 ($context["strings"] ?? null), "tooltips", []), "add_menu_no_menu", []), "button_target" => "#wpml-ls-new-menus-template", "button_label" => $this->getAttribute($this->getAttribute( // line 18 ($context["strings"] ?? null), "menus", []), "add_button_label", [])])); // line 21 echo " <script type=\"text/html\" id=\"wpml-ls-new-menus-template\" class=\"js-wpml-ls-template\"> <div class=\"js-wpml-ls-subform wpml-ls-subform\" data-title=\""; // line 23 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "dialog_title_new", []), "html", null, true); echo "\" data-item-slug=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["slug_placeholder"] ?? null), "html", null, true); echo "\" data-item-type=\"menus\"> "; // line 25 $this->loadTemplate("slot-subform-menus.twig", "section-menus.twig", 25)->display(twig_array_merge($context, ["slug" => // line 27 ($context["slug_placeholder"] ?? null), "slots_settings" => // line 28 ($context["slots_settings"] ?? null), "slots" => $this->getAttribute( // line 29 ($context["data"] ?? null), "menus", []), "preview" => $this->getAttribute($this->getAttribute( // line 30 ($context["previews"] ?? null), "menu", []), ($context["slug"] ?? null), [], "array")])); // line 33 echo " </div> </script> <script type=\"text/html\" id=\"wpml-ls-new-menus-row-template\" class=\"js-wpml-ls-template\"> "; // line 37 $this->loadTemplate("table-slot-row.twig", "section-menus.twig", 37)->display(twig_array_merge($context, ["slug" => // line 39 ($context["slug_placeholder"] ?? null), "slots" => // line 40 ($context["menus"] ?? null)])); // line 43 echo "</script>"; } public function getTemplateName() { return "section-menus.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 78 => 43, 76 => 40, 75 => 39, 74 => 37, 68 => 33, 66 => 30, 65 => 29, 64 => 28, 63 => 27, 62 => 25, 55 => 23, 51 => 21, 49 => 18, 48 => 16, 47 => 15, 46 => 14, 45 => 13, 44 => 11, 41 => 10, 39 => 7, 38 => 6, 37 => 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 slug_placeholder = '%id%' %} {% include 'table-slots.twig' with { \"slot_type\": \"menus\", \"slots_settings\": settings.menus, \"slots\" : data.menus, } %} {% include 'button-add-new-ls.twig' with { \"existing_items\": data.menus|length, \"settings_items\": settings.menus|length, \"tooltip_all_assigned\": strings.tooltips.add_menu_all_assigned, \"tooltip_no_item\": strings.tooltips.add_menu_no_menu, \"button_target\": \"#wpml-ls-new-menus-template\", \"button_label\": strings.menus.add_button_label, } %} <script type=\"text/html\" id=\"wpml-ls-new-menus-template\" class=\"js-wpml-ls-template\"> <div class=\"js-wpml-ls-subform wpml-ls-subform\" data-title=\"{{ strings.menus.dialog_title_new }}\" data-item-slug=\"{{ slug_placeholder }}\" data-item-type=\"menus\"> {% include 'slot-subform-menus.twig' with { \"slug\": slug_placeholder, \"slots_settings\": slots_settings, \"slots\": data.menus, \"preview\": previews.menu[ slug ], } %} </div> </script> <script type=\"text/html\" id=\"wpml-ls-new-menus-row-template\" class=\"js-wpml-ls-template\"> {% include 'table-slot-row.twig' with { \"slug\": slug_placeholder, \"slots\": menus } %} </script>", "section-menus.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-menus.twig"); } } 0e/0e1cb188acba879c5b41615e9371d6ff4fcc43fe0be4aa55c01dcabccd6cdde5.php 0000775 00000010771 14720466120 0017376 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; /* slot-subform-statics-shortcode_actions.twig */ class __TwigTemplate_8f476dcd3ca6b46c7e53bbaf693f5e0adaf3706c59179374fa2e44c54f3f0854 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-shortcode_actions.twig", 1)->display(twig_array_merge($context, ["preview" => $this->getAttribute($this->getAttribute(($context["previews"] ?? null), "statics", []), "shortcode_actions", [])])); // line 2 echo " <div class=\"wpml-ls-subform-options\"> \t"; // line 5 $this->loadTemplate("dropdown-templates.twig", "slot-subform-statics-shortcode_actions.twig", 5)->display(twig_array_merge($context, ["id" => "in-shortcode-action", "name" => "statics[shortcode_actions][template]", "value" => $this->getAttribute($this->getAttribute($this->getAttribute( // line 9 ($context["settings"] ?? null), "statics", []), "shortcode_actions", []), "template", []), "slot_type" => "shortcode_actions"])); // line 13 echo " \t"; // line 14 $this->loadTemplate("checkboxes-includes.twig", "slot-subform-statics-shortcode_actions.twig", 14)->display(twig_array_merge($context, ["id" => "in-shortcode-actions", "name_base" => "statics[shortcode_actions]", "slot_settings" => $this->getAttribute($this->getAttribute( // line 18 ($context["settings"] ?? null), "statics", []), "shortcode_actions", []), "template_slug" => $this->getAttribute( // line 19 ($context["slot_settings"] ?? null), "template", [])])); // line 22 echo " \t"; // line 23 $this->loadTemplate("panel-colors.twig", "slot-subform-statics-shortcode_actions.twig", 23)->display(twig_array_merge($context, ["id" => "in-shortcode-actions", "name_base" => "statics[shortcode_actions]", "slot_settings" => $this->getAttribute($this->getAttribute( // line 27 ($context["settings"] ?? null), "statics", []), "shortcode_actions", [])])); // line 30 echo " </div>"; } public function getTemplateName() { return "slot-subform-statics-shortcode_actions.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 55 => 30, 53 => 27, 52 => 23, 49 => 22, 47 => 19, 46 => 18, 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("{% include 'preview.twig' with {\"preview\": previews.statics.shortcode_actions } %} <div class=\"wpml-ls-subform-options\"> \t{% include 'dropdown-templates.twig' \t\twith { \t\t\t\"id\": \"in-shortcode-action\", \t\t\t\"name\": \"statics[shortcode_actions][template]\", \t\t\t\"value\": settings.statics.shortcode_actions.template, \t\t\t\"slot_type\": \"shortcode_actions\", \t\t} \t%} \t{% include 'checkboxes-includes.twig' \t\twith { \t\t\t\"id\": \"in-shortcode-actions\", \t\t\t\"name_base\": \"statics[shortcode_actions]\", \t\t\t\"slot_settings\": settings.statics.shortcode_actions, \t\t\t\"template_slug\": slot_settings.template, \t\t} \t%} \t{% include 'panel-colors.twig' \t\twith { \t\t\t\"id\": \"in-shortcode-actions\", \t\t\t\"name_base\": \"statics[shortcode_actions]\", \t\t\t\"slot_settings\": settings.statics.shortcode_actions, \t\t} \t%} </div>", "slot-subform-statics-shortcode_actions.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-shortcode_actions.twig"); } } 8d/8d1f08153edaed0ac4b47f6e7573b1c4ecd12eea4b2dac9c443dd96344bd4980.php 0000775 00000024122 14720466120 0017032 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; /* dropdown-templates.twig */ class __TwigTemplate_77b07fd5c9106e540abcefdaa6f8041c6d17ab5f6b906781bc1f6aa84379a753 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["supported_core_templates"] = []; // line 2 $context["supported_custom_templates"] = []; // line 3 echo " "; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["data"] ?? null), "templates", [])); foreach ($context['_seq'] as $context["_key"] => $context["template"]) { if (twig_in_filter(($context["slot_type"] ?? null), $this->getAttribute($context["template"], "supported_slot_types", []))) { // line 5 echo "\t"; if ($this->getAttribute($context["template"], "is_core", [])) { // line 6 echo "\t\t"; $context["supported_core_templates"] = \WPML\Core\twig_array_merge(($context["supported_core_templates"] ?? null), [0 => $context["template"]]); // line 7 echo "\t"; } else { // line 8 echo "\t\t"; $context["supported_custom_templates"] = \WPML\Core\twig_array_merge(($context["supported_custom_templates"] ?? null), [0 => $context["template"]]); // line 9 echo "\t"; } } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 11 echo " "; // line 12 $context["total_templates"] = (\WPML\Core\twig_length_filter($this->env, ($context["supported_core_templates"] ?? null)) + \WPML\Core\twig_length_filter($this->env, ($context["supported_custom_templates"] ?? null))); // line 13 echo " <div"; // line 14 if ((($context["total_templates"] ?? null) <= 1)) { echo " class=\"hidden\""; } echo "> \t<h4><label for=\"template-"; // line 16 echo \WPML\Core\twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "templates_dropdown_label", []), "html", null, true); echo "</label> "; $this->loadTemplate("tooltip.twig", "dropdown-templates.twig", 16)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "available_templates", [])])); echo "</h4> \t<select id=\"template-"; // line 18 echo \WPML\Core\twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "\" name=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true); echo "\" class=\"js-wpml-ls-template-selector js-wpml-ls-trigger-update\"> \t\t<optgroup label=\""; // line 20 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "templates_wpml_group", []), "html", null, true); echo "\"> \t\t"; // line 21 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["supported_core_templates"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["template"]) { // line 22 echo "\t\t\t"; $context["template_data"] = $this->getAttribute($context["template"], "get_template_data", [], "method"); // line 23 echo "\t\t\t<option value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["template_data"] ?? null), "slug", []), "html", null, true); echo "\" "; if ((($context["value"] ?? null) == $this->getAttribute(($context["template_data"] ?? null), "slug", []))) { echo "selected=\"selected\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["template_data"] ?? null), "name", []), "html", null, true); echo "</option> \t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 25 echo "\t\t</optgroup> \t\t"; // line 27 if ((\WPML\Core\twig_length_filter($this->env, ($context["supported_custom_templates"] ?? null)) > 0)) { // line 28 echo "\t\t\t<optgroup label=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "templates_custom_group", []), "html", null, true); echo "\"> \t\t\t"; // line 29 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["supported_custom_templates"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["template"]) { // line 30 echo "\t\t\t\t"; $context["template_data"] = $this->getAttribute($context["template"], "get_template_data", [], "method"); // line 31 echo "\t\t\t\t<option value=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["template_data"] ?? null), "slug", []), "html", null, true); echo "\" "; if ((($context["value"] ?? null) == $this->getAttribute(($context["template_data"] ?? null), "slug", []))) { echo "selected=\"selected\""; } echo ">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["template_data"] ?? null), "name", []), "html", null, true); echo "</option> \t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 33 echo "\t\t\t</optgroup> \t\t"; } // line 35 echo " \t</select> </div> "; } public function getTemplateName() { return "dropdown-templates.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 158 => 35, 154 => 33, 139 => 31, 136 => 30, 132 => 29, 127 => 28, 125 => 27, 121 => 25, 106 => 23, 103 => 22, 99 => 21, 95 => 20, 88 => 18, 79 => 16, 72 => 14, 69 => 13, 67 => 12, 64 => 11, 56 => 9, 53 => 8, 50 => 7, 47 => 6, 44 => 5, 39 => 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 supported_core_templates = [] %} {% set supported_custom_templates = [] %} {% for template in data.templates if slot_type in template.supported_slot_types %} \t{% if template.is_core %} \t\t{% set supported_core_templates = supported_core_templates|merge([template]) %} \t{% else %} \t\t{% set supported_custom_templates = supported_custom_templates|merge([template]) %} \t{% endif %} {% endfor %} {% set total_templates = (supported_core_templates|length) + (supported_custom_templates|length)%} <div{% if total_templates <= 1 %} class=\"hidden\"{% endif %}> \t<h4><label for=\"template-{{ id }}\">{{ strings.misc.templates_dropdown_label }}</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.available_templates } %}</h4> \t<select id=\"template-{{ id }}\" name=\"{{ name }}\" class=\"js-wpml-ls-template-selector js-wpml-ls-trigger-update\"> \t\t<optgroup label=\"{{ strings.misc.templates_wpml_group }}\"> \t\t{% for template in supported_core_templates %} \t\t\t{% set template_data = template.get_template_data() %} \t\t\t<option value=\"{{ template_data.slug }}\" {% if value == template_data.slug %}selected=\"selected\"{% endif %}>{{ template_data.name }}</option> \t\t{% endfor %} \t\t</optgroup> \t\t{% if supported_custom_templates|length > 0 %} \t\t\t<optgroup label=\"{{ strings.misc.templates_custom_group }}\"> \t\t\t{% for template in supported_custom_templates %} \t\t\t\t{% set template_data = template.get_template_data() %} \t\t\t\t<option value=\"{{ template_data.slug }}\" {% if value == template_data.slug %}selected=\"selected\"{% endif %}>{{ template_data.name }}</option> \t\t\t{% endfor %} \t\t\t</optgroup> \t\t{% endif %} \t</select> </div> ", "dropdown-templates.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-templates.twig"); } } 32/324f47acf3f1dac6d7ef9fc30b5178063a1c8c2a17c8fa6ed8a13b75a7333192.php 0000775 00000006214 14720466120 0016525 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; /* dialog-box.twig */ class __TwigTemplate_cb935f4ef3d1ff01183ea076f1f3dcbc8de7606c7019f67249bb145bc7e6bc84 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=\"wpml-ls-dialog\" style=\"display:none;\" > <div class=\"js-wpml-ls-dialog-inner\"> </div> <div class=\"wpml-dialog-footer \"> <span class=\"errors icl_error_text\"></span> <input class=\"js-wpml-ls-dialog-close cancel wpml-dialog-close-button alignleft\" value=\""; // line 7 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "button_cancel", []), "html", null, true); echo "\" type=\"button\"> <input class=\"js-wpml-ls-dialog-save button-primary term-save alignright\" value=\""; // line 8 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "misc", []), "button_save", []), "html", null, true); echo "\" type=\"submit\"> <span class=\"spinner alignright\"></span> </div> </div>"; } public function getTemplateName() { return "dialog-box.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 44 => 8, 40 => 7, 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("<div id=\"wpml-ls-dialog\" style=\"display:none;\" > <div class=\"js-wpml-ls-dialog-inner\"> </div> <div class=\"wpml-dialog-footer \"> <span class=\"errors icl_error_text\"></span> <input class=\"js-wpml-ls-dialog-close cancel wpml-dialog-close-button alignleft\" value=\"{{ strings.misc.button_cancel }}\" type=\"button\"> <input class=\"js-wpml-ls-dialog-save button-primary term-save alignright\" value=\"{{ strings.misc.button_save }}\" type=\"submit\"> <span class=\"spinner alignright\"></span> </div> </div>", "dialog-box.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dialog-box.twig"); } } 5c/5ccb9a02acb5fbcfa331640e55c6d140a8394a5c2410a3fe1311950836d098d5.php 0000775 00000012616 14720466120 0016343 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; /* dropdown-sidebars.twig */ class __TwigTemplate_d1402097a99fc6afdb85c0b1c230ecda40c54b00253f988219b5764f46e15e88 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-sidebars\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "select_label", []), "html", null, true); echo ":</label> "; $this->loadTemplate("tooltip.twig", "dropdown-sidebars.twig", 1)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "available_sidebars", [])])); echo "</h4> <select name=\"wpml_ls_available_sidebars\" class=\"js-wpml-ls-available-slots js-wpml-ls-available-sidebars\"> <option disabled=\"disabled\">-- "; // line 3 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "select_option_choose", []), "html", null, true); echo " --</option> "; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["sidebars"] ?? null)); foreach ($context['_seq'] as $context["sidebar_key"] => $context["sidebar"]) { // line 5 echo " "; if (($context["sidebar_key"] == ($context["slug"] ?? null))) { // line 6 echo " "; $context["attr"] = " selected=\"selected\""; // line 7 echo " "; } elseif (twig_in_filter($this->getAttribute($context["sidebar"], "id", []), \WPML\Core\twig_get_array_keys_filter($this->getAttribute(($context["settings"] ?? null), "sidebar", [])))) { // 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["sidebar"], "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["sidebar"], "name", []), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['sidebar_key'], $context['sidebar'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 14 echo "</select> "; } public function getTemplateName() { return "dropdown-sidebars.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("<h4><label for=\"wpml-ls-available-sidebars\">{{ strings.sidebars.select_label }}:</label> {% include 'tooltip.twig' with { \"content\": strings.tooltips.available_sidebars } %}</h4> <select name=\"wpml_ls_available_sidebars\" class=\"js-wpml-ls-available-slots js-wpml-ls-available-sidebars\"> <option disabled=\"disabled\">-- {{ strings.sidebars.select_option_choose }} --</option> {% for sidebar_key, sidebar in sidebars %} {% if sidebar_key == slug %} {% set attr = ' selected=\"selected\"' %} {% elseif sidebar.id in settings.sidebar|keys %} {% set attr = ' disabled=\"disabled\"' %} {% else %} {% set attr = '' %} {% endif %} <option value=\"{{ sidebar.id }}\"{{ attr }}>{{ sidebar.name }}</option> {% endfor %} </select> ", "dropdown-sidebars.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-sidebars.twig"); } } da/da9ed4096d421c54910c2cad8fdcb3183a47cb2fd2c86fb9498995aa82aad4e1.php 0000775 00000042260 14720466120 0017042 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; /* panel-colors.twig */ class __TwigTemplate_969f8d9e7bc5b17b35fdb5a351a3ecb271b5a834ab2fd38ccf4ed174a702ed54 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["wrapper_options"] = [0 => ["label" => $this->getAttribute($this->getAttribute( // line 2 ($context["strings"] ?? null), "color_picker", []), "background", []), "name" => "background", "schemes" => [0 => "normal"], "default" => ""], 1 => ["label" => $this->getAttribute($this->getAttribute( // line 3 ($context["strings"] ?? null), "color_picker", []), "border", []), "name" => "border", "schemes" => [0 => "normal"], "default" => ""]]; // line 6 echo " "; // line 7 $context["options"] = [0 => ["label" => $this->getAttribute($this->getAttribute( // line 8 ($context["strings"] ?? null), "color_picker", []), "font_current", []), "name" => "font_current", "schemes" => [0 => "normal", 1 => "hover"], "default" => ""], 1 => ["label" => $this->getAttribute($this->getAttribute( // line 9 ($context["strings"] ?? null), "color_picker", []), "background_current", []), "name" => "background_current", "schemes" => [0 => "normal", 1 => "hover"], "default" => ""], 2 => ["label" => $this->getAttribute($this->getAttribute( // line 10 ($context["strings"] ?? null), "color_picker", []), "font_other", []), "name" => "font_other", "schemes" => [0 => "normal", 1 => "hover"], "default" => ""], 3 => ["label" => $this->getAttribute($this->getAttribute( // line 11 ($context["strings"] ?? null), "color_picker", []), "background_other", []), "name" => "background_other", "schemes" => [0 => "normal", 1 => "hover"], "default" => ""]]; // line 14 echo " "; // line 15 if ((($context["slot_type"] ?? null) != "menus")) { // line 16 echo " "; $context["options"] = \WPML\Core\twig_array_merge(($context["wrapper_options"] ?? null), ($context["options"] ?? null)); } // line 18 echo " "; // line 19 $context["css_class"] = (((isset($context["css_class"]) || array_key_exists("css_class", $context))) ? (\WPML\Core\_twig_default_filter(($context["css_class"] ?? null), "js-wpml-ls-colorpicker")) : ("js-wpml-ls-colorpicker")); // line 20 echo " <div class=\"js-wpml-ls-panel-colors wpml-ls-panel-colors\"> <h4>"; // line 22 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "color_picker", []), "panel_title", []), "html", null, true); echo "</h4> <label for=\"wpml-ls-"; // line 24 echo \WPML\Core\twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "-colorpicker-preset\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "color_picker", []), "label_color_preset", []), "html", null, true); echo "</label> <select name=\"wpml-ls-"; // line 25 echo \WPML\Core\twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "-colorpicker-preset\" class=\"js-wpml-ls-colorpicker-preset\"> <option value=\"\">-- "; // line 26 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "color_picker", []), "select_option_choose", []), "html", null, true); echo " --</option> "; // line 27 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["color_schemes"] ?? null)); foreach ($context['_seq'] as $context["scheme_id"] => $context["scheme"]) { // line 28 echo " <option value=\""; echo \WPML\Core\twig_escape_filter($this->env, $context["scheme_id"], "html", null, true); echo "\">"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["scheme"], "label", []), "html", null, true); echo "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['scheme_id'], $context['scheme'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 30 echo " </select> <div> <table> <tr> <td> </td> <th>"; // line 37 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "color_picker", []), "label_normal_scheme", []), "html", null, true); echo "</th> <th>"; // line 38 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "color_picker", []), "label_hover_scheme", []), "html", null, true); echo "</th> </tr> "; // line 40 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 41 echo " <tr> <td>"; // line 42 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["option"], "label", []), "html", null, true); echo "</td> <td class=\"js-wpml-ls-colorpicker-wrapper\"> "; // line 44 if (twig_in_filter("normal", $this->getAttribute($context["option"], "schemes", []))) { // line 45 echo " "; if (($context["name_base"] ?? null)) { // line 46 echo " "; $context["input_name"] = (((($context["name_base"] ?? null) . "[") . $this->getAttribute($context["option"], "name", [])) . "_normal]"); // line 47 echo " "; } else { // line 48 echo " "; $context["input_name"] = ($this->getAttribute($context["option"], "name", []) . "_normal"); // line 49 echo " "; } // line 50 echo " <input class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_class"] ?? null), "html", null, true); echo " js-wpml-ls-color-"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", []), "html", null, true); echo "_normal\" type=\"text\" size=\"7\" id=\"wpml-ls-"; // line 51 echo \WPML\Core\twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "-"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", []), "html", null, true); echo "-normal\" name=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["input_name"] ?? null), "html", null, true); echo "\" value=\""; // line 52 echo \WPML\Core\twig_escape_filter($this->env, (($this->getAttribute(($context["slot_settings"] ?? null), ($this->getAttribute($context["option"], "name", []) . "_normal"), [], "array", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute(($context["slot_settings"] ?? null), ($this->getAttribute($context["option"], "name", []) . "_normal"), [], "array"), $this->getAttribute($context["option"], "default", []))) : ($this->getAttribute($context["option"], "default", []))), "html", null, true); echo "\" data-default-color=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["option"], "default", []), "html", null, true); echo "\" style=\"display: none;\"> "; } // line 54 echo " </td> <td class=\"js-wpml-ls-colorpicker-wrapper\"> "; // line 56 if (twig_in_filter("hover", $this->getAttribute($context["option"], "schemes", []))) { // line 57 echo " "; if (($context["name_base"] ?? null)) { // line 58 echo " "; $context["input_name"] = (((($context["name_base"] ?? null) . "[") . $this->getAttribute($context["option"], "name", [])) . "_hover]"); // line 59 echo " "; } else { // line 60 echo " "; $context["input_name"] = ($this->getAttribute($context["option"], "name", []) . "_hover"); // line 61 echo " "; } // line 62 echo " <input class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_class"] ?? null), "html", null, true); echo " js-wpml-ls-color-"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", []), "html", null, true); echo "_hover\" type=\"text\" size=\"7\" id=\"wpml-ls-"; // line 63 echo \WPML\Core\twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true); echo "-"; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["option"], "name", []), "html", null, true); echo "-hover\" name=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["input_name"] ?? null), "html", null, true); echo "\" value=\""; // line 64 echo \WPML\Core\twig_escape_filter($this->env, (($this->getAttribute(($context["slot_settings"] ?? null), ($this->getAttribute($context["option"], "name", []) . "_hover"), [], "array", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute(($context["slot_settings"] ?? null), ($this->getAttribute($context["option"], "name", []) . "_hover"), [], "array"), $this->getAttribute($context["option"], "default", []))) : ($this->getAttribute($context["option"], "default", []))), "html", null, true); echo "\" data-default-color=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["option"], "default", []), "html", null, true); echo "\" style=\"display: none;\"> "; } // line 66 echo " </td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 69 echo " </table> </div> </div>"; } public function getTemplateName() { return "panel-colors.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 217 => 69, 209 => 66, 202 => 64, 194 => 63, 187 => 62, 184 => 61, 181 => 60, 178 => 59, 175 => 58, 172 => 57, 170 => 56, 166 => 54, 159 => 52, 151 => 51, 144 => 50, 141 => 49, 138 => 48, 135 => 47, 132 => 46, 129 => 45, 127 => 44, 122 => 42, 119 => 41, 115 => 40, 110 => 38, 106 => 37, 97 => 30, 86 => 28, 82 => 27, 78 => 26, 74 => 25, 68 => 24, 63 => 22, 59 => 20, 57 => 19, 54 => 18, 50 => 16, 48 => 15, 45 => 14, 43 => 11, 42 => 10, 41 => 9, 40 => 8, 39 => 7, 36 => 6, 34 => 3, 33 => 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 wrapper_options = [ {'label': strings.color_picker.background, 'name': 'background', 'schemes': ['normal'], 'default': '' }, {'label': strings.color_picker.border, 'name': 'border', 'schemes': ['normal'], 'default': '' }, ] %} {% set options = [ {'label': strings.color_picker.font_current, 'name': 'font_current', 'schemes': ['normal', 'hover'], 'default': '' }, {'label': strings.color_picker.background_current, 'name': 'background_current', 'schemes': ['normal', 'hover'], 'default': '' }, {'label': strings.color_picker.font_other, 'name': 'font_other', 'schemes': ['normal', 'hover'], 'default': '' }, {'label': strings.color_picker.background_other, 'name': 'background_other', 'schemes': ['normal', 'hover'], 'default': '' }, ] %} {% if slot_type != 'menus' %} {% set options = wrapper_options|merge(options) %} {% endif %} {% set css_class = css_class|default( 'js-wpml-ls-colorpicker' ) %} <div class=\"js-wpml-ls-panel-colors wpml-ls-panel-colors\"> <h4>{{ strings.color_picker.panel_title }}</h4> <label for=\"wpml-ls-{{ id }}-colorpicker-preset\">{{ strings.color_picker.label_color_preset }}</label> <select name=\"wpml-ls-{{ id }}-colorpicker-preset\" class=\"js-wpml-ls-colorpicker-preset\"> <option value=\"\">-- {{ strings.color_picker.select_option_choose }} --</option> {% for scheme_id, scheme in color_schemes %} <option value=\"{{ scheme_id }}\">{{ scheme.label }}</option> {% endfor %} </select> <div> <table> <tr> <td> </td> <th>{{ strings.color_picker.label_normal_scheme }}</th> <th>{{ strings.color_picker.label_hover_scheme }}</th> </tr> {% for option in options %} <tr> <td>{{ option.label }}</td> <td class=\"js-wpml-ls-colorpicker-wrapper\"> {% if 'normal' in option.schemes %} {% if name_base %} {% set input_name = name_base ~ '[' ~ option.name ~ '_normal]' %} {% else %} {% set input_name = option.name ~ '_normal' %} {% endif %} <input class=\"{{ css_class }} js-wpml-ls-color-{{ option.name }}_normal\" type=\"text\" size=\"7\" id=\"wpml-ls-{{ id }}-{{ option.name }}-normal\" name=\"{{ input_name }}\" value=\"{{ slot_settings[ option.name ~ \"_normal\" ]|default( option.default ) }}\" data-default-color=\"{{ option.default }}\" style=\"display: none;\"> {% endif %} </td> <td class=\"js-wpml-ls-colorpicker-wrapper\"> {% if 'hover' in option.schemes %} {% if name_base %} {% set input_name = name_base ~ '[' ~ option.name ~ '_hover]' %} {% else %} {% set input_name = option.name ~ '_hover' %} {% endif %} <input class=\"{{ css_class }} js-wpml-ls-color-{{ option.name }}_hover\" type=\"text\" size=\"7\" id=\"wpml-ls-{{ id }}-{{ option.name }}-hover\" name=\"{{ input_name }}\" value=\"{{ slot_settings[ option.name ~ \"_hover\" ]|default( option.default ) }}\" data-default-color=\"{{ option.default }}\" style=\"display: none;\"> {% endif %} </td> </tr> {% endfor %} </table> </div> </div>", "panel-colors.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/panel-colors.twig"); } } 39/39d0e832974ee4376a1032d9a504871500be8103861462baefab17e91b5c1f02.php 0000775 00000024434 14720466120 0016005 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_b153c057533de3a7f97d888489c3cb45d7bdacb46414ab82dc26a42abcb3b062 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(((($context["css_classes_link"] ?? null) . " ") . $this->getAttribute($this->getAttribute(($context["language"] ?? null), "backward_compatibility", []), "css_classes_a", []))); // line 6 echo " "; // line 7 $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 8 echo " "; ob_start(); // line 9 echo " <span class=\""; echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "css_classes", []), "html", null, true); echo " wpml-ls-item-legacy-post-translations\"> <a href=\""; // line 10 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 11 $this->loadTemplate("flag.twig", "template.twig", 11)->display($context); // line 13 if (($this->getAttribute($context["language"], "is_current", []) && ($this->getAttribute($context["language"], "native_name", []) || $this->getAttribute($context["language"], "display_name", [])))) { // line 15 $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 16 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 20 if ($this->getAttribute($context["language"], "native_name", [])) { // line 21 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 24 if (($this->getAttribute($context["language"], "display_name", []) && ($this->getAttribute($context["language"], "display_name", []) != $this->getAttribute($context["language"], "native_name", [])))) { // line 25 echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true); echo "\">"; // line 26 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 27 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "display_name", []), "html", null, true); // 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 "</span>"; } } // line 33 echo "</a> </span> "; echo trim(preg_replace('/>\s+</', '><', ob_get_clean())); ++$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; } public function getTemplateName() { return "template.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 124 => 33, 120 => 29, 114 => 28, 112 => 27, 106 => 26, 102 => 25, 100 => 24, 91 => 21, 89 => 20, 82 => 16, 80 => 15, 78 => 13, 76 => 11, 70 => 10, 65 => 9, 62 => 8, 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 = (css_classes_link ~ ' ' ~ language.backward_compatibility.css_classes_a)|trim %} {% for code, language in languages %} {% spaceless %} <span class=\"{{ language.css_classes }} wpml-ls-item-legacy-post-translations\"> <a href=\"{{ language.url }}\" class=\"{{ css_classes_link }}\"> {% include 'flag.twig' %} {%- if language.is_current and (language.native_name or language.display_name) -%} {%- set current_language_name = language.native_name|default(language.display_name) -%} <span class=\"{{ css_classes_native }}\">{{- current_language_name -}}</span> {%- else -%} {%- if language.native_name -%} <span class=\"{{ css_classes_native }}\" lang=\"{{ language.code }}\">{{- language.native_name -}}</span> {%- endif -%} {%- if language.display_name and (language.display_name != language.native_name) -%} <span class=\"{{ css_classes_display }}\"> {%- if language.native_name -%}<span class=\"{{ css_classes_bracket }}\"> (</span>{%- endif -%} {{- language.display_name -}} {%- if language.native_name -%}<span class=\"{{ css_classes_bracket }}\">)</span>{%- endif -%} </span> {%- endif -%} {%- endif -%} </a> </span> {% endspaceless %} {%- endfor -%} ", "template.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-post-translations/template.twig"); } } 3e/3eb849c1a3f18c20d60f2b441b7dbe291fd20a981a0428251ef95b5a3be2f145.php 0000644 00000010131 14720466120 0016414 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; /* flag.twig */ class __TwigTemplate_91d59b65218edd7b0f94251e03da56a02c033563b3853805bded08e870487c5e 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 if ($this->getAttribute(($context["language"] ?? null), "flag_url", [])) { // line 2 echo " "; if (($this->getAttribute(($context["language"] ?? null), "flag_width", []) > 0)) { // line 3 echo " "; $context["flag_width"] = sprintf("width=%s", $this->getAttribute(($context["language"] ?? null), "flag_width", [])); // line 4 echo " "; } // line 5 echo " "; if (($this->getAttribute(($context["language"] ?? null), "flag_height", []) > 0)) { // line 6 echo " "; $context["flag_height"] = sprintf("height=%s", $this->getAttribute(($context["language"] ?? null), "flag_height", [])); // line 7 echo " "; } // line 8 echo " <img class=\""; // line 9 echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true); echo "\" src=\""; // line 10 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["language"] ?? null), "flag_url", []), "html", null, true); echo "\" alt=\""; // line 11 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["language"] ?? null), "flag_alt", []), "html", null, true); echo "\" "; // line 12 echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_width"] ?? null), "html", null, true); echo " "; // line 13 echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_height"] ?? null), "html", null, true); echo " />"; } } public function getTemplateName() { return "flag.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 71 => 13, 67 => 12, 63 => 11, 59 => 10, 55 => 9, 52 => 8, 49 => 7, 46 => 6, 43 => 5, 40 => 4, 37 => 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("{% if language.flag_url %} {% if language.flag_width > 0 %} {% set flag_width = 'width=%s'|format(language.flag_width) %} {% endif %} {% if language.flag_height > 0 %} {% set flag_height = 'height=%s'|format(language.flag_height) %} {% endif %} <img class=\"{{ css_classes_flag }}\" src=\"{{ language.flag_url }}\" alt=\"{{ language.flag_alt }}\" {{ flag_width }} {{ flag_height }} /> {%- endif -%}", "flag.twig", "/var/www/xthruster/html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/flag.twig"); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка