<?php

/* acp_language.html */
class __TwigTemplate_eed240c5f269ed4c4e57a295e2f47125f409b564fefab78eb6ec2eb19ab49887 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        $location = "overall_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("overall_header.html", "acp_language.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "
<a id=\"maincontent\"></a>

";
        // line 5
        if ((isset($context["S_DETAILS"]) ? $context["S_DETAILS"] : null)) {
            // line 6
            echo "
\t<a href=\"";
            // line 7
            echo (isset($context["U_BACK"]) ? $context["U_BACK"] : null);
            echo "\" style=\"float: ";
            echo (isset($context["S_CONTENT_FLOW_END"]) ? $context["S_CONTENT_FLOW_END"] : null);
            echo ";\">&laquo; ";
            echo $this->env->getExtension('phpbb')->lang("BACK");
            echo "</a>

\t<h1>";
            // line 9
            echo $this->env->getExtension('phpbb')->lang("LANGUAGE_PACK_DETAILS");
            echo "</h1>

\t<form id=\"details\" method=\"post\" action=\"";
            // line 11
            echo (isset($context["U_ACTION"]) ? $context["U_ACTION"] : null);
            echo "\">

\t<fieldset>
\t\t<legend>";
            // line 14
            echo (isset($context["LANG_LOCAL_NAME"]) ? $context["LANG_LOCAL_NAME"] : null);
            echo "</legend>
\t<dl>
\t\t<dt><label for=\"lang_english_name\">";
            // line 16
            echo $this->env->getExtension('phpbb')->lang("LANG_ENGLISH_NAME");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</label></dt>
\t\t<dd><input type=\"text\" id=\"lang_english_name\" name=\"lang_english_name\" value=\"";
            // line 17
            echo (isset($context["LANG_ENGLISH_NAME"]) ? $context["LANG_ENGLISH_NAME"] : null);
            echo "\" maxlength=\"100\" /></dd>
\t</dl>
\t<dl>
\t\t<dt><label for=\"lang_local_name\">";
            // line 20
            echo $this->env->getExtension('phpbb')->lang("LANG_LOCAL_NAME");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</label></dt>
\t\t<dd><input type=\"text\" id=\"lang_local_name\" name=\"lang_local_name\" value=\"";
            // line 21
            echo (isset($context["LANG_LOCAL_NAME"]) ? $context["LANG_LOCAL_NAME"] : null);
            echo "\" maxlength=\"255\" /></dd>
\t</dl>
\t<dl>
\t\t<dt><label>";
            // line 24
            echo $this->env->getExtension('phpbb')->lang("LANG_ISO_CODE");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</label></dt>
\t\t<dd><strong>";
            // line 25
            echo (isset($context["LANG_ISO"]) ? $context["LANG_ISO"] : null);
            echo "</strong></dd>
\t</dl>
\t<dl>
\t\t<dt><label for=\"lang_author\">";
            // line 28
            echo $this->env->getExtension('phpbb')->lang("LANG_AUTHOR");
            echo $this->env->getExtension('phpbb')->lang("COLON");
            echo "</label></dt>
\t\t<dd><input type=\"text\" id=\"lang_author\" name=\"lang_author\" value=\"";
            // line 29
            echo (isset($context["LANG_AUTHOR"]) ? $context["LANG_AUTHOR"] : null);
            echo "\" maxlength=\"255\" /></dd>
\t</dl>

\t<p class=\"quick\" style=\"margin-top: -15px;\">
\t\t<input type=\"submit\" name=\"update_details\" class=\"button2\" value=\"";
            // line 33
            echo $this->env->getExtension('phpbb')->lang("SUBMIT");
            echo "\" />
\t</p>
\t";
            // line 35
            echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
            echo "
\t</fieldset>
\t</form>

\t";
            // line 39
            if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "missing_files", array()))) {
                // line 40
                echo "\t\t<h3 class=\"error\">";
                echo $this->env->getExtension('phpbb')->lang("MISSING_FILES");
                echo "</h3>

\t\t<fieldset>
\t\t\t<legend>";
                // line 43
                echo $this->env->getExtension('phpbb')->lang("MISSING_LANG_FILES");
                echo "</legend>
\t\t\t";
                // line 44
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "missing_files", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["missing_files"]) {
                    // line 45
                    echo "\t\t\t&raquo; ";
                    echo $this->getAttribute($context["missing_files"], "FILE_NAME", array());
                    echo "<br />
\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['missing_files'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 47
                echo "\t\t</fieldset>
\t";
            }
            // line 49
            echo "
\t";
            // line 50
            if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "missing_varfile", array()))) {
                // line 51
                echo "\t\t<h3 class=\"error\">";
                echo $this->env->getExtension('phpbb')->lang("MISSING_VARS_EXPLAIN");
                echo "</h3>

\t\t<fieldset>
\t\t\t<legend>";
                // line 54
                echo $this->env->getExtension('phpbb')->lang("MISSING_LANG_VARIABLES");
                echo "</legend>
\t\t\t";
                // line 55
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "missing_varfile", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["missing_varfile"]) {
                    // line 56
                    echo "\t\t\t<dl>
\t\t\t\t<dt><label>";
                    // line 57
                    echo $this->getAttribute($context["missing_varfile"], "FILE_NAME", array());
                    echo "</label></dt>
\t\t\t\t";
                    // line 58
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["missing_varfile"], "variable", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["variable"]) {
                        // line 59
                        echo "\t\t\t\t<dd>";
                        echo $this->getAttribute($context["variable"], "VAR_NAME", array());
                        echo "</dd>
\t\t\t\t";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['variable'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 61
                    echo "\t\t\t</dl>
\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['missing_varfile'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 63
                echo "\t\t</fieldset>
\t";
            }
        } else {
            // line 66
            echo "
\t<h1>";
            // line 67
            echo $this->env->getExtension('phpbb')->lang("ACP_LANGUAGE_PACKS");
            echo "</h1>

\t<p>";
            // line 69
            echo $this->env->getExtension('phpbb')->lang("ACP_LANGUAGE_PACKS_EXPLAIN");
            echo "</p>

\t<fieldset class=\"quick\">
\t\t<span class=\"small\"><a href=\"https://www.phpbb.com/go/customise/language-packs/3.1\" target=\"_blank\">";
            // line 72
            echo $this->env->getExtension('phpbb')->lang("BROWSE_LANGUAGE_PACKS_DATABASE");
            echo "</a></span>
\t</fieldset>

\t<table class=\"table1 zebra-table\">
\t<thead>
\t<tr>
\t\t<th>";
            // line 78
            echo $this->env->getExtension('phpbb')->lang("LANGUAGE_PACK_NAME");
            echo "</th>
\t\t<th>";
            // line 79
            echo $this->env->getExtension('phpbb')->lang("LANGUAGE_PACK_LOCALNAME");
            echo "</th>
\t\t<th>";
            // line 80
            echo $this->env->getExtension('phpbb')->lang("LANGUAGE_PACK_ISO");
            echo "</th>
\t\t<th>";
            // line 81
            echo $this->env->getExtension('phpbb')->lang("LANGUAGE_PACK_USED_BY");
            echo "</th>
\t\t<th>";
            // line 82
            echo $this->env->getExtension('phpbb')->lang("OPTIONS");
            echo "</th>
\t</tr>
\t</thead>
\t<tbody>
\t<tr>
\t\t<td class=\"row3\" colspan=\"5\"><strong>";
            // line 87
            echo $this->env->getExtension('phpbb')->lang("INSTALLED_LANGUAGE_PACKS");
            echo "</strong></td>
\t</tr>
\t";
            // line 89
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "lang", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["lang"]) {
                // line 90
                echo "\t<tr>
\t\t<td><a href=\"";
                // line 91
                echo $this->getAttribute($context["lang"], "U_DETAILS", array());
                echo "\">";
                echo $this->getAttribute($context["lang"], "ENGLISH_NAME", array());
                echo "</a> ";
                echo $this->getAttribute($context["lang"], "TAG", array());
                echo "</td>
\t\t<td>";
                // line 92
                echo $this->getAttribute($context["lang"], "LOCAL_NAME", array());
                echo "</td>
\t\t<td style=\"text-align: center;\"><strong>";
                // line 93
                echo $this->getAttribute($context["lang"], "ISO", array());
                echo "</strong></td>
\t\t<td style=\"text-align: center;\">";
                // line 94
                echo $this->getAttribute($context["lang"], "USED_BY", array());
                echo "</td>
\t\t<td style=\"text-align: center;\"><a href=\"";
                // line 95
                echo $this->getAttribute($context["lang"], "U_DELETE", array());
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("DELETE");
                echo "</a></td>
\t</tr>
\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['lang'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 98
            echo "\t";
            if (twig_length_filter($this->env, $this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "notinst", array()))) {
                // line 99
                echo "\t<tr>
\t\t<td class=\"row3\" colspan=\"5\"><strong>";
                // line 100
                echo $this->env->getExtension('phpbb')->lang("UNINSTALLED_LANGUAGE_PACKS");
                echo "</strong></td>
\t</tr>
\t";
            }
            // line 103
            echo "\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "notinst", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["notinst"]) {
                // line 104
                echo "\t<tr>
\t\t<td>";
                // line 105
                echo $this->getAttribute($context["notinst"], "NAME", array());
                echo "</td>
\t\t<td>";
                // line 106
                echo $this->getAttribute($context["notinst"], "LOCAL_NAME", array());
                echo "</td>
\t\t<td style=\"text-align: center;\"><strong>";
                // line 107
                echo $this->getAttribute($context["notinst"], "ISO", array());
                echo "</strong></td>
\t\t<td colspan=\"2\" style=\"text-align: center;\"><a href=\"";
                // line 108
                echo $this->getAttribute($context["notinst"], "U_INSTALL", array());
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("INSTALL");
                echo "</a></td>
\t</tr>
\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notinst'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 111
            echo "\t</tbody>
\t</table>

";
        }
        // line 115
        echo "
