parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 $context["min_chars"] = $this->getAttribute(($context["config"] ?? null), "get", [0 => "plugins.simplesearch.min_query_length", 1 => 3], "method"); // line 2 echo "
0)) { echo " data-min=\""; echo ($context["min_chars"] ?? null); echo "\" "; } // line 10 echo " required placeholder=\""; // line 11 echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->env, "PLUGIN_SIMPLESEARCH.SEARCH_PLACEHOLDER"); echo "\" value=\""; // line 12 echo twig_escape_filter($this->env, ($context["query"] ?? null)); echo "\" data-search-invalid=\""; // line 13 echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->env, "PLUGIN_SIMPLESEARCH.SEARCH_FIELD_MINIMUM_CHARACTERS", ($context["min_chars"] ?? null)); echo "\" data-search-separator=\""; // line 14 echo $this->getAttribute($this->getAttribute(($context["config"] ?? null), "system", []), "param_sep", []); echo "\" data-search-input=\""; // line 15 echo ($context["base_url"] ?? null); echo ((($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", []), "simplesearch", []), "route", []) == "@self")) ? ("") : (((($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", []), "simplesearch", []), "route", []) == "/")) ? ("") : ($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", []), "simplesearch", []), "route", []))))); echo "/query\" /> "; // line 17 if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", []), "simplesearch", []), "display_button", [])) { // line 18 echo " "; } // line 22 echo "
"; } public function getTemplateName() { return "partials/simplesearch_searchbox.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 83 => 22, 77 => 19, 74 => 18, 72 => 17, 66 => 15, 62 => 14, 58 => 13, 54 => 12, 50 => 11, 47 => 10, 41 => 9, 32 => 2, 30 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("{% set min_chars = config.get('plugins.simplesearch.min_query_length', 3) %}
0 %} data-min=\"{{- min_chars -}}\" {% endif %} required placeholder=\"{{\"PLUGIN_SIMPLESEARCH.SEARCH_PLACEHOLDER\"|t}}\" value=\"{{ query|e }}\" data-search-invalid=\"{{ \"PLUGIN_SIMPLESEARCH.SEARCH_FIELD_MINIMUM_CHARACTERS\"|t(min_chars)|raw }}\" data-search-separator=\"{{ config.system.param_sep }}\" data-search-input=\"{{ base_url }}{{ config.plugins.simplesearch.route == '@self' ? '' : (config.plugins.simplesearch.route == '/' ? '' : config.plugins.simplesearch.route) }}/query\" /> {% if config.plugins.simplesearch.display_button %} {% endif %}
", "partials/simplesearch_searchbox.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/plugins/simplesearch/templates/partials/simplesearch_searchbox.html.twig"); } }