This commit is contained in:
2024-03-27 22:39:26 +01:00
parent 269d85ce11
commit d28a600b56
7945 changed files with 1474678 additions and 62 deletions

View File

@@ -0,0 +1,114 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* batch-translation.twig */
class __TwigTemplate_79e459079378c831ef2a7938f83e84ace90b7189982af1a1faf423d000dfdec6 extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<div id=\"batch-media-translation-wrap\" class=\"batch-media-translation-wrap notice otgs-notice notice-info otgs-is-dismissible\" style=\"display: none\">
<span class=\"notice-dismiss js-close\"><span class=\"screen-reader-text\">";
// line 2
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "close", []), "html", null, true);
echo "</span></span>
<form id=\"batch-media-translation-form\" method=\"post\" action=\"\">
<input type=\"hidden\" name=\"action\" value=\"wpml_media_scan_prepare\" />
<div class=\"usage\" style=\"display: none\">
<p>";
// line 6
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "was_replaced", []), "html", null, true);
echo "</p>
<ul class=\"batch-media-translation-post-list\"></ul>
<p>";
// line 8
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "other_posts", []), "html", null, true);
echo "</p>
</div>
<div class=\"no-usage\" style=\"display: none\">
<p>";
// line 11
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "without_usage", []), "html", null, true);
echo "</p>
</div>
<div class=\"batch-media-translation-action-wrap\">
<ul class=\"batch-media-translation-action-list\">
<li>
<label>
<input type=\"radio\" name=\"global-scan-scope\" value=\"0\" checked/>";
// line 17
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "scan_for_this_media", []), "html", null, true);
echo "
</label>
</li>
<li>
<label>
<input type=\"radio\" name=\"global-scan-scope\" value=\"1\"/>";
// line 22
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "scan_for_all_media", []), "html", null, true);
echo "
</label>
</li>
</ul>
<p class=\"text-right\">
<input type=\"submit\" class=\"button-primary\" value=\"";
// line 27
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "button_label", []), "html", null, true);
echo "\"/>
</p>
</div>
</form>
<p class=\"status\"></p>
</div>";
}
public function getTemplateName()
{
return "batch-translation.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 78 => 27, 70 => 22, 62 => 17, 53 => 11, 47 => 8, 42 => 6, 35 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "batch-translation.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-media-translation/templates/menus/batch-translation.twig");
}
}

View File

@@ -0,0 +1,251 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* media-translation-filters.twig */
class __TwigTemplate_97297fe6d06c053f77500b90ab550b2367ca917ee7fd18c3b33b92cff168a93f extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<form id=\"posts-filter\" method=\"get\">
<input type=\"hidden\" name=\"page\" value=\"wpml-media\"/>
<input type=\"hidden\" name=\"sm\" value=\"media-translation\"/>
";
// line 4
echo ($context["nonce"] ?? null);
echo "
<label for=\"filter-by-date\" class=\"screen-reader-text\">";
// line 5
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "filter_by_date", []), "html", null, true);
echo "</label>
<select id=\"filter-by-date\" name=\"m\">
<option ";
// line 7
if ((($context["selected_month"] ?? null) == 0)) {
echo "selected=\"selected\"";
}
// line 8
echo " value=\"0\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "all_dates", []), "html", null, true);
echo "</option>
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["months"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["month"]) {
// line 10
echo " <option ";
if ((($context["selected_month"] ?? null) == $this->getAttribute($context["month"], "id", []))) {
echo "selected=\"selected\"";
}
// line 11
echo " value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["month"], "id", []), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["month"], "label", []), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['month'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
echo " </select>
";
// line 14
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "in", []), "html", null, true);
echo "
<label for=\"filter-by-language\" class=\"screen-reader-text\">";
// line 15
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "filter_by_language", []), "html", null, true);
echo "</label>
<select id=\"filter-by-language\" name=\"slang\">
<option value=\"\">";
// line 17
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "any_language", []), "html", null, true);
echo "</option>
";
// line 18
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["code"] => $context["language"]) {
// line 19
echo " <option ";
if ((($context["from_language"] ?? null) == $context["code"])) {
echo "selected=\"selected\"";
}
// line 20
echo " value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo " </select>
";
// line 23
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "to", []), "html", null, true);
echo "
<select id=\"filter-by-language\" name=\"tlang\">
<option value=\"\">";
// line 25
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "any_language", []), "html", null, true);
echo "</option>
";
// line 26
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["code"] => $context["language"]) {
// line 27
echo " <option ";
if ((($context["to_language"] ?? null) == $context["code"])) {
echo "selected=\"selected\"";
}
// line 28
echo " value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 30
echo " </select>
<label for=\"filter-by-translation-status\" class=\"screen-reader-text\">";
// line 32
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "filter_by_status", []), "html", null, true);
echo "</label>
<select id=\"filter-by-translation-status\" name=\"status\">
<option ";
// line 34
if ((\WPML\Core\twig_length_filter($this->env, ($context["selected_status"] ?? null)) == 0)) {
echo "selected=\"selected\"";
}
// line 35
echo " value=\"\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_all", []), "html", null, true);
echo "</option>
<option ";
// line 36
if (((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "not_translated", [])) && (\WPML\Core\twig_length_filter($this->env, ($context["selected_status"] ?? null)) > 0))) {
echo "selected=\"selected\"";
}
// line 37
echo " value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "not_translated", []), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_not", []), "html", null, true);
echo "</option>
<option ";
// line 38
if (((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "in_progress", [])) && (\WPML\Core\twig_length_filter($this->env, ($context["selected_status"] ?? null)) > 0))) {
echo "selected=\"selected\"";
}
// line 39
echo " value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "in_progress", []), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_in_progress", []), "html", null, true);
echo "</option>
<option ";
// line 40
if ((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "translated", []))) {
echo "selected=\"selected\"";
}
// line 41
echo " value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "translated", []), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_translated", []), "html", null, true);
echo "</option>
<option ";
// line 42
if ((($context["selected_status"] ?? null) == $this->getAttribute(($context["statuses"] ?? null), "needs_translation", []))) {
echo "selected=\"selected\"";
}
// line 43
echo " value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["statuses"] ?? null), "needs_translation", []), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "status_needs_translation", []), "html", null, true);
echo "</option>
</select>
<label class=\"screen-reader-text\" for=\"media-search-input\">";
// line 46
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "search_media", []), "html", null, true);
echo "</label>
<input size=\"25\" type=\"search\" id=\"media-search-input\" placeholder=\"";
// line 47
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "search_placeholder", []), "html", null, true);
echo "\" name=\"s\"
value=\"";
// line 48
echo \WPML\Core\twig_escape_filter($this->env, ($context["search"] ?? null), "html", null, true);
echo "\">
<input type=\"submit\" class=\"button action\" value=\"";
// line 49
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "search_button_label", []), "html", null, true);
echo "\">
</form>";
}
public function getTemplateName()
{
return "media-translation-filters.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 219 => 49, 215 => 48, 211 => 47, 207 => 46, 198 => 43, 194 => 42, 187 => 41, 183 => 40, 176 => 39, 172 => 38, 165 => 37, 161 => 36, 156 => 35, 152 => 34, 147 => 32, 143 => 30, 132 => 28, 127 => 27, 123 => 26, 119 => 25, 114 => 23, 111 => 22, 100 => 20, 95 => 19, 91 => 18, 87 => 17, 82 => 15, 78 => 14, 75 => 13, 64 => 11, 59 => 10, 55 => 9, 50 => 8, 46 => 7, 41 => 5, 37 => 4, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "media-translation-filters.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-filters.twig");
}
}