";
        // line 116
        $location = "overall_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("overall_footer.html", "acp_language.html", 116)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  347 => 116,  344 => 115,  338 => 111,  327 => 108,  323 => 107,  319 => 106,  315 => 105,  312 => 104,  307 => 103,  301 => 100,  298 => 99,  295 => 98,  284 => 95,  280 => 94,  276 => 93,  272 => 92,  264 => 91,  261 => 90,  257 => 89,  252 => 87,  244 => 82,  240 => 81,  236 => 80,  232 => 79,  228 => 78,  219 => 72,  213 => 69,  208 => 67,  205 => 66,  200 => 63,  193 => 61,  184 => 59,  180 => 58,  176 => 57,  173 => 56,  169 => 55,  165 => 54,  158 => 51,  156 => 50,  153 => 49,  149 => 47,  140 => 45,  136 => 44,  132 => 43,  125 => 40,  123 => 39,  116 => 35,  111 => 33,  104 => 29,  99 => 28,  93 => 25,  88 => 24,  82 => 21,  77 => 20,  71 => 17,  66 => 16,  61 => 14,  55 => 11,  50 => 9,  41 => 7,  38 => 6,  36 => 5,  31 => 2,  19 => 1,);
    }
}
/* <!-- INCLUDE overall_header.html -->*/
/* */
/* <a id="maincontent"></a>*/
/* */
/* <!-- IF S_DETAILS -->*/
/* */
/* 	<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>*/
/* */
/* 	<h1>{L_LANGUAGE_PACK_DETAILS}</h1>*/
/* */
/* 	<form id="details" method="post" action="{U_ACTION}">*/
/* */
/* 	<fieldset>*/
/* 		<legend>{LANG_LOCAL_NAME}</legend>*/
/* 	<dl>*/
/* 		<dt><label for="lang_english_name">{L_LANG_ENGLISH_NAME}{L_COLON}</label></dt>*/
/* 		<dd><input type="text" id="lang_english_name" name="lang_english_name" value="{LANG_ENGLISH_NAME}" maxlength="100" /></dd>*/
/* 	</dl>*/
/* 	<dl>*/
/* 		<dt><label for="lang_local_name">{L_LANG_LOCAL_NAME}{L_COLON}</label></dt>*/
/* 		<dd><input type="text" id="lang_local_name" name="lang_local_name" value="{LANG_LOCAL_NAME}" maxlength="255" /></dd>*/
/* 	</dl>*/
/* 	<dl>*/
/* 		<dt><label>{L_LANG_ISO_CODE}{L_COLON}</label></dt>*/
/* 		<dd><strong>{LANG_ISO}</strong></dd>*/
/* 	</dl>*/
/* 	<dl>*/
/* 		<dt><label for="lang_author">{L_LANG_AUTHOR}{L_COLON}</label></dt>*/
/* 		<dd><input type="text" id="lang_author" name="lang_author" value="{LANG_AUTHOR}" maxlength="255" /></dd>*/
/* 	</dl>*/
/* */
/* 	<p class="quick" style="margin-top: -15px;">*/
/* 		<input type="submit" name="update_details" class="button2" value="{L_SUBMIT}" />*/
/* 	</p>*/
/* 	{S_FORM_TOKEN}*/
/* 	</fieldset>*/
/* 	</form>*/
/* */
/* 	<!-- IF .missing_files -->*/
/* 		<h3 class="error">{L_MISSING_FILES}</h3>*/
/* */
/* 		<fieldset>*/
/* 			<legend>{L_MISSING_LANG_FILES}</legend>*/
/* 			<!-- BEGIN missing_files -->*/
/* 			&raquo; {missing_files.FILE_NAME}<br />*/
/* 			<!-- END missing_files -->*/
/* 		</fieldset>*/
/* 	<!-- ENDIF -->*/
/* */
/* 	<!-- IF .missing_varfile -->*/
/* 		<h3 class="error">{L_MISSING_VARS_EXPLAIN}</h3>*/
/* */
/* 		<fieldset>*/
/* 			<legend>{L_MISSING_LANG_VARIABLES}</legend>*/
/* 			<!-- BEGIN missing_varfile -->*/
/* 			<dl>*/
/* 				<dt><label>{missing_varfile.FILE_NAME}</label></dt>*/
/* 				<!-- BEGIN variable -->*/
/* 				<dd>{missing_varfile.variable.VAR_NAME}</dd>*/
/* 				<!-- END variable -->*/
/* 			</dl>*/
/* 			<!-- END missing_varfile -->*/
/* 		</fieldset>*/
/* 	<!-- ENDIF -->*/
/* <!-- ELSE -->*/
/* */
/* 	<h1>{L_ACP_LANGUAGE_PACKS}</h1>*/
/* */
/* 	<p>{L_ACP_LANGUAGE_PACKS_EXPLAIN}</p>*/
/* */
/* 	<fieldset class="quick">*/
/* 		<span class="small"><a href="https://www.phpbb.com/go/customise/language-packs/3.1" target="_blank">{L_BROWSE_LANGUAGE_PACKS_DATABASE}</a></span>*/
/* 	</fieldset>*/
/* */
/* 	<table class="table1 zebra-table">*/
/* 	<thead>*/
/* 	<tr>*/
/* 		<th>{L_LANGUAGE_PACK_NAME}</th>*/
/* 		<th>{L_LANGUAGE_PACK_LOCALNAME}</th>*/
/* 		<th>{L_LANGUAGE_PACK_ISO}</th>*/
/* 		<th>{L_LANGUAGE_PACK_USED_BY}</th>*/
/* 		<th>{L_OPTIONS}</th>*/
/* 	</tr>*/
/* 	</thead>*/
/* 	<tbody>*/
/* 	<tr>*/
/* 		<td class="row3" colspan="5"><strong>{L_INSTALLED_LANGUAGE_PACKS}</strong></td>*/
/* 	</tr>*/
/* 	<!-- BEGIN lang -->*/
/* 	<tr>*/
/* 		<td><a href="{lang.U_DETAILS}">{lang.ENGLISH_NAME}</a> {lang.TAG}</td>*/
/* 		<td>{lang.LOCAL_NAME}</td>*/
/* 		<td style="text-align: center;"><strong>{lang.ISO}</strong></td>*/
/* 		<td style="text-align: center;">{lang.USED_BY}</td>*/
/* 		<td style="text-align: center;"><a href="{lang.U_DELETE}">{L_DELETE}</a></td>*/
/* 	</tr>*/
/* 	<!-- END lang -->*/
/* 	<!-- IF .notinst -->*/
/* 	<tr>*/
/* 		<td class="row3" colspan="5"><strong>{L_UNINSTALLED_LANGUAGE_PACKS}</strong></td>*/
/* 	</tr>*/
/* 	<!-- ENDIF -->*/
/* 	<!-- BEGIN notinst -->*/
/* 	<tr>*/
/* 		<td>{notinst.NAME}</td>*/
/* 		<td>{notinst.LOCAL_NAME}</td>*/
/* 		<td style="text-align: center;"><strong>{notinst.ISO}</strong></td>*/
/* 		<td colspan="2" style="text-align: center;"><a href="{notinst.U_INSTALL}">{L_INSTALL}</a></td>*/
/* 	</tr>*/
/* 	<!-- END notinst -->*/
/* 	</tbody>*/
/* 	</table>*/
/* */
/* <!-- ENDIF -->*/
/* */
/* <!-- INCLUDE overall_footer.html -->*/
/* */
