<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* ucp_zebra_friends.html */
class __TwigTemplate_28617bfd09906bc38d9cb1fccd7de953a036675c55e0b7c87108cbe759643d8f extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        $location = "ucp_header.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("ucp_header.html", "ucp_zebra_friends.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "<div class=\"tab-pane active\">
<form id=\"ucp\" method=\"post\" action=\"";
        // line 3
        echo ($context["S_UCP_ACTION"] ?? null);
        echo "\"";
        echo ($context["S_FORM_ENCTYPE"] ?? null);
        echo ">
<fieldset class=\"framed-ucp\">
    <legend>";
        // line 5
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("TITLE");
        echo "</legend>
\t <p>";
        // line 6
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FRIENDS_EXPLAIN");
        echo "</p>
\t
\t";
        // line 8
        if (($context["ERROR"] ?? null)) {
            // line 9
            echo "\t<div class=\"alert alert-info fade in\">
       <i class=\"fa fa-warning\"></i><strong>&nbsp;";
            // line 10
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("INFO_BOX");
            echo "</strong>&nbsp;";
            echo ($context["ERROR"] ?? null);
            echo "
    </div>
\t";
        }
        // line 13
        echo "\t
    ";
        // line 14
        // line 15
        echo "\t
\t<div class=\"control-group\"> 
\t   <label class=\"control-label\"";
        // line 17
        if (($context["S_USERNAME_OPTIONS"] ?? null)) {
            echo " for=\"usernames\"";
        }
        echo ">";
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("YOUR_FRIENDS");
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
        echo "</label><span class=\"help-block\">";
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("YOUR_FRIENDS_EXPLAIN");
        echo "</span>
\t<div class=\"controls controls-row\"> 
       <div class=\"selector\">
\t    ";
        // line 20
        if (($context["S_USERNAME_OPTIONS"] ?? null)) {
            // line 21
            echo "\t\t\t<select class=\"selectpicker\" data-selected-text-format=\"count\" data-container=\"body\" name=\"usernames[]\" id=\"usernames\" multiple=\"multiple\" size=\"5\">";
            echo ($context["S_USERNAME_OPTIONS"] ?? null);
            echo "</select>
\t\t";
        } else {
            // line 23
            echo "\t\t\t<span class=\"label label-default\">";
            echo $this->env->getExtension('phpbb\template\twig\extension')->lang("NO_FRIENDS");
            echo "</span>
\t\t";
        }
        // line 25
        echo "\t   </div>
\t</div> 
\t</div>
\t
\t";
        // line 29
        // line 30
        echo "\t
\t<div class=\"control-group\"> 
\t   <label class=\"control-label\" for=\"add\">";
        // line 32
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("ADD_FRIENDS");
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("COLON");
        echo "</label><span class=\"help-block\">";
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("ADD_FRIENDS_EXPLAIN");
        echo "</span>
\t<div class=\"controls controls-row\"> 
    \t<textarea class=\"form-control\" name=\"add\" id=\"add\" rows=\"2\" placeholder=\"";
        // line 34
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("UCP_REG_USR_PLACEHOLDER");
        echo "\">";
        echo ($context["USERNAMES"] ?? null);
        echo "</textarea>
\t<a href=\"";
        // line 35
        echo ($context["U_FIND_USERNAME"] ?? null);
        echo "\" onclick=\"find_username(this.href); return false;\">";
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("FIND_USERNAME");
        echo "</a>
\t</div> 
\t<div class=\"space10\"></div>
\t</div>
\t<div class=\"space10\"></div>
\t";
        // line 40
        echo ($context["S_HIDDEN_FIELDS"] ?? null);
        echo "
\t   <button type=\"reset\" value=\"";
        // line 41
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("RESET");
        echo "\" name=\"reset\" class=\"btn btn-default\">";
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("RESET");
        echo "</button>
\t   <button type=\"submit\" name=\"submit\" value=\"";
        // line 42
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SUBMIT");
        echo "\" class=\"btn btn-default\">";
        echo $this->env->getExtension('phpbb\template\twig\extension')->lang("SUBMIT");
        echo "</button>
\t";
        // line 43
        echo ($context["S_FORM_TOKEN"] ?? null);
        echo "
</fieldset>
</form>
</div>
";
        // line 47
        $location = "ucp_footer.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("ucp_footer.html", "ucp_zebra_friends.html", 47)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

    public function getTemplateName()
    {
        return "ucp_zebra_friends.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  167 => 47,  160 => 43,  154 => 42,  148 => 41,  144 => 40,  134 => 35,  128 => 34,  120 => 32,  116 => 30,  115 => 29,  109 => 25,  103 => 23,  97 => 21,  95 => 20,  82 => 17,  78 => 15,  77 => 14,  74 => 13,  66 => 10,  63 => 9,  61 => 8,  56 => 6,  52 => 5,  45 => 3,  42 => 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("", "ucp_zebra_friends.html", "");
    }
}