View File

@@ -0,0 +1,249 @@
<?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_b2012d4c27ac1a26626408a33fad35944034206f671d2707fa4e0987527fa205 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/panel-colors.twig");
}
}

View File

@@ -0,0 +1,165 @@
<?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_f7b7b7b6f4269d210f4656ff507745d113ea04d474e7b0792c61a2dc57a155df 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));
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
if ($this->getAttribute($context["language"], "flag_url", [])) {
// line 14
echo "<img class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true);
echo "\" src=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "flag_url", []), "html", null, true);
echo "\" alt=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "flag_alt", []), "html", null, true);
echo "\">";
}
// line 17
if (($this->getAttribute($context["language"], "is_current", []) && ($this->getAttribute($context["language"], "native_name", []) || $this->getAttribute($context["language"], "display_name", [])))) {
// line 19
$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 20
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 24
if ($this->getAttribute($context["language"], "native_name", [])) {
// line 25
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 28
if ($this->getAttribute($context["language"], "display_name", [])) {
// line 29
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true);
echo "\">";
// 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 \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "display_name", []), "html", null, true);
// line 32
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 33
echo "</span>";
}
}
// line 37
echo "</a>
\t\t\t</li>";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 41
echo "</ul>
</div>
";
}
public function getTemplateName()
{
return "template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 133 => 41, 126 => 37, 122 => 33, 116 => 32, 114 => 31, 108 => 30, 104 => 29, 102 => 28, 93 => 25, 91 => 24, 84 => 20, 82 => 19, 80 => 17, 71 => 14, 69 => 13, 64 => 12, 59 => 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/template.twig");
}
}

View File

@@ -0,0 +1,113 @@
<?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_eb858835ea664cce0303d222489264bf2eae45159346418f8671b8b1c675afaf 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 6
if (($context["flag_url"] ?? null)) {
// line 7
echo "<img class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true);
echo "\" src=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_url"] ?? null), "html", null, true);
echo "\" alt=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_alt"] ?? null), "html", null, true);
echo "\">";
}
// line 10
if (($context["native_name"] ?? null)) {
// line 11
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, ($context["code"] ?? null), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, ($context["native_name"] ?? null), "html", null, true);
echo "</span>";
}
// line 14
if (($context["display_name"] ?? null)) {
// line 15
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true);
echo "\">";
// line 16
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\"> (</span>";
}
// line 17
echo \WPML\Core\twig_escape_filter($this->env, ($context["display_name"] ?? null), "html", null, true);
// line 18
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\">)</span>";
}
// line 19
echo "</span>";
}
}
public function getTemplateName()
{
return "template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 82 => 19, 76 => 18, 74 => 17, 68 => 16, 64 => 15, 62 => 14, 53 => 11, 51 => 10, 42 => 7, 40 => 6, 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/template.twig");
}
}

View File

@@ -0,0 +1,70 @@
<?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_0d5fb9a739de336439d574dcbe205a06ce8808ed978cdad42b1f21f42f0c2776 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/tooltip.twig");
}
}

View File

@@ -0,0 +1,158 @@
<?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_72261ddfe3b690cab8bfa0aaa22faee31bc22ae6d09530e49caa9d95ace78912 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/table-slot-row.twig");
}
}

View File

@@ -0,0 +1,122 @@
<?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_38b2dfc1f0254db1f429dd1dcdb0f1519d134a15b1aae074efdfd877277f57a9 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-menus.twig");
}
}

View File

@@ -0,0 +1,192 @@
<?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_63e056c9559352244e205c0e465a78c4a1b235d710e350e202f8739ef7b75311 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-templates.twig");
}
}

View File

@@ -0,0 +1,113 @@
<?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_e8c6c3cddb7df1aec0c1a1b8f04fac834682b3234ba5822e67be2f12fa5b1cd8 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 6
if (($context["flag_url"] ?? null)) {
// line 7
echo "<img class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true);
echo "\" src=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_url"] ?? null), "html", null, true);
echo "\" alt=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_alt"] ?? null), "html", null, true);
echo "\">";
}
// line 10
if (($context["native_name"] ?? null)) {
// line 11
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, ($context["code"] ?? null), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, ($context["native_name"] ?? null), "html", null, true);
echo "</span>";
}
// line 14
if (($context["display_name"] ?? null)) {
// line 15
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true);
echo "\">";
// line 16
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\"> (</span>";
}
// line 17
echo \WPML\Core\twig_escape_filter($this->env, ($context["display_name"] ?? null), "html", null, true);
// line 18
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\">)</span>";
}
// line 19
echo "</span>";
}
}
public function getTemplateName()
{
return "template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 82 => 19, 76 => 18, 74 => 17, 68 => 16, 64 => 15, 62 => 14, 53 => 11, 51 => 10, 42 => 7, 40 => 6, 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/template.twig");
}
}

View File

@@ -0,0 +1,106 @@
<?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_0d0c8aceabf49c86594740316e5fb647804d7f84707bcb6b4332e2076f84ed62 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-footer.twig");
}
}

View File

@@ -0,0 +1,135 @@
<?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_09ba35ac1808175b81e34d0b0a1995ad0f50a4d29c03d168eee2f7467b801058 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-sidebars.twig");
}
}

View File

@@ -0,0 +1,80 @@
<?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_49c48bca2a47d5e6b8f39ca20b5b6eff51cc4d5f7dbcb0df4cf60e2b05f6aa21 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/setup-wizard-buttons.twig");
}
}

View File

@@ -0,0 +1,114 @@
<?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_209f045438d0cea7f1a438ee328243ddfa8f942cbe24e4c8c73b3246d90d585d 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/button-add-new-ls.twig");
}
}

