Файл: forsoc.ru/cache/twig/a6/a612d99d3eb2af22fb491f60892122d4919d15bca3251f2298920163544b6676.php
Строк: 302
<?php
/* acp_board.html */
class __TwigTemplate_3fbbcb979f7bf87219a82f99cd000ce8a46ed90e3d55d456c32533143d5db14d 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_board.html", 1)->display($context);
if ($namespace) {
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
}
// line 2
echo "
<a id="maincontent"></a>
<h1>";
// line 5
echo $this->env->getExtension('phpbb')->lang("TITLE");
echo "</h1>
<p>";
// line 7
echo $this->env->getExtension('phpbb')->lang("TITLE_EXPLAIN");
echo "</p>
";
// line 9
if ((isset($context["S_ERROR"]) ? $context["S_ERROR"] : null)) {
// line 10
echo "t<div class="errorbox">
tt<h3>";
// line 11
echo $this->env->getExtension('phpbb')->lang("WARNING");
echo "</h3>
tt<p>";
// line 12
echo (isset($context["ERROR_MSG"]) ? $context["ERROR_MSG"] : null);
echo "</p>
t</div>
";
}
// line 15
echo "
<form id="acp_board" method="post" action="";
// line 16
echo (isset($context["U_ACTION"]) ? $context["U_ACTION"] : null);
echo "">
";
// line 18
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "options", array()));
foreach ($context['_seq'] as $context["_key"] => $context["options"]) {
// line 19
echo "t";
if ($this->getAttribute($context["options"], "S_LEGEND", array())) {
// line 20
echo "tt";
if ( !$this->getAttribute($context["options"], "S_FIRST_ROW", array())) {
// line 21
echo "ttt</fieldset>
tt";
}
// line 23
echo "tt<fieldset>
ttt<legend>";
// line 24
echo $this->getAttribute($context["options"], "LEGEND", array());
echo "</legend>
t";
} else {
// line 26
echo "
tt<dl>
ttt<dt><label for="";
// line 28
echo $this->getAttribute($context["options"], "KEY", array());
echo "">";
echo $this->getAttribute($context["options"], "TITLE", array());
echo $this->env->getExtension('phpbb')->lang("COLON");
echo "</label>";
if ($this->getAttribute($context["options"], "S_EXPLAIN", array())) {
echo "<br /><span>";
echo $this->getAttribute($context["options"], "TITLE_EXPLAIN", array());
echo "</span>";
}
echo "</dt>
ttt<dd>";
// line 29
echo $this->getAttribute($context["options"], "CONTENT", array());
echo "</dd>
tt</dl>
t";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['options'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
echo "
";
// line 35
if ((isset($context["S_AUTH"]) ? $context["S_AUTH"] : null)) {
// line 36
echo "t</fieldset>
t";
// line 37
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "auth_tpl", array()));
$context['loop'] = array(
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
);
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["auth_tpl"]) {
// line 38
echo "tt";
$location = (("" . $this->getAttribute($context["auth_tpl"], "TEMPLATE_FILE", array())) . "");
$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((("" . $this->getAttribute($context["auth_tpl"], "TEMPLATE_FILE", array())) . ""), "acp_board.html", 38)->display($context);
if ($namespace) {
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
}
// line 39
echo "t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['auth_tpl'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo "t<fieldset>
tt<legend>";
// line 41
echo $this->env->getExtension('phpbb')->lang("ACP_SUBMIT_CHANGES");
echo "</legend>
";
}
// line 43
echo "
t<p class="submit-buttons">
tt<input class="button1" type="submit" id="submit" name="submit" value="";
// line 45
echo $this->env->getExtension('phpbb')->lang("SUBMIT");
echo "" />
tt<input class="button2" type="reset" id="reset" name="reset" value="";
// line 46
echo $this->env->getExtension('phpbb')->lang("RESET");
echo "" />
t</p>
t";
// line 48
echo (isset($context["S_FORM_TOKEN"]) ? $context["S_FORM_TOKEN"] : null);
echo "
</fieldset>
</form>
";
// line 52
$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_board.html", 52)->display($context);
if ($namespace) {
$this->env->setNamespaceLookUpOrder($previous_look_up_order);
}
}
public function getTemplateName()
{
return "acp_board.html";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 199 => 52, 192 => 48, 187 => 46, 183 => 45, 179 => 43, 174 => 41, 171 => 40, 157 => 39, 144 => 38, 127 => 37, 124 => 36, 122 => 35, 119 => 34, 108 => 29, 95 => 28, 91 => 26, 86 => 24, 83 => 23, 79 => 21, 76 => 20, 73 => 19, 69 => 18, 64 => 16, 61 => 15, 55 => 12, 51 => 11, 48 => 10, 46 => 9, 41 => 7, 36 => 5, 31 => 2, 19 => 1,);
}
}
/* <!-- INCLUDE overall_header.html -->*/
/* */
/* <a id="maincontent"></a>*/
/* */
/* <h1>{L_TITLE}</h1>*/
/* */
/* <p>{L_TITLE_EXPLAIN}</p>*/
/* */
/* <!-- IF S_ERROR -->*/
/* <div class="errorbox">*/
/* <h3>{L_WARNING}</h3>*/
/* <p>{ERROR_MSG}</p>*/
/* </div>*/
/* <!-- ENDIF -->*/
/* */
/* <form id="acp_board" method="post" action="{U_ACTION}">*/
/* */
/* <!-- BEGIN options -->*/
/* <!-- IF options.S_LEGEND -->*/
/* <!-- IF not options.S_FIRST_ROW -->*/
/* </fieldset>*/
/* <!-- ENDIF -->*/
/* <fieldset>*/
/* <legend>{options.LEGEND}</legend>*/
/* <!-- ELSE -->*/
/* */
/* <dl>*/
/* <dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>*/
/* <dd>{options.CONTENT}</dd>*/
/* </dl>*/
/* */
/* <!-- ENDIF -->*/
/* <!-- END options -->*/
/* */
/* <!-- IF S_AUTH -->*/
/* </fieldset>*/
/* <!-- BEGIN auth_tpl -->*/
/* <!-- INCLUDE {auth_tpl.TEMPLATE_FILE} -->*/
/* <!-- END auth_tpl -->*/
/* <fieldset>*/
/* <legend>{L_ACP_SUBMIT_CHANGES}</legend>*/
/* <!-- ENDIF -->*/
/* */
/* <p class="submit-buttons">*/
/* <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" /> */
/* <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />*/
/* </p>*/
/* {S_FORM_TOKEN}*/
/* </fieldset>*/
/* </form>*/
/* */
/* <!-- INCLUDE overall_footer.html -->*/
/* */