<?php

/* acp_language.html */
class __TwigTemplate_789f3b10e4546ff01146513269893225c4878526e29c41d924086271ba66a339 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"])) { $_S_DETAILS_ = $context["S_DETAILS"]; } else { $_S_DETAILS_ = null; }
        if ($_S_DETAILS_) {
            // line 6
            echo "
\t<a href=\"";
            // line 7
            if (isset($context["U_BACK"])) { $_U_BACK_ = $context["U_BACK"]; } else { $_U_BACK_ = null; }
            echo $_U_BACK_;
            echo "\" style=\"float: ";
            if (isset($context["S_CONTENT_FLOW_END"])) { $_S_CONTENT_FLOW_END_ = $context["S_CONTENT_FLOW_END"]; } else { $_S_CONTENT_FLOW_END_ = null; }
            echo $_S_CONTENT_FLOW_END_;
            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
            if (isset($context["U_ACTION"])) { $_U_ACTION_ = $context["U_ACTION"]; } else { $_U_ACTION_ = null; }
            echo $_U_ACTION_;
            echo "\">

\t<fieldset>
\t\t<legend>";
            // line 14
            if (isset($context["LANG_LOCAL_NAME"])) { $_LANG_LOCAL_NAME_ = $context["LANG_LOCAL_NAME"]; } else { $_LANG_LOCAL_NAME_ = null; }
            echo $_LANG_LOCAL_NAME_;
            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
            if (isset($context["LANG_ENGLISH_NAME"])) { $_LANG_ENGLISH_NAME_ = $context["LANG_ENGLISH_NAME"]; } else { $_LANG_ENGLISH_NAME_ = null; }
            echo $_LANG_ENGLISH_NAME_;
            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
            if (isset($context["LANG_LOCAL_NAME"])) { $_LANG_LOCAL_NAME_ = $context["LANG_LOCAL_NAME"]; } else { $_LANG_LOCAL_NAME_ = null; }
            echo $_LANG_LOCAL_NAME_;
            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
            if (isset($context["LANG_ISO"])) { $_LANG_ISO_ = $context["LANG_ISO"]; } else { $_LANG_ISO_ = null; }
            echo $_LANG_ISO_;
            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
            if (isset($context["LANG_AUTHOR"])) { $_LANG_AUTHOR_ = $context["LANG_AUTHOR"]; } else { $_LANG_AUTHOR_ = null; }
            echo $_LANG_AUTHOR_;
            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
            if (isset($context["S_FORM_TOKEN"])) { $_S_FORM_TOKEN_ = $context["S_FORM_TOKEN"]; } else { $_S_FORM_TOKEN_ = null; }
            echo $_S_FORM_TOKEN_;
            echo "
\t</fieldset>
\t</form>

\t";
            // line 39
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            if (twig_length_filter($this->env, $this->getAttribute($_loops_, "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
                if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "missing_files", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["missing_files"]) {
                    // line 45
                    echo "\t\t\t&raquo; ";
                    if (isset($context["missing_files"])) { $_missing_files_ = $context["missing_files"]; } else { $_missing_files_ = null; }
                    echo $this->getAttribute($_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 (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            if (twig_length_filter($this->env, $this->getAttribute($_loops_, "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
                if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "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
                    if (isset($context["missing_varfile"])) { $_missing_varfile_ = $context["missing_varfile"]; } else { $_missing_varfile_ = null; }
                    echo $this->getAttribute($_missing_varfile_, "FILE_NAME", array());
                    echo "</label></dt>
\t\t\t\t";
                    // line 58
                    if (isset($context["missing_varfile"])) { $_missing_varfile_ = $context["missing_varfile"]; } else { $_missing_varfile_ = null; }
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable($this->getAttribute($_missing_varfile_, "variable", array()));
                    foreach ($context['_seq'] as $context["_key"] => $context["variable"]) {
                        // line 59
                        echo "\t\t\t\t<dd>";
                        if (isset($context["variable"])) { $_variable_ = $context["variable"]; } else { $_variable_ = null; }
                        echo $this->getAttribute($_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
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "lang", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["lang"]) {
                // line 90
                echo "\t<tr>
\t\t<td><a href=\"";
                // line 91
                if (isset($context["lang"])) { $_lang_ = $context["lang"]; } else { $_lang_ = null; }
                echo $this->getAttribute($_lang_, "U_DETAILS", array());
                echo "\">";
                if (isset($context["lang"])) { $_lang_ = $context["lang"]; } else { $_lang_ = null; }
                echo $this->getAttribute($_lang_, "ENGLISH_NAME", array());
                echo "</a> ";
                if (isset($context["lang"])) { $_lang_ = $context["lang"]; } else { $_lang_ = null; }
                echo $this->getAttribute($_lang_, "TAG", array());
                echo "</td>
\t\t<td>";
                // line 92
                if (isset($context["lang"])) { $_lang_ = $context["lang"]; } else { $_lang_ = null; }
                echo $this->getAttribute($_lang_, "LOCAL_NAME", array());
                echo "</td>
\t\t<td style=\"text-align: center;\"><strong>";
                // line 93
                if (isset($context["lang"])) { $_lang_ = $context["lang"]; } else { $_lang_ = null; }
                echo $this->getAttribute($_lang_, "ISO", array());
                echo "</strong></td>
\t\t<td style=\"text-align: center;\">";
                // line 94
                if (isset($context["lang"])) { $_lang_ = $context["lang"]; } else { $_lang_ = null; }
                echo $this->getAttribute($_lang_, "USED_BY", array());
                echo "</td>
\t\t<td style=\"text-align: center;\"><a href=\"";
                // line 95
                if (isset($context["lang"])) { $_lang_ = $context["lang"]; } else { $_lang_ = null; }
                echo $this->getAttribute($_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 (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            if (twig_length_filter($this->env, $this->getAttribute($_loops_, "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";
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "notinst", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["notinst"]) {
                // line 104
                echo "\t<tr>
\t\t<td>";
                // line 105
                if (isset($context["notinst"])) { $_notinst_ = $context["notinst"]; } else { $_notinst_ = null; }
                echo $this->getAttribute($_notinst_, "NAME", array());
                echo "</td>
\t\t<td>";
                // line 106
                if (isset($context["notinst"])) { $_notinst_ = $context["notinst"]; } else { $_notinst_ = null; }
                echo $this->getAttribute($_notinst_, "LOCAL_NAME", array());
                echo "</td>
\t\t<td style=\"text-align: center;\"><strong>";
                // line 107
                if (isset($context["notinst"])) { $_notinst_ = $context["notinst"]; } else { $_notinst_ = null; }
                echo $this->getAttribute($_notinst_, "ISO", array());
                echo "</strong></td>
\t\t<td colspan=\"2\" style=\"text-align: center;\"><a href=\"";
                // line 108
                if (isset($context["notinst"])) { $_notinst_ = $context["notinst"]; } else { $_notinst_ = null; }
                echo $this->getAttribute($_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 (  379 => 116,  376 => 115,  370 => 111,  358 => 108,  353 => 107,  348 => 106,  343 => 105,  340 => 104,  334 => 103,  328 => 100,  325 => 99,  321 => 98,  309 => 95,  304 => 94,  299 => 93,  294 => 92,  283 => 91,  280 => 90,  275 => 89,  270 => 87,  262 => 82,  258 => 81,  254 => 80,  250 => 79,  246 => 78,  237 => 72,  231 => 69,  226 => 67,  223 => 66,  218 => 63,  211 => 61,  201 => 59,  196 => 58,  191 => 57,  188 => 56,  183 => 55,  179 => 54,  172 => 51,  169 => 50,  166 => 49,  162 => 47,  152 => 45,  147 => 44,  143 => 43,  136 => 40,  133 => 39,  125 => 35,  120 => 33,  112 => 29,  107 => 28,  100 => 25,  95 => 24,  88 => 21,  83 => 20,  76 => 17,  71 => 16,  65 => 14,  58 => 11,  53 => 9,  42 => 7,  39 => 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 -->*/
/* */