View File

@@ -0,0 +1,156 @@
<?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_e6a8c575151d5382b8486f3489dfcb5967a436d98fe4ba2ab8c5a66a9afa3686 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));
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
if ($this->getAttribute($context["language"], "flag_url", [])) {
// line 12
echo "<img class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true);
echo "\" src=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "flag_url", []), "html", null, true);
echo "\" alt=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "flag_alt", []), "html", null, true);
echo "\">";
}
// 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", [])) {
// 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>
</span>
";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
}
$_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 ( 119 => 35, 115 => 31, 109 => 30, 107 => 29, 101 => 28, 97 => 27, 95 => 26, 86 => 23, 84 => 22, 77 => 18, 75 => 17, 73 => 15, 64 => 12, 62 => 11, 57 => 10, 52 => 9, 49 => 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-post-translations/template.twig");
}
}

View File

@@ -0,0 +1,113 @@
<?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_42b6912df5e0c126a2e28f19406b4a9643bdab40d536f39e73c217286612d0dc 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 6
if (($context["flag_url"] ?? null)) {
// line 7
echo "<img class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_flag"] ?? null), "html", null, true);
echo "\" src=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_url"] ?? null), "html", null, true);
echo "\" alt=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["flag_alt"] ?? null), "html", null, true);
echo "\">";
}
// line 10
if (($context["native_name"] ?? null)) {
// line 11
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, ($context["code"] ?? null), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, ($context["native_name"] ?? null), "html", null, true);
echo "</span>";
}
// line 14
if (($context["display_name"] ?? null)) {
// line 15
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true);
echo "\">";
// line 16
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\"> (</span>";
}
// line 17
echo \WPML\Core\twig_escape_filter($this->env, ($context["display_name"] ?? null), "html", null, true);
// line 18
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\">)</span>";
}
// line 19
echo "</span>";
}
}
public function getTemplateName()
{
return "template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 82 => 19, 76 => 18, 74 => 17, 68 => 16, 64 => 15, 62 => 14, 53 => 11, 51 => 10, 42 => 7, 40 => 6, 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/template.twig");
}
}

View File

@@ -0,0 +1,88 @@
<?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_6de6ea289c9ae03ba5b4a8e73a9b00803e67ae9028cfa93cdfdf27607bc683e4 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-slot-edit-button.twig");
}
}

View File

@@ -0,0 +1,229 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* layout-main.twig */
class __TwigTemplate_ea19762cd01d93531677a03af2acc8f32ff79a3ec51fd2f825ed8f125578330d extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<form id=\"wpml-ls-settings-form\" name=\"wpml_ls_settings_form\">
\t<input type=\"hidden\" name=\"wpml-ls-refresh-on-browser-back-button\" id=\"wpml-ls-refresh-on-browser-back-button\" value=\"no\">
";
// line 5
if ($this->getAttribute(($context["notifications"] ?? null), "css_not_loaded", [])) {
// line 6
echo " <div class=\"wpml-ls-message notice notice-info\">
<p>";
// line 7
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["notifications"] ?? null), "css_not_loaded", []), "html", null, true);
echo "</p>
</div>
";
}
// line 10
echo "
<div id=\"wpml-language-switcher-options\" class=\"js-wpml-ls-section wpml-section\">
<div class=\"wpml-section-header\">
<h3>";
// line 13
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "section_title", []), "html", null, true);
echo "</h3>
\t\t\t<p>";
// line 14
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "options", []), "section_description", []), "html", null, true);
echo "</p>
</div>
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
";
// line 18
$this->loadTemplate("section-options.twig", "layout-main.twig", 18)->display($context);
// line 19
echo " </div>
</div>
<div id=\"wpml-language-switcher-menus\" class=\"js-wpml-ls-section wpml-section\">
<div class=\"wpml-section-header\">
<h3>
";
// line 25
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "menus", []), "section_title", []), "html", null, true);
echo "
</h3>
";
// line 27
$this->loadTemplate("save-notification.twig", "layout-main.twig", 27)->display($context);
// line 28
echo " </div>
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
";
// line 31
$this->loadTemplate("section-menus.twig", "layout-main.twig", 31)->display($context);
// line 32
echo " </div>
</div>
<div id=\"wpml-language-switcher-sidebars\" class=\"js-wpml-ls-section wpml-section\">
<div class=\"wpml-section-header\">
<h3>
";
// line 38
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "sidebars", []), "section_title", []), "html", null, true);
echo "
</h3>
";
// line 40
$this->loadTemplate("save-notification.twig", "layout-main.twig", 40)->display($context);
// line 41
echo " </div>
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
";
// line 44
$this->loadTemplate("section-sidebars.twig", "layout-main.twig", 44)->display($context);
// line 45
echo " </div>
</div>
<div id=\"wpml-language-switcher-footer\" class=\"js-wpml-ls-section wpml-section\">
<div class=\"wpml-section-header\">
<h3>
";
// line 51
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "footer", []), "section_title", []), "html", null, true);
echo "
";
// line 52
$this->loadTemplate("tooltip.twig", "layout-main.twig", 52)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "show_in_footer", [])]));
// line 53
echo " </h3>
</div>
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
";
// line 57
$this->loadTemplate("section-footer.twig", "layout-main.twig", 57)->display($context);
// line 58
echo " </div>
</div>
<div id=\"wpml-language-switcher-post-translations\" class=\"js-wpml-ls-section wpml-section\">
<div class=\"wpml-section-header\">
<h3>
";
// line 65
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "post_translations", []), "section_title", []), "html", null, true);
echo "
";
// line 66
$this->loadTemplate("tooltip.twig", "layout-main.twig", 66)->display(twig_array_merge($context, ["content" => $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "tooltips", []), "section_post_translations", [])]));
// line 67
echo " </h3>
</div>
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
";
// line 71
$this->loadTemplate("section-post-translations.twig", "layout-main.twig", 71)->display($context);
// line 72
echo " </div>
</div>
<div id=\"wpml-language-switcher-shortcode-action\" class=\"js-wpml-ls-section wpml-section\"
";
// line 76
if ( !($context["setup_complete"] ?? null)) {
echo " style=\"display:none;\"";
}
echo ">
<div class=\"wpml-section-header\">
<h3>
";
// line 79
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["strings"] ?? null), "shortcode_actions", []), "section_title", []), "html", null, true);
echo "
";
// line 81
echo " </h3>
";
// line 82
$this->loadTemplate("save-notification.twig", "layout-main.twig", 82)->display($context);
// line 83
echo " </div>
<div class=\"js-setting-group wpml-ls-settings-group wpml-section-content\">
";
// line 86
$this->loadTemplate("section-shortcode-action.twig", "layout-main.twig", 86)->display($context);
// line 87
echo " </div>
</div>
";
// line 90
$this->loadTemplate("setup-wizard-buttons.twig", "layout-main.twig", 90)->display($context);
// line 91
echo "
";
// line 92
$this->loadTemplate("dialog-box.twig", "layout-main.twig", 92)->display($context);
// line 93
echo "
</form>";
}
public function getTemplateName()
{
return "layout-main.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 198 => 93, 196 => 92, 193 => 91, 191 => 90, 186 => 87, 184 => 86, 179 => 83, 177 => 82, 174 => 81, 170 => 79, 162 => 76, 156 => 72, 154 => 71, 148 => 67, 146 => 66, 142 => 65, 133 => 58, 131 => 57, 125 => 53, 123 => 52, 119 => 51, 111 => 45, 109 => 44, 104 => 41, 102 => 40, 97 => 38, 89 => 32, 87 => 31, 82 => 28, 80 => 27, 75 => 25, 67 => 19, 65 => 18, 58 => 14, 54 => 13, 49 => 10, 43 => 7, 40 => 6, 38 => 5, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "layout-main.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-main.twig");
}
}

