Файловый менеджер - Редактировать - /home/kunzqhe/photostocker/2/cache.tar
Ðазад
wpml/twig/15/15ff70fadf1c8a1668f7c4194659bbba23c33daa57832300744d717001589163.php 0000604 00000007244 15151161224 0017727 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_a565238747e025be6f25badbac3ab7e379bc4d5bef8897a2cb522f316f050abe 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("", "section-footer.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-footer.twig"); } } wpml/twig/15/15dc0e6cf836e897231990bb0fa9afef9488bfee0b722d6d1aa99f908a728a03.php 0000604 00000020732 15151161224 0020501 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_a29f6f9d1a6577b3a81b34a91b1a9bc1a12aa74ba927d49f9002bbf2152dacf9 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(function () { return ''; }); // 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("", "template.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-post-translations/template.twig"); } } wpml/twig/e1/e1679ae64cb57258aa369e50ac8db21e14fcb360448ffa62822159db77167299.php 0000604 00000032750 15151161224 0020176 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_977dd073e41281481457a00cfae2d5ad9159e63e26e582b509f2ad395927f20f 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("", "panel-colors.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/panel-colors.twig"); } } wpml/twig/71/71ea1638e6f41475ff70ba7702b9b4ee2fbc3c88ee734033abffc382d6fb445f.php 0000604 00000022563 15151161224 0020552 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_ebb1b27ec5a0492e9821707b2dc60b64bed0ba6ef30799a9d700a5f05798439b 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["current_language"] = $this->getAttribute(($context["languages"] ?? null), ($context["current_language_code"] ?? null), [], "array"); // line 2 $context["css_classes_flag"] = \WPML\Core\twig_trim_filter(("wpml-ls-flag " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_flag", []))); // line 3 $context["css_classes_native"] = \WPML\Core\twig_trim_filter(("wpml-ls-native " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_native", []))); // line 4 $context["css_classes_display"] = \WPML\Core\twig_trim_filter(("wpml-ls-display " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_display", []))); // line 5 $context["css_classes_bracket"] = \WPML\Core\twig_trim_filter(("wpml-ls-bracket " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_bracket", []))); // line 6 echo " <div \t class=\""; // line 8 echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes"] ?? null), "html", null, true); echo " wpml-ls-legacy-dropdown js-wpml-ls-legacy-dropdown\""; 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> \t\t<li tabindex=\"0\" class=\""; // line 11 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["current_language"] ?? null), "css_classes", []), "html", null, true); echo " wpml-ls-item-legacy-dropdown\"> \t\t\t<a href=\"#\" class=\""; // line 12 echo \WPML\Core\twig_escape_filter($this->env, \WPML\Core\twig_trim_filter(("js-wpml-ls-item-toggle wpml-ls-item-toggle " . $this->getAttribute($this->getAttribute(($context["current_language"] ?? null), "backward_compatibility", []), "css_classes_a", []))), "html", null, true); echo "\"> "; // line 13 $this->loadTemplate("flag.twig", "template.twig", 13)->display(twig_array_merge($context, ["language" => ($context["current_language"] ?? null), "css_classes_flag" => ($context["css_classes_flag"] ?? null)])); // line 15 if (($this->getAttribute(($context["current_language"] ?? null), "display_name", []) || $this->getAttribute(($context["current_language"] ?? null), "native_name", []))) { // line 16 $context["current_language_name"] = (($this->getAttribute(($context["current_language"] ?? null), "display_name", [], "any", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute(($context["current_language"] ?? null), "display_name", []), $this->getAttribute(($context["current_language"] ?? null), "native_name", []))) : ($this->getAttribute(($context["current_language"] ?? null), "native_name", []))); // line 17 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>"; } // line 19 echo "</a> \t\t\t<ul class=\"wpml-ls-sub-menu\"> \t\t\t\t"; // line 22 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; foreach ($context['_seq'] as $context["_key"] => $context["language"]) { if ( !$this->getAttribute($context["language"], "is_current", [])) { // line 23 echo " \t\t\t\t\t<li class=\""; // line 24 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "css_classes", []), "html", null, true); echo "\"> \t\t\t\t\t\t<a href=\""; // line 25 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 26 $this->loadTemplate("flag.twig", "template.twig", 26)->display($context); // line 28 if ($this->getAttribute($context["language"], "native_name", [])) { // line 29 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 31 if (($this->getAttribute($context["language"], "display_name", []) && ($this->getAttribute($context["language"], "display_name", []) != $this->getAttribute($context["language"], "native_name", [])))) { // line 32 echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true); echo "\">"; // line 33 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 34 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "display_name", []), "html", null, true); // line 35 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 36 echo "</span>"; } // line 38 echo "</a> \t\t\t\t\t</li> \t\t\t\t"; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 42 echo "\t\t\t</ul> \t\t</li> \t</ul> </div> "; } public function getTemplateName() { return "template.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 157 => 42, 144 => 38, 141 => 36, 135 => 35, 133 => 34, 127 => 33, 123 => 32, 121 => 31, 112 => 29, 110 => 28, 108 => 26, 102 => 25, 98 => 24, 95 => 23, 84 => 22, 79 => 19, 72 => 17, 70 => 16, 68 => 15, 66 => 13, 62 => 12, 58 => 11, 46 => 8, 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("", "template.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-dropdown/template.twig"); } } wpml/twig/06/06a1da5304833d626e7f5a097c746c1668523a4f7c00b9ec2dec7d569e5a598d.php 0000604 00000015231 15151161224 0020167 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_0d89b4fac417c0892c26daef4dabff864c7febdc74d7f0a7fa652b92ca0b5699 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("", "table-slot-row.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/table-slot-row.twig"); } } wpml/twig/f3/f332d72f946191cc500f77441d1bd06afc47bb39e62794ecf81300ed5c17d1ab.php 0000604 00000010336 15151161224 0020363 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_c32c0cf619f2b11b4ae94cca196f4ef7b4bc3969b7cda215b3670a3508b87dd8 extends \WPML\Core\Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 echo "<p>"; echo $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "section_description", []); echo "</p> <p> <input type=\"checkbox\" id=\"wpml-ls-show-in-shortcode-actions\" name=\"statics[shortcode_actions][show]\" value=\"1\" class=\"js-wpml-ls-toggle-slot js-wpml-ls-trigger-save\" data-target=\".js-wpml-ls-shortcode-actions-toggle-target\" "; // line 5 if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "shortcode_actions", []), "show", [])) { echo "checked=\"checked\""; } echo "/> <label for=\"wpml-ls-show-in-shortcode-actions\">"; // line 7 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "show", []), "html", null, true); echo "</label> </p> <div class=\"hidden\"> "; // line 11 $context["slot_settings"] = []; // line 12 echo " "; $context["slot_settings"] = \WPML\Core\twig_array_merge(($context["slot_settings"] ?? null), ["shortcode_actions" => $this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "footer", [])]); // line 13 echo " "; // line 14 $this->loadTemplate("table-slots.twig", "section-shortcode-action.twig", 14)->display(twig_array_merge($context, ["slot_type" => "statics", "slots_settings" => // line 17 ($context["slot_settings"] ?? null), "slug" => "shortcode_actions"])); // line 21 echo " </div> <div class=\"js-wpml-ls-shortcode-actions-toggle-target alignleft"; // line 24 if (($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "statics", []), "shortcode_actions", []), "show", []) != 1)) { echo " hidden"; } echo "\"> <button class=\"js-wpml-ls-open-dialog button-secondary\" data-target=\"#wpml-ls-slot-list-statics-shortcode_actions\" name=\"wpml-ls-customize\">"; // line 27 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "customize_button_label", []), "html", null, true); echo "</button> </div>"; } public function getTemplateName() { return "section-shortcode-action.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 78 => 27, 70 => 24, 65 => 21, 63 => 17, 62 => 14, 59 => 13, 56 => 12, 54 => 11, 47 => 7, 40 => 5, 32 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("", "section-shortcode-action.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-shortcode-action.twig"); } } wpml/twig/95/95bd221bc04ee793934d4a670fcedf6c9ddb8d16d7d675d68e059c89da58fed5.php 0000604 00000005367 15151161224 0020703 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-slot-edit-button.twig */ class __TwigTemplate_c4ae57e0a1972bb2ee24bdc4f49d575cc5478744b47a9d780ccd8e61c8f04617 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 ob_start(function () { return ''; }); // line 2 if ((($context["action"] ?? null) == "edit")) { // line 3 echo "\t"; $context["class"] = "otgs-ico-edit"; } else { // line 5 echo "\t"; $context["class"] = "otgs-ico-add"; } // line 7 echo " <p class=\"wpml-ls-slot-management-link-wrapper\"> \t<a href=\""; // line 9 echo \WPML\Core\twig_escape_filter($this->env, ($context["url"] ?? null), "html", null, true); echo "\" class=\"js-wpml-ls-slot-management-link button-secondary\"> \t\t<span class=\""; // line 10 echo \WPML\Core\twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true); echo "\"></span> "; echo \WPML\Core\twig_escape_filter($this->env, ($context["label"] ?? null), "html", null, true); echo "</a> </p> "; echo trim(preg_replace('/>\s+</', '><', ob_get_clean())); } public function getTemplateName() { return "layout-slot-edit-button.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 52 => 10, 48 => 9, 44 => 7, 40 => 5, 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("", "layout-slot-edit-button.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-slot-edit-button.twig"); } } wpml/twig/a9/a9710cd9ee05ffaacf8f1d352d1b4451f8a963f755264ee7464a122e07788229.php 0000604 00000021402 15151161224 0020252 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_6c5e1d8ea613cf743c8a2b688930879a5f29401bb3a72144abff0e4369140c1a extends \WPML\Core\Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 echo "<form id=\"wpml-ls-settings-form\" name=\"wpml_ls_settings_form\"> \t<input type=\"hidden\" name=\"wpml-ls-refresh-on-browser-back-button\" id=\"wpml-ls-refresh-on-browser-back-button\" value=\"no\"> "; // line 5 if ($this->getAttribute(($context["notifications"] ?? null), "css_not_loaded", [])) { // line 6 echo " <div class=\"wpml-ls-message notice notice-info\"> <p>"; // line 7 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["notifications"] ?? null), "css_not_loaded", []), "html", null, true); echo "</p> </div> "; } // line 10 echo " <div id=\"wpml-language-switcher-options\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3>"; // line 13 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "section_title", []), "html", null, true); echo "</h3> \t\t\t<p>"; // line 14 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "section_description", []), "html", null, true); echo "</p> </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> "; // line 18 $this->loadTemplate("section-options.twig", "layout-main.twig", 18)->display($context); // line 19 echo " </div> </div> <div id=\"wpml-language-switcher-menus\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> "; // line 25 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "section_title", []), "html", null, true); echo " </h3> "; // line 27 $this->loadTemplate("save-notification.twig", "layout-main.twig", 27)->display($context); // line 28 echo " </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> "; // line 31 $this->loadTemplate("section-menus.twig", "layout-main.twig", 31)->display($context); // line 32 echo " </div> </div> <div id=\"wpml-language-switcher-sidebars\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> "; // line 38 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "section_title", []), "html", null, true); echo " </h3> "; // line 40 $this->loadTemplate("save-notification.twig", "layout-main.twig", 40)->display($context); // line 41 echo " </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> "; // line 44 $this->loadTemplate("section-sidebars.twig", "layout-main.twig", 44)->display($context); // line 45 echo " </div> </div> <div id=\"wpml-language-switcher-footer\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> "; // line 51 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "footer", []), "section_title", []), "html", null, true); echo " "; // line 52 $this->loadTemplate("tooltip.twig", "layout-main.twig", 52)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "show_in_footer", [])])); // line 53 echo " </h3> </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> "; // line 57 $this->loadTemplate("section-footer.twig", "layout-main.twig", 57)->display($context); // line 58 echo " </div> </div> <div id=\"wpml-language-switcher-post-translations\" class=\"js-wpml-ls-section wpml-section\"> <div class=\"wpml-section-header\"> <h3> "; // line 65 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "section_title", []), "html", null, true); echo " "; // line 66 $this->loadTemplate("tooltip.twig", "layout-main.twig", 66)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "section_post_translations", [])])); // line 67 echo " </h3> </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> "; // line 71 $this->loadTemplate("section-post-translations.twig", "layout-main.twig", 71)->display($context); // line 72 echo " </div> </div> <div id=\"wpml-language-switcher-shortcode-action\" class=\"js-wpml-ls-section wpml-section\" "; // line 76 if ( !($context["setup_complete"] ?? null)) { echo " style=\"display:none;\""; } echo "> <div class=\"wpml-section-header\"> <h3> "; // line 79 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "section_title", []), "html", null, true); echo " "; // line 81 echo " </h3> "; // line 82 $this->loadTemplate("save-notification.twig", "layout-main.twig", 82)->display($context); // line 83 echo " </div> <div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\"> "; // line 86 $this->loadTemplate("section-shortcode-action.twig", "layout-main.twig", 86)->display($context); // line 87 echo " </div> </div> "; // line 90 $this->loadTemplate("setup-wizard-buttons.twig", "layout-main.twig", 90)->display($context); // line 91 echo " "; // line 92 $this->loadTemplate("dialog-box.twig", "layout-main.twig", 92)->display($context); // line 93 echo " </form>"; } public function getTemplateName() { return "layout-main.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 198 => 93, 196 => 92, 193 => 91, 191 => 90, 186 => 87, 184 => 86, 179 => 83, 177 => 82, 174 => 81, 170 => 79, 162 => 76, 156 => 72, 154 => 71, 148 => 67, 146 => 66, 142 => 65, 133 => 58, 131 => 57, 125 => 53, 123 => 52, 119 => 51, 111 => 45, 109 => 44, 104 => 41, 102 => 40, 97 => 38, 89 => 32, 87 => 31, 82 => 28, 80 => 27, 75 => 25, 67 => 19, 65 => 18, 58 => 14, 54 => 13, 49 => 10, 43 => 7, 40 => 6, 38 => 5, 32 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("", "layout-main.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-main.twig"); } } wpml/twig/6e/6eb06051fdab407e52035f3455ac43b0ff1115d58fdb20825e40ac6fa31c2946.php 0000604 00000006671 15151161224 0020264 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_e9208fc7b264294622fefa09040ce5ea70dee68c43be7b18997428bf8ac64826 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("", "slot-subform-statics-footer.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-footer.twig"); } } wpml/twig/fd/fdcadfdcd905c51dc3c99d735be68d12bc9c19df3939832c70f28a76bb932ca4.php 0000604 00000032132 15151161224 0021055 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_bf6dd732e33a3e3f45906259ea6587c71354ff838e8a0c631b570fa84d5ef814 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("", "section-options.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-options.twig"); } } wpml/twig/20/2052526334f3bed0f98790d3223b6b92acc4f108d6e11bcf396029990db46426.php 0000604 00000013403 15151161224 0017720 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_b88f1d411c99d2d22a098bddd6fdfcf43fbe03028c9df4faaa7dc48211acaef9 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("", "slot-subform-sidebars.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-sidebars.twig"); } } wpml/twig/61/614175b8b577334ed89b95644e4a3474a0f6a6fba5ae219d1a10d4497c37040a.php 0000604 00000011154 15151161224 0020005 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_a7b0350a3c17aae24dcdc74517cd7cad62cb0e0ae5d89dd35ad02723e41623f6 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("", "dropdown-sidebars.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-sidebars.twig"); } } wpml/twig/5c/5c0bbf26943f8b71dfd57f4e9e7fe7e167b7dd9b73d36ab3ef02457c91aa329f.php 0000604 00000007232 15151161224 0020730 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_a75148e568d9f1ee2442adae4c4488d144a03bce1e752dcf1c675296bb029d97 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("", "slot-subform-statics-shortcode_actions.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-shortcode_actions.twig"); } } wpml/twig/b8/b8019b3729d009cd1dff5be0f1ef136d3a1781b903d030c00bc38ddbc072aa9f.php 0000604 00000005420 15151161224 0020551 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_36a899aeee88c2f59ed4c54ffaa110ecb73095c5e5fef01a454011b768e0c1dd 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("", "setup-wizard-buttons.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/setup-wizard-buttons.twig"); } } wpml/twig/82/82934b16708cdcbe6338df42503f1e51e2566d023b6e062ca6ff6b9d619d7876.php 0000604 00000005003 15151161224 0020110 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_e616128c00112070ae42c6a92c1a65f39d6b1d9f37c4837ed3a3d21f53764eed 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("", "tooltip.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/tooltip.twig"); } } wpml/twig/7e/7e08539226d3ba1431b52687c60bc7e196b18703182337c7c089f90b403757ae.php 0000604 00000020665 15151161224 0017611 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_d6619d741d4d196877882caaa4ae05b83ca48a15a570266f31574c12a9826876 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("", "dropdown-templates.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-templates.twig"); } } wpml/twig/4e/4e35ee1fa18eaa0df2867d55da5e464a2023413a3c747d1abb9a58a7672386e9.php 0000604 00000010526 15151161224 0020372 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_f1eed9f94f05183f545c7cd88623c9ca49cbd94bf70df27cf8c452800ec99de9 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("", "radio-position-menu.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/radio-position-menu.twig"); } } wpml/twig/80/80e607497980d28063158f87d33aebcc11c9d7b25fc14b5bd6fc531a8ef1cd01.php 0000604 00000003340 15151161224 0020311 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_d510e3202e4211dd5e797bd8f10a5648b46667d60be53f336e61a882aa0cf1c0 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("", "save-notification.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/save-notification.twig"); } } wpml/twig/2a/2a6472a65a6615b5600fc200a7ab3d8294bdfea5e5b85f63c452458a6184b867.php 0000604 00000006134 15151161224 0020144 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_7c49ed91bf994feda7423e3844b8aac4bde860a5aa8d19ca5a9c1ccb404883f0 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("", "layout-reset.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-reset.twig"); } } wpml/twig/dd/dd1778560b01eb7f7b642fc13b0a192ca3356c85d2b49db692396a4d932f1603.php 0000604 00000007166 15151161224 0020234 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_6993d948392215f853e593ae4a61afa7211bd2a596ce9ef9a0ddd9440bae7b84 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("", "flag.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/flag.twig"); } } wpml/twig/6c/6c9dedc99988c7de901f60c6629d8051780b60d18da7479dfdf34f9f1d89d26e.php 0000604 00000027575 15151161224 0020504 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_6af330de14e40f4feac2f64ab77bf3f2b1903694e34b23b6b26cd29f815f1684 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("", "checkboxes-includes.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/checkboxes-includes.twig"); } } wpml/twig/a5/a5bf3d55779d88daf1db06d576d5bde51dd2703ac8c2a8f76ea5e8cf5d4488cb.php 0000604 00000005147 15151161224 0021065 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_e45ce673658e4dad22ce7f8ed64df4028ecf5693e58a4a19c9ed35d5c91c30ac 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("", "dialog-box.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dialog-box.twig"); } } wpml/twig/d3/d34fd0641a0c56df5943dc9c91a8466f674a22c32ed1ddf6ed1d7f993504228a.php 0000604 00000015620 15151161224 0020405 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_acd3251f3c732f856c3d6458ec9a4145e69d76b157258f12484dc71864d8eec2 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("", "slot-subform-statics-post_translations.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-post_translations.twig"); } } wpml/twig/26/26bd4933dccadbd0b90c3bcc3eb780999bb1055a7834242731d95b39417543b4.php 0000604 00000022616 15151161224 0020147 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_f4362ebc7e826f2b06ecbe6179ce0d73db0cee343557ba509f7ce2ebffde016d 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["current_language"] = $this->getAttribute(($context["languages"] ?? null), ($context["current_language_code"] ?? null), [], "array"); // line 2 $context["css_classes_flag"] = \WPML\Core\twig_trim_filter(("wpml-ls-flag " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_flag", []))); // line 3 $context["css_classes_native"] = \WPML\Core\twig_trim_filter(("wpml-ls-native " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_native", []))); // line 4 $context["css_classes_display"] = \WPML\Core\twig_trim_filter(("wpml-ls-display " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_display", []))); // line 5 $context["css_classes_bracket"] = \WPML\Core\twig_trim_filter(("wpml-ls-bracket " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_bracket", []))); // 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-dropdown-click js-wpml-ls-legacy-dropdown-click\""; 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> \t\t<li class=\""; // line 10 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["current_language"] ?? null), "css_classes", []), "html", null, true); echo " wpml-ls-item-legacy-dropdown-click\"> \t\t\t<a href=\"#\" class=\""; // line 12 echo \WPML\Core\twig_escape_filter($this->env, \WPML\Core\twig_trim_filter(("js-wpml-ls-item-toggle wpml-ls-item-toggle " . $this->getAttribute($this->getAttribute(($context["current_language"] ?? null), "backward_compatibility", []), "css_classes_a", []))), "html", null, true); echo "\"> "; // line 13 $this->loadTemplate("flag.twig", "template.twig", 13)->display(twig_array_merge($context, ["language" => ($context["current_language"] ?? null), "css_classes_flag" => ($context["css_classes_flag"] ?? null)])); // line 15 if (($this->getAttribute(($context["current_language"] ?? null), "display_name", []) || $this->getAttribute(($context["current_language"] ?? null), "native_name", []))) { // line 16 $context["current_language_name"] = (($this->getAttribute(($context["current_language"] ?? null), "display_name", [], "any", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute(($context["current_language"] ?? null), "display_name", []), $this->getAttribute(($context["current_language"] ?? null), "native_name", []))) : ($this->getAttribute(($context["current_language"] ?? null), "native_name", []))); // line 17 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>"; } // line 19 echo "</a> \t\t\t<ul class=\"js-wpml-ls-sub-menu wpml-ls-sub-menu\"> \t\t\t\t"; // line 22 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; foreach ($context['_seq'] as $context["_key"] => $context["language"]) { if ( !$this->getAttribute($context["language"], "is_current", [])) { // line 23 echo " \t\t\t\t\t<li class=\""; // line 24 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "css_classes", []), "html", null, true); echo "\"> \t\t\t\t\t\t<a href=\""; // line 25 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 26 $this->loadTemplate("flag.twig", "template.twig", 26)->display($context); // line 28 if ($this->getAttribute($context["language"], "native_name", [])) { // line 29 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 31 if (($this->getAttribute($context["language"], "display_name", []) && ($this->getAttribute($context["language"], "display_name", []) != $this->getAttribute($context["language"], "native_name", [])))) { // line 32 echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true); echo "\">"; // line 33 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 34 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "display_name", []), "html", null, true); // line 35 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 36 echo "</span>"; } // line 38 echo "</a> \t\t\t\t\t</li> \t\t\t\t"; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 42 echo "\t\t\t</ul> \t\t</li> \t</ul> </div> "; } public function getTemplateName() { return "template.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 157 => 42, 144 => 38, 141 => 36, 135 => 35, 133 => 34, 127 => 33, 123 => 32, 121 => 31, 112 => 29, 110 => 28, 108 => 26, 102 => 25, 98 => 24, 95 => 23, 84 => 22, 79 => 19, 72 => 17, 70 => 16, 68 => 15, 66 => 13, 62 => 12, 57 => 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("", "template.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-dropdown-click/template.twig"); } } wpml/twig/ae/aec4788800b48eab12717d221f3ef499a7659a5dc48e6e956eac19ddc5741b8e.php 0000604 00000021543 15151161224 0020567 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_fa49cdf7baaa2d3ef6d7dc21ebe37c5552ecde91bccbb96864da9328dcc954be 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("", "template.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/template.twig"); } } wpml/twig/69/69fabc7eaca16e30fccf98dfd9651d8603dd62f383962fdab9511c98a6967a99.php 0000604 00000007560 15151161224 0020621 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_bf45087aa9b95e8abf2e7627cf5e0bf7df65c52a9112b97c36c071d6369e5542 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("", "section-post-translations.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-post-translations.twig"); } } wpml/twig/3a/3a16ec0c0b78011e25cd4a3146297e2e966869d24de6e1e51372823924f28492.php 0000604 00000014073 15151161224 0017661 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_b8e5938ee86d07a5292afc2a12bd1068e761ff07614eb88331943d33cc923437 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("", "table-slots.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/table-slots.twig"); } } wpml/twig/55/55907178189340644bdb280b896c9bc681a164b245c7645403aad3d1591a19f6.php 0000604 00000011521 15151161224 0017521 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_700f7a3a39a2261194e57439914eda864d8f50c86ee4f664142af3d18ba22319 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("", "slot-subform-menus.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-menus.twig"); } } wpml/twig/55/55118d2ebe0c5371556e1f83577237e53a8769438a644247119371e7f8a30db9.php 0000604 00000007166 15151161224 0017473 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_1a0d3b8a7eb5da3e9ec191e538c804558f2940b5c26bda332ca416cd9d5efe63 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("", "flag.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/flag.twig"); } } wpml/twig/03/034cb936530375f2b1ef1baf80b3a1556623afa67dc80cd0c1b7323367ec68cc.php 0000604 00000004627 15151161224 0020265 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_07ca644a3284af52b77e085a9f6a5c437d7fab75d8fa1198716af3ac66537a14 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("", "preview.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/preview.twig"); } } wpml/twig/8c/8c59c0c880a8130f7c82d2d7fdf05ad555b852e380b30f5a93e147932a2838ac.php 0000604 00000011471 15151161224 0020244 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_5d6549054a41fb9e9690eb9b4ca82e7fbcea4ecc464a51df83a0dc0fea4f7cce 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("", "radio-hierarchical-menu.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/radio-hierarchical-menu.twig"); } } wpml/twig/46/46ca4cbfd87f2bec0f6b6c8fb3a92a417a9631779de6db010c9db5fde6760222.php 0000604 00000006752 15151161224 0020627 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_42d1a041d6f2424666e69f5297963807f569d891b64294104f4d44fc50adda50 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("", "button-add-new-ls.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/button-add-new-ls.twig"); } } wpml/twig/36/361a0cb885c22342b73ac975a1a4845963af345fbd247da678a8b4c304662a8e.php 0000604 00000011704 15151161224 0020071 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_5960ca1bd40f42a7bab7d7fbe6d20920eebb71066b056f26de1961cda9f26743 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("", "section-sidebars.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-sidebars.twig"); } } wpml/twig/04/04a77c0484c8e2c2f100a539045c91c5dfc911bbb819a3b1b027a988d94a2b0d.php 0000604 00000022563 15151161224 0020204 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_ae69c2cc9707a98404599cb2eb6458d71a901162afa6f29957781966d34145ae 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["current_language"] = $this->getAttribute(($context["languages"] ?? null), ($context["current_language_code"] ?? null), [], "array"); // line 2 $context["css_classes_flag"] = \WPML\Core\twig_trim_filter(("wpml-ls-flag " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_flag", []))); // line 3 $context["css_classes_native"] = \WPML\Core\twig_trim_filter(("wpml-ls-native " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_native", []))); // line 4 $context["css_classes_display"] = \WPML\Core\twig_trim_filter(("wpml-ls-display " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_display", []))); // line 5 $context["css_classes_bracket"] = \WPML\Core\twig_trim_filter(("wpml-ls-bracket " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_bracket", []))); // line 6 echo " <div \t class=\""; // line 8 echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes"] ?? null), "html", null, true); echo " wpml-ls-legacy-dropdown js-wpml-ls-legacy-dropdown\""; 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> \t\t<li tabindex=\"0\" class=\""; // line 11 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["current_language"] ?? null), "css_classes", []), "html", null, true); echo " wpml-ls-item-legacy-dropdown\"> \t\t\t<a href=\"#\" class=\""; // line 12 echo \WPML\Core\twig_escape_filter($this->env, \WPML\Core\twig_trim_filter(("js-wpml-ls-item-toggle wpml-ls-item-toggle " . $this->getAttribute($this->getAttribute(($context["current_language"] ?? null), "backward_compatibility", []), "css_classes_a", []))), "html", null, true); echo "\"> "; // line 13 $this->loadTemplate("flag.twig", "template.twig", 13)->display(twig_array_merge($context, ["language" => ($context["current_language"] ?? null), "css_classes_flag" => ($context["css_classes_flag"] ?? null)])); // line 15 if (($this->getAttribute(($context["current_language"] ?? null), "display_name", []) || $this->getAttribute(($context["current_language"] ?? null), "native_name", []))) { // line 16 $context["current_language_name"] = (($this->getAttribute(($context["current_language"] ?? null), "display_name", [], "any", true, true)) ? (\WPML\Core\_twig_default_filter($this->getAttribute(($context["current_language"] ?? null), "display_name", []), $this->getAttribute(($context["current_language"] ?? null), "native_name", []))) : ($this->getAttribute(($context["current_language"] ?? null), "native_name", []))); // line 17 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>"; } // line 19 echo "</a> \t\t\t<ul class=\"wpml-ls-sub-menu\"> \t\t\t\t"; // line 22 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; foreach ($context['_seq'] as $context["_key"] => $context["language"]) { if ( !$this->getAttribute($context["language"], "is_current", [])) { // line 23 echo " \t\t\t\t\t<li class=\""; // line 24 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "css_classes", []), "html", null, true); echo "\"> \t\t\t\t\t\t<a href=\""; // line 25 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 26 $this->loadTemplate("flag.twig", "template.twig", 26)->display($context); // line 28 if ($this->getAttribute($context["language"], "native_name", [])) { // line 29 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 31 if (($this->getAttribute($context["language"], "display_name", []) && ($this->getAttribute($context["language"], "display_name", []) != $this->getAttribute($context["language"], "native_name", [])))) { // line 32 echo "<span class=\""; echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true); echo "\">"; // line 33 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 34 echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "display_name", []), "html", null, true); // line 35 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 36 echo "</span>"; } // line 38 echo "</a> \t\t\t\t\t</li> \t\t\t\t"; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 42 echo "\t\t\t</ul> \t\t</li> \t</ul> </div> "; } public function getTemplateName() { return "template.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 157 => 42, 144 => 38, 141 => 36, 135 => 35, 133 => 34, 127 => 33, 123 => 32, 121 => 31, 112 => 29, 110 => 28, 108 => 26, 102 => 25, 98 => 24, 95 => 23, 84 => 22, 79 => 19, 72 => 17, 70 => 16, 68 => 15, 66 => 13, 62 => 12, 58 => 11, 46 => 8, 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("", "template.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-dropdown/template.twig"); } } wpml/twig/04/04f5e161ff5a94f72e91cf2575cf9a55b8684ed4665ee89b16dfe4e0ccb6674a.php 0000604 00000021543 15151161224 0020517 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_5e337c25c0152f24528ba86de8bfa21737662b268b79b8f702daef77c8597ff6 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("", "template.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/template.twig"); } } wpml/twig/97/9796842b38b7f829ed64941036bcae04be6311391e6ac9171231cb23cda346c3.php 0000604 00000011070 15151161224 0020015 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_bab6ef197867e211da34dd3176b1437f068ed6d916323735f922a696b2270236 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("", "dropdown-menus.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-menus.twig"); } } wpml/twig/58/5878b05d7ec6f346e43d85fe2566003ecf146f9bfb4f3903f3ef6ea6f406909d.php 0000604 00000011564 15151161224 0020366 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_5234228061b4b5dbb651993961684d8583c4a00c6a24079d4abdcf4feba11a12 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("", "section-menus.twig", "/home/users/photoshopo_com/public_html/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-menus.twig"); } } config.php 0000644 00000000550 15151171063 0006522 0 ustar 00 <?php defined( 'ABSPATH' ) || exit; if(!defined('TF_CACHE_FW')){ define('TF_CACHE_FW','#TF_CACHE_FW#'); } if(!defined('TF_CACHE_TIME')){ define('TF_CACHE_TIME','#TF_CACHE_TIME#'); } if(!defined('TF_CACHE_RULES')){ define('TF_CACHE_RULES','#TF_CACHE_RULES#'); } if(!defined('TF_CACHE_IGNORE')){ define('TF_CACHE_IGNORE','#TF_CACHE_IGNORE#'); } class-themify-cache.php 0000644 00000104767 15151171063 0011105 0 ustar 00 <?php defined('ABSPATH') || exit; if (!class_exists('TFCache')) { if (!class_exists('Themify_Filesystem') && defined('TF_CACHE_FW')) { require_once dirname(TF_CACHE_FW) . '/class-themify-filesystem.php'; } /** * Class to work with post cache * * @package default */ class TFCache { const SEP = DIRECTORY_SEPARATOR; private static $cache_dir = null; public static $stopCache = false; private static $error = false; /** * Start Caching * * @param string $tag * @param integer $post_id * @param array $args * @param integer $time * * return boolean */ public static function start_cache($tag, $post_id = false, array $args = array(), $time = false) {//backward compatibility for addons return true; } public static function end_cache() {//backward compatibility for addons } /** * remove cache after some updates */ public static function remove_cache($item_id = 'blog', $type = false, $blog_id = false) { static $queue = array(); if (isset($queue['all'])) { return true; } if ($item_id === 'all') { $queue['all'] = true; $dir = self::get_cache_main_dir(); if (!Themify_Filesystem::is_dir($dir)) { return true; } return Themify_Filesystem::delete($dir); } $cache_dir = self::get_cache_blog_dir($blog_id); if (!isset($queue['blog']) && Themify_Filesystem::is_dir($cache_dir)) { if ($item_id === 'blog') { $queue['blog'] = true; return Themify_Filesystem::delete($cache_dir); } else { if ($type === false) { $the_post = wp_is_post_revision($item_id); if ($the_post) { $item_id = $the_post; } $post = get_post($item_id); if (empty($post)) { return true; } $type = $post->post_type; $post = null; } if (empty($type)) { return self::remove_cache(); } $k = $type . $item_id; if (!isset($queue[$k])) { $queue[$k] = true; $find = array(' post-' . $item_id); $item_id = (int) $item_id; $find[] = get_post_type($item_id) === 'page' ? ' page-id-' . $item_id : ' postid-' . $item_id; //if there is any html associated with updated post if ($type === 'comment' || $type === 'term' || $type === 'category') { $find[] = $type . '-' . $item_id; if ($type !== 'comment') { $find[] = $type === 'category' ? get_category_link($item_id) : get_term_link($item_id); $temp = get_term($item_id); $find[] = 'term-' . $temp->slug; $temp = null; } } @set_time_limit(0); $type = $item_id = null; if (!self::clear_recursive($cache_dir, $find)) { return self::remove_cache(); } } } } return true; } private static function clear_recursive($cache_dir, array $find) { $dirHandle = opendir($cache_dir); if (empty($dirHandle)) { return false; } while ($f = readdir($dirHandle)) { if ($f !== '.' && $f !== '..') { $item = rtrim($cache_dir, self::SEP) . self::SEP . $f; if (Themify_Filesystem::is_dir($item)) { self::clear_recursive($item, $find); } elseif (strpos($item, '.html', 5) !== false && strpos($item, '.html.gz', 5) === false && Themify_Filesystem::is_file($item)) { $content = file_get_contents($item, FALSE, NULL, 2000); if (!empty($content)) { foreach ($find as $v) { if (strpos($content, $v, 10) !== false) { Themify_Filesystem::delete($item, 'f'); Themify_Filesystem::delete($item . '.gz', 'f'); break; } } } $content = null; } } } closedir($dirHandle); $dirHandle = null; return true; } /** * init hooks to update cache */ public static function hooks() { add_action('save_post', array(__CLASS__, 'save'), 100, 3); add_action('deleted_post', array(__CLASS__, 'save'), 100, 1); add_action('comment_post', array(__CLASS__, 'comment_update'), 100, 2); add_action('deleted_comment', array(__CLASS__, 'comment_update'), 100, 2); add_action('wp_update_nav_menu', array(__CLASS__, 'menu_update'), 100); add_action('wp_update_nav_menu_item', array(__CLASS__, 'menu_update'), 100); add_action('activated_plugin', array(__CLASS__, 'plugin_active_deactive'), 100, 2); add_action('deactivated_plugin', array(__CLASS__, 'plugin_active_deactive'), 100, 2); add_action('admin_footer', array(__CLASS__, 'admin_check')); add_action('wp_ajax_themify_write_config', array(__CLASS__, 'ajax_write_wp_cache')); add_action('customize_save_after', array(__CLASS__, 'customizer')); add_action('switch_theme', array(__CLASS__, 'disable_cache'), 5); add_action('edit_term', array(__CLASS__, 'edit_term'), 100, 3); add_action('delete_term_taxonomy', array(__CLASS__, 'edit_term'), 100, 1); add_action('check_ajax_referer', array(__CLASS__, 'widget_update'), 100, 2); //for widgets order,there is no hook $metas = array('post', 'comment', 'term', 'user'); foreach ($metas as $m) { if ($m !== 'term' && $m !== 'user') { add_action('added_' . $m . '_meta', array(__CLASS__, 'meta_update'), 100, 4); } add_action('updated_' . $m . '_meta', array(__CLASS__, 'meta_update'), 100, 4); add_action('deleted_' . $m . '_meta', array(__CLASS__, 'meta_update'), 100, 4); } if (is_user_logged_in()) { add_action('admin_bar_menu', array(__CLASS__, 'cache_menu'), 100); if (isset($_GET['tf-cache']) && ($_GET['tf-cache'] === '2' || $_GET['tf-cache'] === '4')) { add_action('init', array(__CLASS__, 'check_clear'), 1); } } add_action('upgrader_process_complete', array(__CLASS__, 'themify_updated'), 10, 2); } /** * comment update */ public static function comment_update($comment_ID, $comment_approved) { $comment = get_comment($comment_ID); if (!empty($comment)) { self::remove_cache($comment->comment_post_ID, 'comment'); } } /** * plugin activatiion/deactivation */ public static function plugin_active_deactive($plugin, $network_wide) { $type = $network_wide ? 'all' : 'blog'; self::remove_cache($type); } /** * menu update */ public static function menu_update($_menu_id) { themify_clear_menu_cache(); remove_action('wp_update_nav_menu', array(__CLASS__, 'menu_update'), 100); remove_action('wp_update_nav_menu_item', array(__CLASS__, 'menu_update'), 100); self::remove_cache(); } public static function customizer($manager) { if (empty($manager)) { return; } $post_id = $manager->changeset_post_id(); if (!empty($post_id)) { self::remove_cache($post_id); } } public static function edit_term($term, $tt_id = null, $taxonomy = null) { if (empty($taxonomy)) { $temp = get_term($term); $taxonomy = $temp->taxonomy; $temp = null; } $type = $taxonomy === 'category' ? 'category' : 'term'; self::remove_cache($term, $type); } /** * meta update */ public static function meta_update($meta_id, $post_id, $meta_key, $meta_value) { if (!empty($post_id)) { $actions = explode('_', current_action()); self::remove_cache($post_id, $actions[1]); } } public static function widget_update($action, $result) { if ($result !== false && $action === 'save-sidebar-widgets') { self::remove_cache(); } } public static function save($post_id, $post = false, $update = true) { if ($update || current_action() === 'deleted_post') { self::remove_cache($post_id); } elseif (!is_object($post) || $post->post_status !== 'auto-draft') { self::remove_cache(); } } public static function get_current_url() { if (empty($_SERVER['REQUEST_URI']) || empty($_SERVER['HTTP_HOST'])) { return ''; } $protocol = is_ssl() ? 'https://' : 'http://'; return $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; } /** * will be called in advanced-cache.php before wp full core load,a lot of functions from wp api and FW functions are't available in in this function be carefull! */ public static function run() { if (self::$stopCache === true) { return; } if (!function_exists('wp_get_nocache_headers')) { add_action('init', array(__CLASS__, 'run'), 0); return; } self::$cache_dir = self::get_cache_main_dir(); if (Themify_Filesystem::mkdir(self::$cache_dir)) { $isMulti = is_multisite(); if ($isMulti !== false) { self::$cache_dir = self::get_cache_blog_dir(); } if ($isMulti === false || Themify_Filesystem::mkdir(self::$cache_dir, true)) { if (defined('TF_CACHE_RULES') && TF_CACHE_RULES) { $ignore = explode('|TF|', TF_CACHE_RULES); if (!empty($ignore) && !empty($_SERVER['HTTP_HOST'])) { $request = $_SERVER['REQUEST_URI']; $server = is_ssl() ? 'https://' : 'http://'; $server .= $_SERVER['HTTP_HOST']; $del = '~'; foreach ($ignore as $r) { $r = str_replace($server, '', $r); $p = $del . $r . $del; if (preg_match($p, $request)) { self::$cache_dir = null; return; } } $request = $server = $ignore = null; } } $dir = null; self::$cache_dir = self::get_current_cache('', true); if (self::is_safari()) { self::$cache_dir .= '_safari'; } self::$cache_dir .= '.html'; if (Themify_Filesystem::is_file(self::$cache_dir)) { $ftime = filemtime(self::$cache_dir); $expire = defined('TF_CACHE_TIME') && TF_CACHE_TIME ? (TF_CACHE_TIME * 60) : WEEK_IN_SECONDS; $liveTime = $expire + $ftime; if ($liveTime > time()) { global $wp; $headers = apply_filters('wp_headers', wp_get_nocache_headers(), $wp); if (!isset($headers['Cache-Control'])) { $headers['Content-Type'] = 'no-cache, must-revalidate, max-age=0'; } if (!isset($headers['Content-Type'])) { $headers['Content-Type'] = 'text/html;charset=UTF-8'; } // header('Content-Length: '.filesize(self::$cache_dir));//temprorary disable,because when cd of cloudfare is enabled it will return compress brottil size $headers['Last-Modified'] = gmdate('D, d M Y H:i:s', $ftime) . ' GMT'; $headers['Expires'] = gmdate('D, d M Y H:i:s', $liveTime) . 'GMT'; if (Themify_Filesystem::is_file(self::$cache_dir)) {//maybe another proccess has already removed it? $type = false; //self::get_available_gzip();temprorary disable gzip caching,because bug of cloudfare if ($type !== false && Themify_Filesystem::is_file(self::$cache_dir . '.gz')) { $type = key($type); if (isset($_SERVER['HTTP_ACCEPT_ENCODING']) && strpos($_SERVER['HTTP_ACCEPT_ENCODING'], $type) !== false) { self::$cache_dir .= '.gz'; $headers['Content-Encoding'] = $type; } } foreach ($headers as $name => $field_value) { header("{$name}: {$field_value}"); } do_action_ref_array('send_headers', array(&$wp)); readfile(self::$cache_dir); die; } } else { Themify_Filesystem::delete(self::$cache_dir, 'f'); Themify_Filesystem::delete(self::$cache_dir . '.gz', 'f'); } } add_action('template_redirect', array(__CLASS__, 'template_include'), -9999999); } else { self::$cache_dir = null; } } else { self::$cache_dir = null; } } public static function get_current_cache($request = '', $create_dir = false) { if ($request === '') { $request = self::get_current_url(); } return self::get_cache_folder($request, $create_dir) . md5($request); } public static function is_safari() { return isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome') === false && strpos($_SERVER['HTTP_USER_AGENT'], 'Safari') !== false; } /** * Initiate cache, just before page renders on frontend * * Hooked to "template_redirect"[0] */ public static function template_include() { if (!themify_is_dev_mode()) { self::cache_start(); } } private static function cache_start() { global $post; if (self::$stopCache === true || (isset($post, $post->post_password) && $post->post_password !== '') || is_user_logged_in() || is_admin() || self::$cache_dir === null || is_404() || is_search() || themify_is_ajax() || post_password_required() || is_trackback() || is_robots() || is_preview() || is_customize_preview() || themify_is_login_page() || (themify_is_woocommerce_active() && (is_checkout() || is_cart() || is_account_page()))) { return; } if (defined('TF_CACHE_IGNORE') && TF_CACHE_IGNORE) { $ignore = explode(',', trim(TF_CACHE_IGNORE)); if (!empty($ignore)) { foreach ($ignore as $f) { if (($f === 'is_shop' && themify_is_shop()) || ($f !== 'is_shop' && is_callable($f) && call_user_func($f))) { return; } } } $ignore = null; } if (false !== self::get_cache_plugins()) { self::disable_cache(); return; } define('TF_CACHE', true); self::$error = true; ob_start(array(__CLASS__, 'getBuffer')); add_action('wp_footer', array(__CLASS__, 'body_end'), 9999999); } public static function getBuffer($html) { if (!$html) { $html = ob_get_contents(); } if (self::$error === false && !empty($html)) { $html = preg_replace(array( '/<!--(.|\S)*?-->/s', '/\>[^\S ]{2,}/s', // remove whitespaces after tags '/[^\S ]{2,}\</s', // remove whitespaces before tags '/([\t ])+/s', //shorten multiple whitespace sequences; keep new-line characters because they matter in JS!!! '/\>[\r\n\t ]{2,}\</s', //remove empty lines (between HTML tags); cannot remove just any line-end characters because in inline JS they can matter! ), array('', '>', '<', ' ', '><'), $html); if (self::$stopCache === false) { $dir = rtrim(dirname(self::$cache_dir), self::SEP) . self::SEP; if (Themify_Filesystem::mkdir($dir, true) && !is_file(self::$cache_dir)) { //tmp file need because file_put_contents isn't atomic(another process can read not ready file),locking file(LOCK_EX) is slow and not work always,that is why we are using rename(it is atomic) if (file_put_contents(self::$cache_dir . 'tmp', '<!--THEMIFY CACHE-->' . $html) && Themify_Filesystem::rename(self::$cache_dir . 'tmp', self::$cache_dir) !== false) { if (false && themify_get_server() !== 'litespeed' && themify_check('setting-cache_gzip', true)) { $func = self::get_available_gzip(); if ($func !== false) { $func = current($func); $html = call_user_func($func['f'], $html, $func['l']); $func = null; if (!empty($html)) { file_put_contents(self::$cache_dir . '.gz', '<!--THEMIFY CACHE-->' . $html, LOCK_EX); } } } } else { Themify_Filesystem::delete(self::$cache_dir . 'tmp', 'f'); } } } } return $html; } public static function body_end() { add_action('shutdown', array(__CLASS__, 'cache_end'), 0); } public static function cache_end() { self::$error = false; ob_end_flush(); } public static function get_available_gzip() { if (function_exists('brotli_compress') && ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') || (isset($_SERVER['SERVER_PORT']) && (int) $_SERVER['SERVER_PORT'] === 443))) { return array('br' => array('f' => 'brotli_compress', 'l' => 10)); } if (function_exists('gzdeflate')) { return array('deflate' => array('f' => 'gzdeflate', 'l' => 8)); } if (function_exists('gzcompress')) { return array('deflate' => array('f' => 'gzcompress', 'l' => 8)); } if (function_exists('gzencode')) { return array('gzip' => array('f' => 'gzencode', 'l' => 8)); } return false; } public static function create_config(array $data) { $cache_dir = self::get_wp_content_dir(); if (Themify_Filesystem::is_writable($cache_dir)) { if (!empty($data['setting-cache-html']) && false === self::get_cache_plugins()) { $fw_dir = THEMIFY_DIR . self::SEP . 'cache' . self::SEP; $fw_config = $fw_dir . 'config.php'; $cache_config = self::get_cache_config_file(); $msg = sprintf(__('Can`t copy %s to %s. Please check permission or do manually it.', 'themify'), $fw_config, $cache_config); if (Themify_Filesystem::is_file($cache_config)) { include_once $cache_config; } $rules = ''; if (!empty($data['setting-cache-rule'])) { $rules = explode(PHP_EOL, $data['setting-cache-rule']); foreach ($rules as $i => $r) { $rules[$i] = trim(str_replace(array('"', "'"), '', $r)); if (empty($rules[$i])) { unset($rules[$i]); } } $rules = !empty($rules) ? implode('|TF|', $rules) : ''; } $config = array( '#TF_CACHE_FW#' => trailingslashit($fw_dir), '#TF_CACHE_TIME#' => !empty($data['setting-cache-live']) ? ((int) $data['setting-cache-live']) : WEEK_IN_SECONDS, '#TF_CACHE_RULES#' => $rules, '#TF_CACHE_IGNORE#' => '' ); $rules = null; $ignores = array(); foreach ($data as $k => $v) { if (strpos($k, 'setting-cache-ignore_') === 0 && !empty($v)) { $ignores[] = $v; } } if (!empty($ignores)) { $config['#TF_CACHE_IGNORE#'] = implode(',', $ignores); } $ignores = $data = null; $hasUpdate = (!defined('TF_CACHE_FW') || TF_CACHE_FW !== $config['#TF_CACHE_FW#']) || (!defined('TF_CACHE_RULES') || $config['#TF_CACHE_RULES#'] !== TF_CACHE_RULES) || (!defined('TF_CACHE_IGNORE') || $config['#TF_CACHE_IGNORE#'] !== TF_CACHE_IGNORE) || (!defined('TF_CACHE_TIME') || $config['#TF_CACHE_TIME#'] != TF_CACHE_TIME); if ($hasUpdate === true) { if (!copy($fw_config, $cache_config)) { self::disable_cache(); return $msg; } $content = Themify_Filesystem::get_contents($cache_config); if (empty($content)) { self::disable_cache(); return $msg; } if (!file_put_contents($cache_config, str_replace(array_keys($config), $config, $content), LOCK_EX)) { self::disable_cache(); return false; } $content = null; } $copy = true; if (Themify_Filesystem::is_file($cache_dir . 'advanced-cache.php')) { $content = Themify_Filesystem::get_contents($cache_dir . 'advanced-cache.php'); $copy = empty($content) || strpos($content, 'class-themify-cache.php', 10) === false; if ($copy === false && md5($content) !== md5_file($fw_dir . 'advanced-cache.php')) { $copy = true; } } if ($copy === true && !copy($fw_dir . 'advanced-cache.php', $cache_dir . 'advanced-cache.php')) { Themify_Filesystem::delete($cache_config, 'f'); self::disable_cache(); return sprintf(__('Can`t copy %s to %s. Please check permission or do manually it.', 'themify'), $fw_dir . 'advanced-cache.php', $cache_dir . 'advanced-cache.php'); } return self::write_wp_config(); } else { self::disable_cache(); return __('Themify Cache can not be enabled due to another cache plugin is activated.', 'themify'); } } else { self::disable_cache(); return sprintf(__('Folder %s isn`t writable.Please check permission to allow write cache.', 'themify'), $cache_dir); } } public static function get_wp_content_dir() { return rtrim(WP_CONTENT_DIR, self::SEP) . self::SEP; } public static function get_cache_main_dir() { return self::get_wp_content_dir() . 'tf_cache' . self::SEP; } public static function get_cache_blog_dir($blog_id = false) { $dir = self::get_cache_main_dir(); if (is_multisite()) { if ($blog_id === false) { static $bid = null; if ($bid === null) { $bid = get_current_blog_id(); } $dir .= $bid . self::SEP; } else { $dir .= $blog_id . self::SEP; } } return $dir; } public static function get_cache_folder($request, $create = false) { $dir = explode('?', $request); $dir = $dir[0]; if ($dir !== '/') { $dir = trim($dir, '/'); //group the files in directory by the pre last slash(e.g /blog/slug return blog,2014/06/09/slug return 2014/06/09/) if (is_multisite()) { $domain = apply_filters('site_url', get_option('siteurl'), '', null, null); } else { $domain = parse_url($dir); $domain = isset($domain['host']) ? $domain['host'] : ''; } $scheme = is_ssl() ? 'https' : 'http'; $domain = str_replace(array('https:', 'http:'), '', trim($domain)); $domain = $scheme . '://' . trim(ltrim($domain, '//')); $domain = trim(strtr($dir, array($domain => '')), '/'); if ($domain === '') { $dir = '/'; } elseif (strpos($domain, '/') !== false) { $domain = explode('/', $domain); array_pop($domain); $dir = implode('/', $domain); } else { $dir = $domain; } $domain = null; } $blog_dir = self::get_cache_blog_dir() . md5($dir); if ($create === true) { Themify_Filesystem::mkdir($blog_dir, true); } return $blog_dir . self::SEP; } public static function admin_check() { if (false !== self::get_cache_plugins()) { self::disable_cache(); } } public static function disable_cache() { $cache_dir = self::get_wp_content_dir(); $config_f = self::get_cache_config_file(); Themify_Filesystem::delete($config_f, 'f'); if (!is_multisite()) { $config_f = $cache_dir . 'advanced-cache.php'; if (Themify_Filesystem::is_file($config_f)) { $content = Themify_Filesystem::get_contents($config_f); $remove = !empty($content) && strpos($content, 'class-themify-cache.php', 10) !== false; } else { $remove = true; } if ($remove === true) {//only when advanced-cache.php belongs to us or file doesn't exist try to disable WP_CACHE if (WP_CACHE) { $wp_config = ABSPATH . 'wp-config.php'; if (Themify_Filesystem::is_writable($wp_config)) { $content = Themify_Filesystem::get_contents($wp_config); if (!empty($content)) { $content = str_replace(array(self::get_replace_str(), "define('WP_CACHE',true);"), '', $content); if (strpos($content, 'Themify Cache', 2) !== false) {//try again $content = preg_replace('/define/', self::get_replace_str() . PHP_EOL . PHP_EOL . 'define', $content, 1); } if (!file_put_contents($wp_config, $content, LOCK_EX)) { $remove = false; } } } else { $remove = false; //otherwise will give error file doesn't exist,it's safe to keep it } } if ($remove === true) { Themify_Filesystem::delete($config_f, 'f'); } } } } private static function get_replace_str() { $replace = '/* Themify Cache Start */' . PHP_EOL; $replace .= "define('WP_CACHE',true);"; $replace .= PHP_EOL . '/* Themify Cache End */'; return $replace; } public static function ajax_write_wp_cache() { check_ajax_referer('tf_nonce', 'nonce'); if ( ! current_user_can( 'manage_options' ) ) { die; } if (!empty($_POST['data'])) { $data = themify_normalize_save_data($_POST['data']); $msg = self::create_config($data); if ($msg === true) { die(json_encode(array('remove_after' => 1))); } die(json_encode(array('error' => $msg))); } die; } public static function write_wp_config() { $cache_dir = self::get_wp_content_dir(); if (!WP_CACHE) { $wp_config = ABSPATH . 'wp-config.php'; if (Themify_Filesystem::is_writable($wp_config)) { if (Themify_Filesystem::is_file(self::get_cache_config_file()) && Themify_Filesystem::is_file($cache_dir . 'advanced-cache.php')) { $content = Themify_Filesystem::get_contents($wp_config); $str = self::get_replace_str(); if (!empty($content) && strpos($content, $str, 3) === false) { $content = preg_replace('/define/', $str . PHP_EOL . PHP_EOL . 'define', $content, 1); if (file_put_contents($wp_config, $content, LOCK_EX)) { return true; } } } } else { return sprintf(__('File %s is`t writable. Please add %s %s.', 'themify'), $wp_config, "define('WP_CACHE',true)", $wp_config); } } elseif (!Themify_Filesystem::is_file(self::get_cache_config_file())) { self::disable_cache(); return false; } return true; } public static function get_cache_config_file() { $fname = 'site'; if (is_multisite()) { $fname .= '-' . get_current_blog_id(); } $fname .= '.php'; $dir = self::get_wp_content_dir() . 'tf_cache_config'; Themify_Filesystem::mkdir($dir, true,0755); return $dir . self::SEP . $fname; } public static function cache_menu($wp_admin_bar) { if (!current_user_can('manage_options')) { return; } $link = remove_query_arg('tf-cache', self::get_current_url()); $isDevmode = themify_is_dev_mode(); $args = array( array( 'id' => 'tf_clear_cache', 'title' => __('Themify Cache', 'themify') ) ); $hasCache = false; $nonce= wp_create_nonce('tf_cache'); $cache_plugins = false !== self::get_cache_plugins(); $hasCache = WP_CACHE && $cache_plugins === false && Themify_Filesystem::is_file(self::get_cache_config_file()); if ($isDevmode === true) { $args[0]['id'] = 'tf_dev_mode'; $args[0]['title'] = '<span class="tf_admin_bar_tooltip">' . __('Warning: Dev Mode is enabled (Themify cache, menu cache, concate cache, .gz and .min scripts are disabled). Only enable this for development purposes.', 'themify') . '</span>' . esc_html__('Dev Mode', 'themify'); $args[0]['meta'] = array('class' => 'tf_admin_bar_alert'); $args[] = array( 'id' => 'tf_disable_dev', 'parent' => $args[0]['id'], 'href' => add_query_arg(array('tf-cache' => 4,'nonce'=>$nonce), $link), 'title' => __('Disable Dev Mode', 'themify') ); } else { if (isset($_GET['tf-cache'],$_GET['nonce']) && wp_verify_nonce($_GET['nonce'],'tf_cache')) { $cache_type = (int) $_GET['tf-cache']; if ($cache_type === 3) { $found = true; themify_clear_menu_cache(); } elseif ($cache_type === 1) { $found = true; add_filter('themify_concate_css', '__return_false'); if ($hasCache === true) { $link = self::get_current_cache($link); Themify_Filesystem::delete($link . '_safari.html', 'f'); Themify_Filesystem::delete($link . '_safari.html.gz', 'f'); $link .= '.html'; Themify_Filesystem::delete($link, 'f'); $link .= '.gz'; Themify_Filesystem::delete($link, 'f'); } themify_clear_menu_cache(); } } $args[] = array( 'id' => 'tf_clear_html', 'parent' => 'tf_clear_cache', 'href' => add_query_arg(array('tf-cache' => 1,'nonce'=>$nonce), $link), 'title' => $hasCache === true ? __('Purge Page Cache', 'themify') : __('Regenerate Page CSS', 'themify') ); $args[] = array( 'id' => 'tf_clear_all', 'parent' => 'tf_clear_cache', 'href' => add_query_arg(array('tf-cache' => 2,'nonce'=>$nonce), $link), 'title' => $hasCache === true ? __('Purge All Cache', 'themify') : __('Regenerate All CSS', 'themify') ); if ($hasCache === false && $cache_plugins === false && !themify_check('setting-cache-menu', true)) { $args[] = array( 'id' => 'tf_clear_menu', 'parent' => 'tf_clear_cache', 'href' => add_query_arg(array('tf-cache' => 3,'nonce'=>$nonce), $link), 'title' => __('Clear Menu Cache', 'themify') ); } } $cache_plugins = null; foreach ($args as $arg) { $wp_admin_bar->add_node($arg); } } public static function check_clear() { if (isset($_GET['nonce']) && wp_verify_nonce($_GET['nonce'],'tf_cache') && current_user_can('manage_options')) { if ($_GET['tf-cache'] === '2') { Themify_Enqueue_Assets::clearConcateCss(); themify_clear_menu_cache(); } else { $tmp = themify_get_data(); unset($tmp['setting-dev-mode']); themify_set_data($tmp); } $link = remove_query_arg('tf-cache', self::get_current_url()); if (wp_redirect($link)) { exit; } } } public static function clear_3rd_plugins_cache($post_id = 0) { $cache_plugins = self::get_cache_plugins('others'); if (false === $cache_plugins) { return; } $post_id = (int) $post_id <= 0 ? 0 : (int) $post_id; // Sometimes we need to clear all caches ex. when Pro template or Layout Part is edited if ($post_id > 0) { $type = get_post_type($post_id); $post_id = 'post' === $type || 'page' === $type ? $post_id : 0; } foreach ($cache_plugins as $k => $v) { switch ($k) { case 'SC': if ($post_id > 0) { wp_cache_post_change($post_id); } else { wp_cache_clear_cache(); } break; case 'W3TC': if ($post_id > 0) { w3tc_flush_post($post_id); } else { w3tc_flush_all(); } break; case 'WPFC': if ($post_id > 0) { wpfc_clear_post_cache_by_id($post_id); } else { wpfc_clear_all_cache(true); } break; case 'AO': if (0 === $post_id) { autoptimizeCache::clearall(); } break; case 'WPO': if ($post_id > 0) { WPO_Page_Cache::delete_single_post_cache($post_id); } else { WP_Optimize()->get_page_cache()->purge(); } break; case 'LSCWP': if ($post_id > 0) { do_action('litespeed_purge_post', $post_id); } else { do_action('litespeed_purge_all'); } break; case 'WPHB': if ($post_id > 0) { do_action('wphb_clear_page_cache', $post_id); } else { do_action('wphb_clear_page_cache'); } break; case 'CLFL': // Cloudflare use this hook to purge the cache if (0 === $post_id) { do_action('autoptimize_action_cachepurged'); } break; case 'SGO': $post_id = $post_id > 0 ? get_permalink($post_id) : false; if ($post_id !== false) { sg_cachepress_purge_cache($post_id); } else { sg_cachepress_purge_cache(); } break; case 'Breeze': if ($post_id === 0) { do_action('breeze_clear_all_cache'); } break; case 'ROCKET': if ($post_id > 0) { rocket_clean_post($post_id); } else { rocket_clean_domain(); } break; case 'Comet': if ($post_id > 0) { comet_cache::clearPost($post_id); } else { comet_cache::clear(); } break; case 'CE': if ($post_id > 0) { do_action('cache_enabler_clear_page_cache_by_post', $post_id); } else { do_action('cache_enabler_clear_site_cache'); } break; case 'WpeC': if (method_exists('WpeCommon', 'purge_memcached')) { WpeCommon::purge_memcached($post_id); } if (method_exists('WpeCommon', 'clear_maxcdn_cache')) { WpeCommon::clear_maxcdn_cache($post_id); } if (method_exists('WpeCommon', 'purge_varnish_cache')) { WpeCommon::purge_varnish_cache($post_id); } break; case 'Cachify': if ($post_id > 0) { do_action('cachify_remove_post_cache', $post_id); } else { do_action('cachify_flush_cache'); } break; case 'RP': if ($post_id > 0) { rapidcache_clear_post_cache($post_id); } else { rapidcache_clear_cache(); } break; case 'SWPC': if ($post_id > 0) { Swift_Performance_Cache::clear_post_cache($post_id); } else { Swift_Performance_Cache::clear_all_cache(); } break; case 'NGXC': if ($post_id === 0) { $nginx_cache = new NginxCache(); $nginx_cache->purge_zone_once(); } break; } } } public static function get_cache_plugins($slug = 'others') { static $items = null; if ($items === null) { $items = array(); //W3 Total Cache plugin if (function_exists('w3tc_flush_post') && function_exists('w3tc_flush_all')) { $items['W3TC'] = true; } //WP Super Cache if (function_exists('wp_cache_clear_cache') && function_exists('wp_cache_post_change')) { $items['SC'] = true; } //Fastest Cache if (function_exists('wpfc_clear_post_cache_by_id') && function_exists('wpfc_clear_all_cache')) { $items['WPFC'] = true; } //WP Rocket if (function_exists('rocket_clean_domain') && function_exists('rocket_clean_post')) { $items['ROCKET'] = true; } //wp-cloudflare-page-cache if (class_exists('SW_CLOUDFLARE_PAGECACHE')) { $items['SWCFPC'] = true; } //WP-Optimiz if (method_exists('WP_Optimize', 'get_page_cache') && WP_Optimize()->get_page_cache()->is_enabled()) { $items['WPO'] = true; } //LiteSpeed Cache if (defined('LSCWP_CONTENT_DIR')) { $items['LSCWP'] = true; } //Comet Cache if (method_exists('comet_cache', 'clear') && method_exists('comet_cache', 'clearPost')) { $items['Comet'] = true; } //Cache Enabler if (class_exists('Cache_Enabler')) { $items['CE'] = true; } //Breeze if (class_exists('Breeze_Admin')) { $items['Breeze'] = true; } //Hummingbird if (defined('WPHB_DIR_PATH')) { $items['WPHB'] = true; } //WP Speed of Light if (defined('WPSOL_PLUGIN_URL')) { $items['WPSOL'] = true; } //Auto optimize if (method_exists('autoptimizeCache', 'clearall')) { $items['AO'] = true; } //Cloudflare if (defined('CLOUDFLARE_PLUGIN_DIR')) { $items['CLFL'] = true; } //SG optimizer if (function_exists('sg_cachepress_purge_cache')) { $items['SGO'] = true; } //Cachify if (defined('CACHIFY_FILE')) { $items['Cachify'] = true; } //WPEngine Cache if (class_exists('WpeCommon')) { $items['WpeC'] = true; } //Rapid Cache if (function_exists('rapidcache_clear_post_cache') && function_exists('rapidcache_clear_cache')) { $items['RP'] = true; } //Swift Cache if (class_exists('Swift_Performance_Cache')) { $items['SWPC'] = true; } //NginxCache Cache if (class_exists('NginxCache')) { $items['NGXC'] = true; } } if ($slug === 'others') { unset($items['themify']); return empty($items) ? false : $items; } //themify cache if (defined('TF_CACHE') && TF_CACHE) { $items['themify'] = true; } if ($slug === 'any') { return !empty($items); } if ($slug === 'all') { return $items; } return isset($items[$slug]); } public static function themify_updated($upgrader_object, $options) { if ($options['action'] === 'update') { if ($options['type'] === 'plugin' && defined('THEMIFY_BUILDER_SLUG')) { if (isset($options['plugins'])) { foreach ($options['plugins'] as $each_plugin) { if ($each_plugin === THEMIFY_BUILDER_SLUG) { self::clear_3rd_plugins_cache(); break; } } } } elseif ($options['type'] === 'theme' && function_exists('themify_is_themify_theme') && themify_is_themify_theme()) { self::clear_3rd_plugins_cache(); } } } } add_action('after_setup_theme', array('TFCache', 'hooks')); } advanced-cache.php 0000644 00000003121 15151171063 0010060 0 ustar 00 <?php defined('ABSPATH') || exit; /* DON`T MODIFY THIS FILE IT CAN BREAK ALL SITES. USE THEMIFY SETTINGS TO DISABLE IT */ /* Themify start */ if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'GET' && !function_exists('themify_cache_loaded') && !empty($_SERVER['REQUEST_URI']) && empty(preg_grep('/wordpress_logged_in_/', array_keys($_COOKIE)))) { if (!((defined('DOING_AJAX') && DOING_AJAX) || (defined('XMLRPC_REQUEST') && XMLRPC_REQUEST) || (defined('DOING_CRON') && DOING_CRON) || (defined('REST_REQUEST') && REST_REQUEST) || (defined('APP_REQUEST') && APP_REQUEST) || (defined('SHORTINIT') && SHORTINIT) || strpos($_SERVER['REQUEST_URI'], 'robots.txt') !== false || strpos($_SERVER['REQUEST_URI'], 'wp-admin') !== false || strpos($_SERVER['REQUEST_URI'], 'wp-login') !== false || strpos($_SERVER['REQUEST_URI'], 'wp-json') !== false)) { function themify_cache_loaded() { $dir = rtrim(WP_CONTENT_DIR, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'tf_cache_config' . DIRECTORY_SEPARATOR . 'site'; if (is_multisite()) { $dir .= '-' . get_current_blog_id(); } $dir .= '.php'; if (is_file($dir)) { include_once $dir; if (defined('TF_CACHE_FW') && TF_CACHE_FW && TF_CACHE_FW !== '#TF_CACHE_FW#') { $dir = rtrim(TF_CACHE_FW, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'class-themify-cache.php'; if (is_file($dir)) { include_once $dir; TFCache::run(); } } } } if (is_multisite()) { add_action('ms_loaded', 'themify_cache_loaded', 5); } else { add_action('init', 'themify_cache_loaded', 0); } } } /*Themify End*/
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка