var/cache/dev/twig/31/3100bcf0df7e2d2fed233769a90ed1eb.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @UVDeskSupportCenter/Staff/spam.html.twig */
  14. class __TwigTemplate_c8a6ceb10f87bfb092502fdc7828de8f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'pageContent' => [$this'block_pageContent'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@UVDeskCoreFramework//Templates//layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskSupportCenter/Staff/spam.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskSupportCenter/Staff/spam.html.twig"));
  39.         $this->parent $this->loadTemplate("@UVDeskCoreFramework//Templates//layout.html.twig""@UVDeskSupportCenter/Staff/spam.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo 
  55. \t";
  56.         // line 4
  57.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Spam Settings", [], "messages");
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.     }
  63.     // line 7
  64.     public function block_pageContent($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  71.         // line 8
  72.         echo "\t<div class=\"uv-inner-section\">
  73. \t\t";
  74.         // line 10
  75.         echo "\t\t";
  76.         $context["asideTemplate"] = "Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\AsideTemplate";
  77.         // line 11
  78.         echo "\t\t";
  79.         $context["asideSidebarReference"] = "Webkul\\UVDesk\\CoreFrameworkBundle\\UIComponents\\Dashboard\\Panel\\Sidebars\\Settings";
  80.         // line 12
  81.         echo "
  82. \t\t";
  83.         // line 13
  84.         echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles"$context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.'13$this->source); })()), "getRegisteredComponent", [=> (isset($context["asideTemplate"]) || array_key_exists("asideTemplate"$context) ? $context["asideTemplate"] : (function () { throw new RuntimeError('Variable "asideTemplate" does not exist.'13$this->source); })())], "method"falsefalsefalse13), "renderSidebar", [=> (isset($context["asideSidebarReference"]) || array_key_exists("asideSidebarReference"$context) ? $context["asideSidebarReference"] : (function () { throw new RuntimeError('Variable "asideSidebarReference" does not exist.'13$this->source); })())], "method"falsefalsefalse13);
  85.         echo "
  86. \t\t
  87. \t\t<div class=\"uv-view ";
  88.         // line 15
  89.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "cookies", [], "any"falsefalsefalse15) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "cookies", [], "any"falsefalsefalse15), "get", [=> "uv-asideView"], "method"falsefalsefalse15))) {
  90.             echo "uv-aside-view";
  91.         }
  92.         echo "\">
  93. \t\t\t<h1>";
  94.         // line 16
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Spam Settings"), "html"nulltrue);
  96.         echo "</h1>
  97. \t\t\t<!--Form-->
  98. \t\t\t<form method=\"post\" action=\"";
  99.         // line 18
  100.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_spam");
  101.         echo "\">
  102. \t\t\t\t<!-- Field -->
  103. \t\t\t\t<div class=\"uv-element-block\">
  104. \t\t\t\t\t<label class=\"uv-field-label\">";
  105.         // line 21
  106.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Black list"), "html"nulltrue);
  107.         echo "</label>
  108. \t\t\t\t\t<div class=\"uv-field-block\">
  109. \t\t\t\t\t\t<textarea name=\"blackList\" class=\"uv-field\">";
  110.         // line 23
  111.         echo twig_escape_filter($this->env, (isset($context["blacklist"]) || array_key_exists("blacklist"$context) ? $context["blacklist"] : (function () { throw new RuntimeError('Variable "blacklist" does not exist.'23$this->source); })()), "html"nulltrue);
  112.         echo "</textarea>
  113. \t\t\t\t\t</div>
  114. \t\t\t\t\t<span class=\"uv-field-info\">";
  115.         // line 25
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comma (,) separated values (Eg. support@example.com, @example.com, 68.98.31.226)"), "html"nulltrue);
  117.         echo "</span>
  118. \t\t\t\t</div>
  119. \t\t\t\t<!-- //Field -->
  120. \t\t\t\t<!-- Field -->
  121. \t\t\t\t<div class=\"uv-element-block\">
  122. \t\t\t\t\t<label class=\"uv-field-label\">";
  123.         // line 31
  124.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("White list"), "html"nulltrue);
  125.         echo "</label>
  126. \t\t\t\t\t<div class=\"uv-field-block\">
  127. \t\t\t\t\t\t<textarea name=\"whiteList\" class=\"uv-field\">";
  128.         // line 33
  129.         echo twig_escape_filter($this->env, (isset($context["whitelist"]) || array_key_exists("whitelist"$context) ? $context["whitelist"] : (function () { throw new RuntimeError('Variable "whitelist" does not exist.'33$this->source); })()), "html"nulltrue);
  130.         echo "</textarea>
  131. \t\t\t\t\t</div>
  132. \t\t\t\t\t<span class=\"uv-field-info\">";
  133.         // line 35
  134.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comma (,) separated values (Eg. support@example.com, @example.com, 68.98.31.226)"), "html"nulltrue);
  135.         echo "</span>
  136. \t\t\t\t</div>
  137. \t\t\t\t<!-- //Field -->
  138. \t\t\t\t<!--CTA-->
  139. \t\t\t\t<input class=\"uv-btn\" href=\"#\" value=\"";
  140.         // line 40
  141.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html"nulltrue);
  142.         echo "\" type=\"submit\">
  143. \t\t\t\t<!--//CTA-->
  144. \t\t\t</form>
  145. \t\t\t<!--//Form-->
  146. \t\t</div>
  147. \t</div>
  148. ";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.     }
  154.     public function getTemplateName()
  155.     {
  156.         return "@UVDeskSupportCenter/Staff/spam.html.twig";
  157.     }
  158.     public function isTraitable()
  159.     {
  160.         return false;
  161.     }
  162.     public function getDebugInfo()
  163.     {
  164.         return array (  162 => 40,  154 => 35,  149 => 33,  144 => 31,  135 => 25,  130 => 23,  125 => 21,  119 => 18,  114 => 16,  108 => 15,  103 => 13,  100 => 12,  97 => 11,  94 => 10,  91 => 8,  81 => 7,  71 => 4,  59 => 3,  36 => 1,);
  165.     }
  166.     public function getSourceContext()
  167.     {
  168.         return new Source("{% extends \"@UVDeskCoreFramework//Templates//layout.html.twig\" %}
  169. {% block title %} 
  170. \t{% trans %}Spam Settings{% endtrans %}
  171. {% endblock %}
  172. {% block pageContent %}
  173. \t<div class=\"uv-inner-section\">
  174. \t\t{# Append Panel Aside #}
  175. \t\t{% set asideTemplate = 'Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\AsideTemplate' %}
  176. \t\t{% set asideSidebarReference = 'Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\UIComponents\\\\Dashboard\\\\Panel\\\\Sidebars\\\\Settings' %}
  177. \t\t{{ uvdesk_extensibles.getRegisteredComponent(asideTemplate).renderSidebar(asideSidebarReference) | raw }}
  178. \t\t
  179. \t\t<div class=\"uv-view {% if app.request.cookies and app.request.cookies.get('uv-asideView') %}uv-aside-view{% endif %}\">
  180. \t\t\t<h1>{{ 'Spam Settings'|trans }}</h1>
  181. \t\t\t<!--Form-->
  182. \t\t\t<form method=\"post\" action=\"{{ path('helpdesk_member_knowledgebase_spam') }}\">
  183. \t\t\t\t<!-- Field -->
  184. \t\t\t\t<div class=\"uv-element-block\">
  185. \t\t\t\t\t<label class=\"uv-field-label\">{{ 'Black list'|trans }}</label>
  186. \t\t\t\t\t<div class=\"uv-field-block\">
  187. \t\t\t\t\t\t<textarea name=\"blackList\" class=\"uv-field\">{{ blacklist }}</textarea>
  188. \t\t\t\t\t</div>
  189. \t\t\t\t\t<span class=\"uv-field-info\">{{ \"Comma (,) separated values (Eg. support@example.com, @example.com, 68.98.31.226)\"|trans }}</span>
  190. \t\t\t\t</div>
  191. \t\t\t\t<!-- //Field -->
  192. \t\t\t\t<!-- Field -->
  193. \t\t\t\t<div class=\"uv-element-block\">
  194. \t\t\t\t\t<label class=\"uv-field-label\">{{ 'White list'|trans }}</label>
  195. \t\t\t\t\t<div class=\"uv-field-block\">
  196. \t\t\t\t\t\t<textarea name=\"whiteList\" class=\"uv-field\">{{ whitelist }}</textarea>
  197. \t\t\t\t\t</div>
  198. \t\t\t\t\t<span class=\"uv-field-info\">{{ 'Comma (,) separated values (Eg. support@example.com, @example.com, 68.98.31.226)'|trans }}</span>
  199. \t\t\t\t</div>
  200. \t\t\t\t<!-- //Field -->
  201. \t\t\t\t<!--CTA-->
  202. \t\t\t\t<input class=\"uv-btn\" href=\"#\" value=\"{{ 'Save Changes'|trans }}\" type=\"submit\">
  203. \t\t\t\t<!--//CTA-->
  204. \t\t\t</form>
  205. \t\t\t<!--//Form-->
  206. \t\t</div>
  207. \t</div>
  208. {% endblock %}
  209. ""@UVDeskSupportCenter/Staff/spam.html.twig""/var/www/vhosts/kuckuck.app/support.kuckuck.app/vendor/uvdesk/support-center-bundle/Resources/views/Staff/spam.html.twig");
  210.     }
  211. }