View File

@@ -0,0 +1,317 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* media-translation-table-row.twig */
class __TwigTemplate_ac16df890d9a171c9d47937bca2905766d19b96a999b4ee8d0649a2f7485ed4d extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<tr class=\"wpml-media-attachment-row\" data-attachment-id=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "ID", []), "html", null, true);
echo "\"
\tdata-language-code=\"";
// line 2
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
echo "\"
\tdata-language-name=\"";
// line 3
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "name", []), "html", null, true);
echo "\"
\tdata-is-image=\"";
// line 4
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "is_image", []), "html", null, true);
echo "\"
\tdata-thumb=\"";
// line 5
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "src", []), "html", null, true);
echo "\"
\tdata-file-name=\"";
// line 6
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "file_name", []), "html", null, true);
echo "\"
\tdata-mime-type=\"";
// line 7
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "mime_type", []), "html", null, true);
echo "\"
\tdata-title=\"";
// line 8
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "post_title", []), "html", null, true);
echo "\"
\tdata-caption=\"";
// line 9
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "post_excerpt", []), "html", null, true);
echo "\"
\tdata-alt_text=\"";
// line 10
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "alt", []), "html", null, true);
echo "\"
\tdata-description=\"";
// line 11
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "post_content", []), "html", null, true);
echo "\"
\tdata-flag=\"";
// line 12
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "flag", []), "html", null, true);
echo "\">
\t<td class=\"wpml-col-media-title\">
<span title=\"";
// line 14
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "name", []), "html", null, true);
echo "\" class=\"wpml-media-original-flag js-otgs-popover-tooltip\"
\t\t\t data-tippy-distance=\"-12\">
<img src=\"";
// line 16
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "flag", []), "html", null, true);
echo "\" width=\"16\" height=\"12\" alt=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
echo "\">
</span>
\t\t<span class=\"wpml-media-wrapper\">
<img src=\"";
// line 19
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "src", []), "html", null, true);
echo "\"
\t\t\t\t width=\"";
// line 20
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "width", []), "html", null, true);
echo "\"
\t\t\t\t height=\"";
// line 21
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "height", []), "html", null, true);
echo "\"
\t\t\t\t alt=\"";
// line 22
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
echo "\"
\t\t\t\t ";
// line 23
if ( !$this->getAttribute(($context["attachment"] ?? null), "is_image", [])) {
// line 24
echo "\t\t\t\t\t class=\"is-non-image\"
\t\t\t\t ";
} else {
// line 26
echo "\t\t\t\t\t data-tippy-boundary=\"viewport\"
\t\t\t\t\t data-tippy-flip=\"true\"
\t\t\t\t\t data-tippy-placement=\"right\"
\t\t\t\t\t data-tippy-maxWidth= \"";
// line 29
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "preview", []), "width", []), "html", null, true);
echo "px\"
\t\t\t\t\t data-tippy-content=\"";
// line 30
echo \WPML\Core\twig_escape_filter($this->env, (((("<img style=\"max-width:100%;width:auto;max-height:" . $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "preview", []), "height", [])) . "px;height:auto;\" src=\"") . $this->getAttribute(($context["attachment"] ?? null), "url", [])) . "\" />"), "html", null, true);
echo "\"
\t\t\t\t\t class=\"js-otgs-popover-tooltip\"
\t\t\t\t ";
}
// line 33
echo "\t\t\t>
</span>
\t</td>
\t<td class=\"wpml-col-media-translations\">
\t\t";
// line 37
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["code"] => $context["language"]) {
// line 38
echo "\t\t\t";
if ((twig_test_empty(($context["target_language"] ?? null)) || (($context["target_language"] ?? null) == $context["code"]))) {
// line 39
echo "\t\t\t\t";
if (($this->getAttribute(($context["attachment"] ?? null), "language", []) == $context["code"])) {
// line 40
echo "\t\t\t\t\t<span class=\"js-otgs-popover-tooltip\" data-tippy-distance=\"-12\"
\t\t\t\t\t\t title=\"";
// line 41
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $this->getAttribute(($context["attachment"] ?? null), "language", []), [], "array"), "name", []), "html", null, true);
echo ": ";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "original_language", []), "html", null, true);
echo "\">
<i class=\"otgs-ico-original\"></i>
</span>
\t\t\t\t";
} else {
// line 45
echo "\t\t\t\t\t<span class=\"wpml-media-wrapper js-otgs-popover-tooltip\"
\t\t\t\t\t\t id=\"media-attachment-";
// line 46
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "post", []), "ID", []), "html", null, true);
echo "-";
echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true);
echo "\"
\t\t\t\t\t\t data-file-name=\"";
// line 47
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "file_name", []), "html", null, true);
echo "\"
\t\t\t\t\t\t title=\"";
// line 48
echo \WPML\Core\twig_escape_filter($this->env, sprintf($this->getAttribute(($context["strings"] ?? null), "edit_translation", []), $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $context["code"], [], "array"), "name", [])), "html", null, true);
echo "\"
";
// line 49
if ( !$this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
// line 50
echo "\t\t\t\t\t\t\t\tdata-tippy-distance=\"-12\"
\t\t\t\t\t\t\t";
}
// line 52
echo " data-attachment-id=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "id", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-language-code=\"";
// line 53
echo \WPML\Core\twig_escape_filter($this->env, $context["code"], "html", null, true);
echo "\"
\t\t\t\t\t\t data-language-name=\"";
// line 54
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-url=\"";
// line 55
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "url", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-thumb=\"";
// line 56
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "thumb", []), "src", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-title=\"";
// line 57
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "title", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-caption=\"";
// line 58
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "caption", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-alt_text=\"";
// line 59
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "alt", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-description=\"";
// line 60
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "description", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-flag=\"";
// line 61
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["languages"] ?? null), $context["code"], [], "array"), "flag", []), "html", null, true);
echo "\"
\t\t\t\t\t\t data-media-is-translated=\"";
// line 62
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", []), "html", null, true);
echo "\">
<a class=\"js-open-media-translation-dialog ";
// line 63
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
echo "wpml-media-translation-image";
}
echo "\">
<img src=\"";
// line 64
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "thumb", []), "src", []), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t width=\"";
// line 65
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "width", []), "html", null, true);
echo "\" height=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "thumb", []), "height", []), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t alt=\"";
// line 66
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["attachment"] ?? null), "language", []), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t ";
// line 67
if ( !$this->getAttribute(($context["attachment"] ?? null), "is_image", [])) {
echo "class=\"is-non-image\"";
}
// line 68
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ( !$this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
echo "style=\"display:none\"";
}
echo ">
<i class=\"";
// line 69
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "id", [])) {
echo "otgs-ico-edit";
} else {
echo "otgs-ico-add";
}
echo "\"
\t\t\t\t\t\t\t\t\t\t ";
// line 70
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["attachment"] ?? null), "translations", []), $context["code"], [], "array"), "media_is_translated", [])) {
echo "style=\"display:none\"";
}
echo "></i>
</a>
</span>
\t\t\t\t";
}
// line 74
echo "\t\t\t";
}
// line 75
echo "\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 76
echo "\t</td>
</tr>
";
}
public function getTemplateName()
{
return "media-translation-table-row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 285 => 76, 279 => 75, 276 => 74, 267 => 70, 259 => 69, 252 => 68, 248 => 67, 244 => 66, 238 => 65, 234 => 64, 228 => 63, 224 => 62, 220 => 61, 216 => 60, 212 => 59, 208 => 58, 204 => 57, 200 => 56, 196 => 55, 192 => 54, 188 => 53, 183 => 52, 179 => 50, 177 => 49, 173 => 48, 169 => 47, 163 => 46, 160 => 45, 151 => 41, 148 => 40, 145 => 39, 142 => 38, 138 => 37, 132 => 33, 126 => 30, 122 => 29, 117 => 26, 113 => 24, 111 => 23, 107 => 22, 103 => 21, 99 => 20, 95 => 19, 87 => 16, 82 => 14, 77 => 12, 73 => 11, 69 => 10, 65 => 9, 61 => 8, 57 => 7, 53 => 6, 49 => 5, 45 => 4, 41 => 3, 37 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "media-translation-table-row.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-table-row.twig");
}
}

