Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,212 @@
<?php
/* @AdvancedParameters/memcache_servers.html.twig */
class __TwigTemplate_8cf9cbfa053ba99413b9b90154ccd80fd702eabe5664c7a24d8686b08606c892 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'perfs_memcache_servers' => array($this, 'block_perfs_memcache_servers'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 26
echo "
";
// line 27
$this->displayBlock('perfs_memcache_servers', $context, $blocks);
}
public function block_perfs_memcache_servers($context, array $blocks = array())
{
// line 28
echo "<div class=\"form-group row memcache\" id=\"new-server-btn\">
<a
class=\"btn btn-default\"
data-toggle=\"collapse\"
href=\"#server-form\"
aria-expanded=\"false\"
aria-controls=\"server-form\"
><i class=\"material-icons\">add_circle</i> ";
// line 35
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Add server", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</a>
</div>
<div id=\"server-form\" class=\"collapse\">
<div class=\"form-group row\">
<label class=\"form-control-label\">";
// line 40
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("IP Address", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</label>
<div class=\"col-sm\">
";
// line 42
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "memcache_ip", array()), 'errors');
echo "
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "memcache_ip", array()), 'widget');
echo "
</div>
</div>
<div class=\"form-group row\">
<label class=\"form-control-label\">";
// line 48
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Port", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</label>
<div class=\"col-sm\">
";
// line 50
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "memcache_port", array()), 'errors');
echo "
";
// line 51
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "memcache_port", array()), 'widget');
echo "
</div>
</div>
<div class=\"form-group row\">
<label class=\"form-control-label\">";
// line 56
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Weight", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</label>
<div class=\"col-sm\">
";
// line 58
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "memcache_weight", array()), 'errors');
echo "
";
// line 59
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "memcache_weight", array()), 'widget');
echo "
</div>
</div>
";
// line 63
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'rest');
echo "
<div class=\"form-group\">
<div class=\"float-right\">
<button id=\"add-server-btn\" class=\"btn btn-primary\">";
// line 67
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Add Server", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</button>
<button id=\"test-server-btn\" class=\"btn btn-primary\">";
// line 68
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Test Server", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</button>
</div>
</div>
</div>
<div id=\"servers-list\" class=\"memcache\">
<div class=\"form-group\">
<table class=\"table\" id=\"servers-table\">
<thead>
<tr>
<th class=\"fixed-width-xs\"><span class=\"title_box\">";
// line 78
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("ID", array(), "Admin.Global"), "html", null, true);
echo "</span></th>
<th><span class=\"title_box\">";
// line 79
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("IP Address", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</span></th>
<th class=\"fixed-width-xs\"><span class=\"title_box\">";
// line 80
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Port", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</span></th>
<th class=\"fixed-width-xs\"><span class=\"title_box\">";
// line 81
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Weight", array(), "Admin.Advparameters.Feature"), "html", null, true);
echo "</span></th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
";
// line 86
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["servers"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["server"]) {
// line 87
echo " <tr id=\"row_";
echo twig_escape_filter($this->env, $this->getAttribute($context["server"], "id_memcached_server", array()), "html", null, true);
echo "\">
<td>";
// line 88
echo twig_escape_filter($this->env, $this->getAttribute($context["server"], "id_memcached_server", array()), "html", null, true);
echo "</td>
<td>";
// line 89
echo twig_escape_filter($this->env, $this->getAttribute($context["server"], "ip", array()), "html", null, true);
echo "</td>
<td>";
// line 90
echo twig_escape_filter($this->env, $this->getAttribute($context["server"], "port", array()), "html", null, true);
echo "</td>
<td>";
// line 91
echo twig_escape_filter($this->env, $this->getAttribute($context["server"], "weight", array()), "html", null, true);
echo "</td>
<td>
";
// line 93
$context["removeMsg"] = twig_jsonencode_filter($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Do you really want to remove the server %serverIp%:%serverPort% ?", array("%serverIp%" => $this->getAttribute($context["server"], "ip", array()), "%serverPort%" => $this->getAttribute($context["server"], "port", array())), "Admin.Advparameters.Notification"));
// line 94
echo " <a class=\"btn btn-default\" href=\"\" onclick=\"app.removeServer(";
echo twig_escape_filter($this->env, $this->getAttribute($context["server"], "id_memcached_server", array()), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, ($context["removeMsg"] ?? null), "html", null, true);
echo ");\"><i class=\"material-icons\">remove_circle</i> ";
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Remove", array(), "Admin.Actions"), "html", null, true);
echo "</a>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['server'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 98
echo " </tbody>
</table>
</div>
</div>
";
}
public function getTemplateName()
{
return "@AdvancedParameters/memcache_servers.html.twig";
}
public function getDebugInfo()
{
return array ( 183 => 98, 168 => 94, 166 => 93, 161 => 91, 157 => 90, 153 => 89, 149 => 88, 144 => 87, 140 => 86, 132 => 81, 128 => 80, 124 => 79, 120 => 78, 107 => 68, 103 => 67, 96 => 63, 89 => 59, 85 => 58, 80 => 56, 72 => 51, 68 => 50, 63 => 48, 55 => 43, 51 => 42, 46 => 40, 38 => 35, 29 => 28, 23 => 27, 20 => 26,);
}
/** @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 Twig_Source("", "@AdvancedParameters/memcache_servers.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Configure/AdvancedParameters/memcache_servers.html.twig");
}
}

View File

@@ -0,0 +1,221 @@
<?php
/* @PrestaShop/Admin/Helpers/bootstrap_popup.html.twig */
class __TwigTemplate_08df5c1e664c52d53c5817442761f0dfe02bcbd618b1bd7fd8135c88b22598cf extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'header' => array($this, 'block_header'),
'content' => array($this, 'block_content'),
'footer' => array($this, 'block_footer'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 25
echo "<div class=\"modal fade\" id=\"";
echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo "\" tabindex=\"-1\">
<div class=\"modal-dialog ";
// line 26
if (array_key_exists("class", $context)) {
echo twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
}
echo "\">
<div class=\"modal-content\">
";
// line 28
$this->displayBlock('header', $context, $blocks);
// line 36
echo "
";
// line 37
$this->displayBlock('content', $context, $blocks);
// line 39
echo "
";
// line 40
if (array_key_exists("progressbar", $context)) {
// line 41
echo " <div class=\"modal-body\" id=\"";
echo twig_escape_filter($this->env, $this->getAttribute(($context["progressbar"] ?? null), "id", array()), "html", null, true);
echo "\">
<div class=\"float-right progress-details-text\" default-value=\"";
// line 42
echo twig_escape_filter($this->env, (($this->getAttribute(($context["progressbar"] ?? null), "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["progressbar"] ?? null), "label", array()), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))), "html", null, true);
echo "\">
";
// line 43
echo twig_escape_filter($this->env, (($this->getAttribute(($context["progressbar"] ?? null), "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["progressbar"] ?? null), "label", array()), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))), "html", null, true);
echo "
</div>
<div class=\"progress active progress-striped\" style=\"display: block; width: 100%\">
<div class=\"progress-bar progress-bar-success\" role=\"progressbar\" style=\"width: 0%\">
<span>0 %</span>
</div>
</div>
</div>
";
}
// line 52
echo "
";
// line 53
$this->displayBlock('footer', $context, $blocks);
// line 71
echo " </div>
</div>
</div>
<script>
\$(document).ready(function() {
var closable = ";
// line 76
if ((array_key_exists("closable", $context) && (($context["closable"] ?? null) == true))) {
echo "true";
} else {
echo "false";
}
echo ";
\$('#";
// line 77
echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
echo "').modal({
backdrop: (closable ? true : 'static'),
keyboard: closable,
closable: closable,
show: false
});
});
</script>
";
}
// line 28
public function block_header($context, array $blocks = array())
{
// line 29
echo " ";
if (array_key_exists("title", $context)) {
// line 30
echo " <div class=\"modal-header\">
<h4 class=\"modal-title\">";
// line 31
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo "</h4>
";
// line 32
if ((array_key_exists("closable", $context) && (($context["closable"] ?? null) == true))) {
echo "<button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>";
}
// line 33
echo " </div>
";
}
// line 35
echo " ";
}
// line 37
public function block_content($context, array $blocks = array())
{
// line 38
echo " ";
}
// line 53
public function block_footer($context, array $blocks = array())
{
// line 54
echo " ";
if (array_key_exists("actions", $context)) {
// line 55
echo " <div class=\"modal-footer\">
";
// line 56
if ((array_key_exists("closable", $context) && (($context["closable"] ?? null) == true))) {
// line 57
echo " <button type=\"button\" class=\"btn btn-outline-secondary btn-lg\" data-dismiss=\"modal\">";
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Close", array(), "Admin.Actions"), "html", null, true);
echo "</button>
";
}
// line 59
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["actions"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
// line 60
echo " ";
if (($this->getAttribute($context["action"], "type", array(), "any", true, true) && ($this->getAttribute($context["action"], "type", array()) == "link"))) {
// line 61
echo " <a href=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "href", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "href", array()), "#")) : ("#")), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "class", array()), "btn")) : ("btn")), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "label", array()), "Label is missing")) : ("Label is missing")), "html", null, true);
echo "</a>
";
} elseif (($this->getAttribute( // line 62
$context["action"], "type", array(), "any", true, true) && ($this->getAttribute($context["action"], "type", array()) == "button"))) {
// line 63
echo " <button type=\"button\" value=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "value", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "value", array()), "")) : ("")), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "class", array()), "btn")) : ("btn")), "html", null, true);
echo "\">
";
// line 64
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "label", array()), "Label is missing")) : ("Label is missing")), "html", null, true);
echo "
</button>
";
}
// line 67
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 68
echo " </div>
";
}
// line 70
echo " ";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 191 => 70, 187 => 68, 181 => 67, 175 => 64, 168 => 63, 166 => 62, 157 => 61, 154 => 60, 149 => 59, 143 => 57, 141 => 56, 138 => 55, 135 => 54, 132 => 53, 128 => 38, 125 => 37, 121 => 35, 117 => 33, 113 => 32, 109 => 31, 106 => 30, 103 => 29, 100 => 28, 87 => 77, 79 => 76, 72 => 71, 70 => 53, 67 => 52, 55 => 43, 51 => 42, 46 => 41, 44 => 40, 41 => 39, 39 => 37, 36 => 36, 34 => 28, 27 => 26, 22 => 25,);
}
/** @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 Twig_Source("", "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Helpers/bootstrap_popup.html.twig");
}
}