View File

@@ -0,0 +1,165 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* pagination.twig */
class __TwigTemplate_197e22c5f6caf2805fba93e31a34eb2e8fe2b143d3c7b99d94e52bcecd48766d extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
if ($this->getAttribute(($context["pagination_model"] ?? null), "total_items", [])) {
// line 2
echo "
<h2 class=\"screen-reader-text\">";
// line 3
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "list_navigation", []), "html", null, true);
echo "</h2>
<div class=\"tablenav-pages clearfix\">
<span class=\"displaying-num\">";
// line 7
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["pagination_model"] ?? null), "total_items_text", []), "html", null, true);
echo "</span>
";
// line 9
if (($this->getAttribute(($context["pagination_model"] ?? null), "total_items", []) > $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_items_per_page", []))) {
// line 10
echo "
<span class=\"pagination-links\">
";
// line 13
$this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 13)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 15
($context["pagination_model"] ?? null), "pagination", []), "get_first_page_url", []), "class" => "first-page", "label" => $this->getAttribute($this->getAttribute( // line 17
($context["pagination_model"] ?? null), "strings", []), "first_page", [])]));
// line 20
echo "
";
// line 21
$this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 21)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 23
($context["pagination_model"] ?? null), "pagination", []), "get_previous_page_url", []), "class" => "previous-page", "label" => $this->getAttribute($this->getAttribute( // line 25
($context["pagination_model"] ?? null), "strings", []), "previous_page", [])]));
// line 28
echo "
<span class=\"paging-input\">
";
// line 30
if ((($context["nav_location"] ?? null) == "top")) {
// line 31
echo " <label for=\"current-page-selector-";
echo \WPML\Core\twig_escape_filter($this->env, ($context["nav_location"] ?? null), "html", null, true);
echo "\" class=\"screen-reader-text\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "current_page", []), "html", null, true);
echo "</label>
<input class=\"current-page\" id=\"current-page-selector-";
// line 32
echo \WPML\Core\twig_escape_filter($this->env, ($context["nav_location"] ?? null), "html", null, true);
echo "\" type=\"text\" name=\"paged\"
value=\"";
// line 33
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_current_page", []), "html", null, true);
echo "\" size=\"";
echo \WPML\Core\twig_escape_filter($this->env, \WPML\Core\twig_length_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_total_pages", [])), "html", null, true);
echo "\" aria-describedby=\"table-paging\">
<span class=\"tablenav-paging-text\"> ";
// line 34
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "of", []), "html", null, true);
echo " <span class=\"total-pages\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_total_pages", []), "html", null, true);
echo "</span></span>
";
} else {
// line 36
echo " <span class=\"tablenav-paging-text\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_current_page", []), "html", null, true);
echo " ";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "strings", []), "of", []), "html", null, true);
echo "
<span class=\"total-pages\">";
// line 37
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["pagination_model"] ?? null), "pagination", []), "get_total_pages", []), "html", null, true);
echo "</span>
</span>
";
}
// line 40
echo " </span>
";
// line 42
$this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 42)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 44
($context["pagination_model"] ?? null), "pagination", []), "get_next_page_url", []), "class" => "next-page", "label" => $this->getAttribute($this->getAttribute( // line 46
($context["pagination_model"] ?? null), "strings", []), "next_page", [])]));
// line 49
echo "
";
// line 51
$this->loadTemplate("table-nav-arrow.twig", "pagination.twig", 51)->display(twig_array_merge($context, ["url" => $this->getAttribute($this->getAttribute( // line 53
($context["pagination_model"] ?? null), "pagination", []), "get_last_page_url", []), "class" => "last-page", "label" => $this->getAttribute($this->getAttribute( // line 55
($context["pagination_model"] ?? null), "strings", []), "last_page", [])]));
// line 58
echo "
</span>
";
}
// line 62
echo "
</div>
";
}
}
public function getTemplateName()
{
return "pagination.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 132 => 62, 126 => 58, 124 => 55, 123 => 53, 122 => 51, 118 => 49, 116 => 46, 115 => 44, 114 => 42, 110 => 40, 104 => 37, 97 => 36, 90 => 34, 84 => 33, 80 => 32, 73 => 31, 71 => 30, 67 => 28, 65 => 25, 64 => 23, 63 => 21, 60 => 20, 58 => 17, 57 => 15, 56 => 13, 51 => 10, 49 => 9, 44 => 7, 37 => 3, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "pagination.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/pagination/pagination.twig");
}
}

View File

@@ -0,0 +1,146 @@
<?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_b94ba2839e60d7b1539f29118c7f42fff3db4cdc492c628a83f5116b550362ab 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-post_translations.twig");
}
}

View File

@@ -0,0 +1,174 @@
<?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_00245bcf3b5722f1c77d8b635f0faefc4a2cc89683a496bc1c7ae54aca9364c7 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-trigger-update\"
name=\"";
// line 8
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 9
if ($this->getAttribute(($context["force"] ?? null), "display_flags", [], "any", true, true)) {
echo " disabled=\"disabled\"";
}
// line 10
echo " value=\"1\"";
if ($this->getAttribute(($context["slot_settings"] ?? null), "display_flags", [])) {
echo " checked=\"checked\"";
}
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>
</li>
<li>
<label><input type=\"checkbox\" class=\"js-wpml-ls-setting-display_names_in_native_lang js-wpml-ls-trigger-update\"
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_names_in_native_lang]";
} else {
echo "display_names_in_native_lang";
}
echo "\"
";
// line 15
if ($this->getAttribute(($context["force"] ?? null), "display_names_in_native_lang", [], "any", true, true)) {
echo " disabled=\"disabled\"";
}
// line 16
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 20
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 21
if ($this->getAttribute(($context["force"] ?? null), "display_names_in_current_lang", [], "any", true, true)) {
echo " disabled=\"disabled\"";
}
// line 22
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 26
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 27
if (($this->getAttribute(($context["force"] ?? null), "display_link_for_current_lang", [], "any", true, true) || ($context["is_hierarchical"] ?? null))) {
echo " disabled=\"disabled\"";
}
// line 28
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 ( 136 => 28, 132 => 27, 123 => 26, 111 => 22, 107 => 21, 98 => 20, 86 => 16, 82 => 15, 73 => 14, 61 => 10, 57 => 9, 48 => 8, 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/checkboxes-includes.twig");
}
}

View File

@@ -0,0 +1,78 @@
<?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_be5cb5885c909af23b21ccd778c7d7f5792e4bcd465aa16ae3c868006d94456a 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dialog-box.twig");
}
}

View File

@@ -0,0 +1,86 @@
<?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_9ce143d57918d6f1a4a12b106fcf7e9f72dcea6ecca9ba5a522f129d14c42dd1 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-shortcode_actions.twig");
}
}

View File

@@ -0,0 +1,168 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* media-translation.twig */
class __TwigTemplate_6d053bac71f8b1d0a8209cd736fdd5b4de2320e5e7f0386823a0ed1f94e9d2a7 extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<div class=\"wrap\">
<h2>";
// line 3
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "heading", []), "html", null, true);
echo "</h2>
";
// line 5
$this->loadTemplate("batch-translation.twig", "media-translation.twig", 5)->display(twig_array_merge($context, ($context["batch_translation"] ?? null)));
// line 6
echo "
<div class=\"tablenav top wpml-media-tablenav\">
";
// line 8
$this->loadTemplate("media-translation-filters.twig", "media-translation.twig", 8)->display($context);
// line 9
echo " </div>
<table class=\"widefat striped wpml-media-table js-otgs-table-sticky-header\">
<thead>
<tr>
<th class=\"wpml-col-media-title\">";
// line 14
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "original_language", []), "html", null, true);
echo "</th>
<th class=\"wpml-col-media-translations\">
";
// line 16
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
foreach ($context['_seq'] as $context["code"] => $context["language"]) {
// line 17
echo " ";
if ((twig_test_empty(($context["target_language"] ?? null)) || (($context["target_language"] ?? null) == $context["code"]))) {
// line 18
echo " <span class=\"js-otgs-popover-tooltip\" title=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "name", []), "html", null, true);
echo "\"><img src=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "flag", []), "html", null, true);
echo "\"
width=\"16\" height=\"12\"
alt=\"";
// line 20
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["language"], "code", []), "html", null, true);
echo "\"></span>
";
}
// line 22
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['code'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 23
echo " </th>
</tr>
</thead>
<tbody>
";
// line 27
if (($context["attachments"] ?? null)) {
// line 28
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["attachments"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) {
// line 29
echo " ";
$this->loadTemplate("media-translation-table-row.twig", "media-translation.twig", 29)->display(twig_to_array(["attachment" => $context["attachment"], "languages" => ($context["languages"] ?? null), "strings" => ($context["strings"] ?? null), "target_language" => ($context["target_language"] ?? null)]));
// line 30
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo " ";
} else {
// line 32
echo " <tr>
<td colspan=\"2\">";
// line 33
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "no_attachments", []), "html", null, true);
echo "</td>
</tr>
";
}
// line 36
echo " </tbody>
</table>
<div class=\"tablenav bottom\">
";
// line 41
$this->loadTemplate("pagination.twig", "media-translation.twig", 41)->display(twig_to_array(["pagination_model" => ($context["pagination"] ?? null)]));
// line 42
echo "
";
// line 43
$this->loadTemplate("media-translation-popup.twig", "media-translation.twig", 43)->display($context);
// line 44
echo "
</div>
</div>";
}
public function getTemplateName()
{
return "media-translation.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 135 => 44, 133 => 43, 130 => 42, 128 => 41, 121 => 36, 115 => 33, 112 => 32, 109 => 31, 103 => 30, 100 => 29, 95 => 28, 93 => 27, 87 => 23, 81 => 22, 76 => 20, 68 => 18, 65 => 17, 61 => 16, 56 => 14, 49 => 9, 47 => 8, 43 => 6, 41 => 5, 36 => 3, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "media-translation.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-media-translation/templates/menus/media-translation.twig");
}
}

View File

@@ -0,0 +1,128 @@
<?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_f97c445ddb1ef2ead713a3e1e45c8e21788e7334a1720b25046c51b1f9545861 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/radio-hierarchical-menu.twig");
}
}

View File

@@ -0,0 +1,77 @@
<?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_e27ade5e43aca9b5c1ca995878b62754474ad0581a33abcdeeb6ccf1c959ce34 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/preview.twig");
}
}

View File

@@ -0,0 +1,88 @@
<?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_050533bf27603a13b067456abb7f723d87579fef5bd0d8676ec96fcfca3c3821 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", "/var/www/vhosts/doitinpoland.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/layout-slot-edit-button.twig");
}
}

View File

@@ -0,0 +1,124 @@
<?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_817e6ab94c8106886083003c9b7d5353d876d86c310d54500f52be04a989ce95 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/radio-position-menu.twig");
}
}

View File

@@ -0,0 +1,208 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* media-translation-popup.twig */
class __TwigTemplate_e3cd5fecc75952e368155fca6cd36ebce4c55cc1d5cf49e30d1ff6a24de5bab3 extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<div id=\"wpml-media-dialog\">
<span class=\"ajax-loader\"></span>
<form id=\"wpml-media-dialog-form\" method=\"post\" enctype=\"multipart/form-data\">
";
// line 4
echo ($context["nonce"] ?? null);
echo "
<input type=\"hidden\" name=\"original-attachment-id\" value=\"\"/>
<input type=\"hidden\" name=\"translated-attachment-id\" value=\"\"/>
<input type=\"hidden\" name=\"translated-language\" value=\"\"/>
<input type=\"hidden\" name=\"restore-media\" value=\"0\"/>
<input type=\"hidden\" name=\"update-media-file\" value=\"0\"/>
<input type=\"hidden\" name=\"action\" value=\"wpml_media_save_translation\"/>
<header class=\"wpml-media-translation-header\">
<h3 class=\"wpml-header-original\">";
// line 12
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "original", []), "html", null, true);
echo "<span class=\"wpml-title-flag\"><img
src=\"#\"></span><strong>%from_language%</strong>
</h3>
<h3 class=\"wpml-header-translation\">";
// line 15
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "translation", []), "html", null, true);
echo "<span class=\"wpml-title-flag\"><img
src=\"#\"></span><strong>%to_language%</strong>
</h3>
</header>
<div class=\"wpml-form-row\">
<label>";
// line 23
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "file", []), "html", null, true);
echo "</label>
<span class=\"wpml-media-wrapper\">
<span class=\"wpml-media-original-image\">
<img src=\"#\" alt=\"#\">
<span class=\"wpml-media-original-title\"></span>
</span>
</span>
<span class=\"wpml-media-wrapper wpml-media-upload-handle\">
<a class=\"wpml-media-translation-image drag-drop-area\">
<img src=\"#\" alt=\"#\">
<span class=\"wpml-media-translated-title\"></span>
<span class=\"wpml-media-upload-text hidden\">";
// line 36
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "use_different_file", []), "html", null, true);
echo "</span>
</a>
<span class=\"js-wpml-media-revert wpml-display-block text-center hidden\">
<a class=\"button button-secondary button-small\">";
// line 40
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "revert_to_original", []), "html", null, true);
echo "</a>
</span>
</span>
</div>
<div class=\"wpml-form-row wpml-form-row-title hidden\">
<label for=\"media-title\">";
// line 47
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "name", []), "html", null, true);
echo "</label>
<input readonly value=\"\" id=\"media-title-original\" type=\"text\">
<button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
title=\"";
// line 50
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true);
echo "\"></button>
<input name=\"translation[title]\" id=\"media-title-translation\" value=\"\" type=\"text\">
</div>
<div class=\"wpml-form-row wpml-form-row-caption hidden\">
<label for=\"media-caption\">";
// line 54
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "caption", []), "html", null, true);
echo "</label>
<textarea readonly id=\"media-caption-original\" cols=\"22\" rows=\"4\"></textarea>
<button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
title=\"";
// line 57
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true);
echo "\"></button>
<textarea name=\"translation[caption]\" id=\"media-caption-translation\" cols=\"22\" rows=\"4\"></textarea>
</div>
<div class=\"wpml-form-row wpml-form-row-alt-text hidden\">
<label for=\"media-alt-text\">";
// line 61
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "alt_text", []), "html", null, true);
echo "</label>
<input readonly value=\"\" id=\"media-alt-text-original\" type=\"text\">
<button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
title=\"";
// line 64
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true);
echo "\"></button>
<input name=\"translation[alt-text]\" id=\"media-alt-text-translation\" value=\"\" type=\"text\">
</div>
<div class=\"wpml-form-row wpml-form-row-description hidden\">
<label for=\"media-description\">";
// line 68
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "description", []), "html", null, true);
echo "</label>
<textarea readonly id=\"media-description-original\" cols=\"22\" rows=\"4\"></textarea>
<button class=\"button-copy button-secondary js-button-copy otgs-ico-copy\"
title=\"";
// line 71
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "copy_from_original", []), "html", null, true);
echo "\"></button>
<textarea name=\"translation[description]\" id=\"media-description-translation\" cols=\"22\" rows=\"4\"></textarea>
</div>
</form>
";
// line 75
if (($context["show_text_change_notice"] ?? null)) {
// line 76
echo " <div class=\"text-change-notice notice notice-info inline is-dismissible hidden\">
<p>";
// line 77
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "texts_change_notice", []), "html", null, true);
echo "</p>
</div>
";
}
// line 80
echo " <div id=\"wpml-media-upload-progress-animation\">
<div class=\"upload-progress-bar\"></div>
<div class=\"status\">0%</div>
</div>
<span id=\"wpml-media-upload-error\" class=\"icl_error_text\"></span>
</div>
<form id=\"wpml-media-file-upload-form\" enctype=\"multipart/form-data\">
<input type=\"hidden\" name=\"action\" value=\"wpml_media_upload_file\">
<input type=\"hidden\" name=\"attachment-id\" value=\"\">
<input type=\"hidden\" name=\"original-attachment-id\" value=\"\">
<input type=\"hidden\" name=\"language\" value=\"\">
";
// line 91
echo ($context["nonce"] ?? null);
echo "
<input style=\"display:none\" type=\"file\" name=\"image\" accept=\"image/*\" />
</form>
";
}
public function getTemplateName()
{
return "media-translation-popup.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 174 => 91, 161 => 80, 155 => 77, 152 => 76, 150 => 75, 143 => 71, 137 => 68, 130 => 64, 124 => 61, 117 => 57, 111 => 54, 104 => 50, 98 => 47, 88 => 40, 81 => 36, 65 => 23, 54 => 15, 48 => 12, 37 => 4, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "media-translation-popup.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-media-translation/templates/menus/media-translation-popup.twig");
}
}

View File

@@ -0,0 +1,88 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* table-nav-arrow.twig */
class __TwigTemplate_673c975c11bf0378c39269c18bc1e20b4f86c864c440437ac71d430ffae3cb0d extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["arrows"] = ["first-page" => "«", "previous-page" => "", "next-page" => "", "last-page" => "»"];
// line 8
echo "
";
// line 9
if (($context["url"] ?? null)) {
// line 10
echo " <a class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
echo "\" href=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["url"] ?? null), "html", null, true);
echo "\">
<span class=\"screen-reader-text\">";
// line 11
echo \WPML\Core\twig_escape_filter($this->env, ($context["label"] ?? null), "html", null, true);
echo "</span><span aria-hidden=\"true\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["arrows"] ?? null), ($context["class"] ?? null), [], "array"), "html", null, true);
echo "</span>
</a>
";
} else {
// line 14
echo " <span class=\"tablenav-pages-navspan\" aria-hidden=\"true\">";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["arrows"] ?? null), ($context["class"] ?? null), [], "array"), "html", null, true);
echo "</span>
";
}
}
public function getTemplateName()
{
return "table-nav-arrow.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 54 => 14, 46 => 11, 39 => 10, 37 => 9, 34 => 8, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "table-nav-arrow.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/pagination/table-nav-arrow.twig");
}
}

View File

@@ -0,0 +1,91 @@
<?php
namespace WPML\Core;
use \WPML\Core\Twig\Environment;
use \WPML\Core\Twig\Error\LoaderError;
use \WPML\Core\Twig\Error\RuntimeError;
use \WPML\Core\Twig\Markup;
use \WPML\Core\Twig\Sandbox\SecurityError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedTagError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFilterError;
use \WPML\Core\Twig\Sandbox\SecurityNotAllowedFunctionError;
use \WPML\Core\Twig\Source;
use \WPML\Core\Twig\Template;
/* translation-priority-select.twig */
class __TwigTemplate_4c4d1762c89a4f8276c94bd3258498ecf204d35eb88ba21ca1751d4cf5154df5 extends \WPML\Core\Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "<select class=\"wpml-select2-button js-change-translation-priority\" id=\"icl-st-change-translation-priority-selected\" disabled=\"disabled\">
<option value=\"\">";
// line 2
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute(($context["strings"] ?? null), "empty_text", []));
echo "</option>
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["translation_priorities"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["translation_priority"]) {
// line 4
echo " <option value=\"";
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["translation_priority"], "name", []), "html", null, true);
echo "\">
";
// line 5
echo \WPML\Core\twig_escape_filter($this->env, $this->getAttribute($context["translation_priority"], "name", []), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['translation_priority'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 8
echo "</select>
";
// line 10
echo ($context["nonce"] ?? null);
}
public function getTemplateName()
{
return "translation-priority-select.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 61 => 10, 57 => 8, 48 => 5, 43 => 4, 39 => 3, 35 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "translation-priority-select.twig", "/home/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/wpml-string-translation/templates/translation-priority/translation-priority-select.twig");
}
}

View File

@@ -0,0 +1,108 @@
<?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_9f0a8279c1c6f2c469f99d736aca20724fb4b831e0085d1a7164e2c4fbbbafd4 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-menus.twig");
}
}

View File

@@ -0,0 +1,113 @@
<?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_5373f99dacd0948b15e966bbb704ef4318317d2a51eeaebc25d53eeab8890abc 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-sidebars.twig");
}
}

View File

@@ -0,0 +1,105 @@
<?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_87e40903f5bb1503dd9d43ca8bbf5adf04ba22abb496a4fff4ed4e6641159e72 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-post-translations.twig");
}
}

View File

@@ -0,0 +1,109 @@
<?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_59ef179d86ca97114ea661e72e1baaaa78d5633a187f67869ccabbd5b82245d0 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-sidebars.twig");
}
}

View File

@@ -0,0 +1,107 @@
<?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_92824ab50c577a3498028818411f9fe99010fccb0c0d97fbbbfa530127798fdd 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
echo "
";
// line 6
$this->loadTemplate("flag.twig", "template.twig", 6)->display(twig_array_merge($context, ["language" => ["flag_url" => ($context["flag_url"] ?? null), "flag_alt" => ($context["flag_alt"] ?? null), "flag_width" => ($context["flag_width"] ?? null), "flag_height" => ($context["flag_height"] ?? null)], "css_classes_flag" => ($context["css_classes_flag"] ?? null)]));
// line 9
if (($context["native_name"] ?? null)) {
// line 10
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, ($context["code"] ?? null), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, ($context["native_name"] ?? null), "html", null, true);
echo "</span>";
}
// line 13
if ((($context["display_name"] ?? null) && (($context["display_name"] ?? null) != ($context["native_name"] ?? null)))) {
// line 14
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_display"] ?? null), "html", null, true);
echo "\">";
// line 15
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\"> (</span>";
}
// line 16
echo \WPML\Core\twig_escape_filter($this->env, ($context["display_name"] ?? null), "html", null, true);
// line 17
if (($context["native_name"] ?? null)) {
echo "<span class=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\">)</span>";
}
// line 18
echo "</span>";
}
}
public function getTemplateName()
{
return "template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 18, 70 => 17, 68 => 16, 62 => 15, 58 => 14, 56 => 13, 47 => 10, 45 => 9, 43 => 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", "/var/www/vhosts/doitinpoland.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/template.twig");
}
}

View File

@@ -0,0 +1,104 @@
<?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", "/var/www/vhosts/doitinpoland.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/flag.twig");
}
}

View File

@@ -0,0 +1,161 @@
<?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_c81877a49fae93c9d2ed7271ec061d92e3136f60bdb8981e1865d3a692d1f0e0 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/table-slots.twig");
}
}

View File

@@ -0,0 +1,110 @@
<?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_ac519db7208f9cb753c076da52442eb9e4c9d0826d79078a1d6ceb9e6a7b8fa0 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/section-shortcode-action.twig");
}
}

View File

@@ -0,0 +1,58 @@
<?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_b6dd72eb374a5da7111c26e07bb12f69fbd6287cfb8a8ef9102c5663cf424c88 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/save-notification.twig");
}
}

View File

@@ -0,0 +1,113 @@
<?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_f1ce739fef7bc7dd794b2d41967bdabc42dcf72469c8d61332036acc83b8ef88 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/dropdown-menus.twig");
}
}

View File

@@ -0,0 +1,86 @@
<?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_09a7528974b03227a24fe2e97b7c69decb7e9737e7faeb979e647bdd00231d8a 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/infinitycons/ftp/wingedit/doitinpoland.com/wp-content/plugins/sitepress-multilingual-cms/templates/language-switcher-admin-ui/slot-subform-statics-footer.twig");
}
}