<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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;
/* base.html.twig */
class __TwigTemplate_b9e6f69580e5898519fbece26cbc16410790e9f4fc6d2d65bd1f2764e5d38676 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
<title>";
// line 5
$this->displayBlock('title', $context, $blocks);
echo "</title>
";
// line 6
$this->displayBlock('stylesheets', $context, $blocks);
// line 14
echo " <link rel=\"shortcut icon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
echo "\" />
";
// line 15
$this->loadTemplate("matomo.html", "base.html.twig", 15)->display($context);
// line 16
echo " </head>
<body>
";
// line 18
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "environment", [], "any", false, false, false, 18), "dev"))) {
// line 19
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/dev.png"), "html", null, true);
echo "\" alt=\"bleeding edge\" width=\"100\" style=\"position: fixed; right: 0; z-index: 999;\" />
";
}
// line 21
echo " <div id=\"site\">
<div id=\"header\">
";
// line 23
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "user", [], "any", false, false, false, 23)) {
// line 24
echo " <span>Hallo ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "user", [], "any", false, false, false, 24), "name", [], "any", false, false, false, 24), "html", null, true);
echo "!</span>
<div id=\"navigation\" class=\"ui-widget\">
<div>Navigation</div>
<ul id=\"menu\" class=\"ui-corner-all\" style=\"display: none;\">
";
// line 28
$context["navigation"] = ["Berichtigungen" => ["PapyrillioBeehive_CorrectionList" => ["title" => "Berichtigungen ansehen", "parameters" => []], "PapyrillioBeehive_CorrectionNew" => ["title" => "Neue Berichtigung anlegen", "parameters" => []], "PapyrillioBeehive_Apiary" => ["title" => "Bestand durchblättern", "parameters" => []]], "Editionen" => ["PapyrillioBeehive_EditionList" => ["title" => "Editionen ansehen", "parameters" => []], "PapyrillioBeehive_EditionNew" => ["title" => "Edition anlegen", "parameters" => []]], "Berichte" => ["PapyrillioBeehive_Report" => ["title" => "Leiden Format", "parameters" => []], "PapyrillioBeehive_ReportOverview" => ["title" => "Übersicht nach Editionen*", "parameters" => []], "PapyrillioBeehive_ReportPdf" => ["title" => "PDF*", "parameters" => []], "PapyrillioBeehive_ReportPrint" => ["title" => "Druckvorstufe", "parameters" => []]], "Index" => ["PapyrillioBeehive_IndexEntryManageAssignments" => ["title" => "Indexeinträge zuordnen", "parameters" => []], "PapyrillioBeehive_IndexEntryNew" => ["title" => "Indexeinträge nach BL (im Frontend)", "parameters" => ["compilationId" => 5]]], "Benutzer" => ["PapyrillioBeehive_UserList" => ["title" => "Alle Benutzer anzeigen", "parameters" => []], "PapyrillioBeehive_UserNew" => ["title" => "Neuen Benutzer anlegen", "parameters" => []], "PapyrillioBeehive_UserShow" => ["title" => "Profil", "parameters" => ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 42
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "user", [], "any", false, false, false, 42), "id", [], "any", false, false, false, 42)]], "PapyrillioBeehive_UserPassword" => ["title" => "Passwort ändern", "parameters" => []], "PapyrillioBeehive_Logout" => ["title" => "Abmelden", "parameters" => []]]];
// line 46
echo "
";
// line 47
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["navigation"]) || array_key_exists("navigation", $context) ? $context["navigation"] : (function () { throw new RuntimeError('Variable "navigation" does not exist.', 47, $this->source); })()));
foreach ($context['_seq'] as $context["category"] => $context["menu"]) {
// line 48
echo " <li>
";
// line 49
echo twig_escape_filter($this->env, $context["category"], "html", null, true);
echo "
<ul>
";
// line 51
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["menu"]);
foreach ($context['_seq'] as $context["path"] => $context["item"]) {
// line 52
echo " ";
if ((0 === twig_compare($context["path"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "attributes", [], "any", false, false, false, 52), "get", [0 => "_route"], "method", false, false, false, 52)))) {
// line 53
echo " <li class=\"highlight\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 53), "html", null, true);
echo "</li>
";
} else {
// line 55
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath($context["path"], twig_get_attribute($this->env, $this->source, $context["item"], "parameters", [], "any", false, false, false, 55)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 55), "html", null, true);
echo "</a></li>
";
}
// line 57
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['path'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 58
echo " </ul>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['category'], $context['menu'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
echo "
</ul>
</div>
";
} elseif (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 66
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "request", [], "any", false, false, false, 66), "attributes", [], "any", false, false, false, 66), "get", [0 => "_route"], "method", false, false, false, 66)) {
// line 67
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_Login");
echo "\">Login</a>
";
}
// line 69
echo " </div>
<div id=\"content\">
";
// line 71
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 71, $this->source); })()), "session", [], "any", false, false, false, 71), "flashbag", [], "any", false, false, false, 71), "peekAll", [], "method", false, false, false, 71)) {
// line 72
echo " <div class=\"ui-widget\">
<div style=\"padding: 0 .7em;\" class=\"ui-state-error ui-corner-all\">
";
// line 74
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 74, $this->source); })()), "flashes", [], "any", false, false, false, 74));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 75
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 76
echo " <p><span style=\"float: left; margin-right: .3em;\" class=\"ui-icon ui-icon-alert\"></span> <strong>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["label"]), "html", null, true);
echo ":</strong> ";
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 78
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 79
echo " </div>
</div>
";
}
// line 82
echo " ";
$this->displayBlock('body', $context, $blocks);
// line 83
echo " </div>
<div id=\"footer\">
<p>
";
// line 86
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 86, $this->source); })()), "user", [], "any", false, false, false, 86)) {
// line 87
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_Logout");
echo "\">Abmelden</a>
";
}
// line 89
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_Apiary");
echo "\">Blättern</a>
<a href=\"";
// line 90
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_About");
echo "\">Info</a>
<a href=\"";
// line 91
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_Contact");
echo "\">Kontakt</a>
<a href=\"";
// line 92
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_Help");
echo "\">Hilfe</a>
<a href=\"https://www.uni-heidelberg.de/datenschutzerklaerung_web.html\" target=\"_zde\">Zentrale Datenschutzerklärung der Universität Heidelberg</a>
</p>
</div>
</div>
";
// line 98
$this->displayBlock('javascripts', $context, $blocks);
// line 119
echo " </body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Beehive";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 7
echo " <link href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/960/reset.css"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/960/text.css"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/960/960.css"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/jquery/dark-hive/jquery-ui-1.8.17.custom.css"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/main.css?8"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/print.css"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" media=\"print\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 82
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 98
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 99
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery/jquery-1.7.1.min.js"), "html", null, true);
echo "\" type=\"text/javascript\"></script>
<script src=\"";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery/jquery-ui-1.8.17.custom.min.js"), "html", null, true);
echo "\" type=\"text/javascript\"></script>
<script src=\"";
// line 101
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/main.js"), "html", null, true);
echo "\" type=\"text/javascript\"></script>
<script type=\"text/javascript\">
\$(document).ready(function(){
\$('#navigation div').click(function(event){
\$('#navigation ul#menu').toggle('slide');
event.stopPropagation();
});
\$('body').click(function(){
if(\$('#navigation ul#menu').is(':visible')){
\$('#navigation ul#menu').hide('slide');
}
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 352 => 101, 348 => 100, 343 => 99, 333 => 98, 315 => 82, 303 => 12, 299 => 11, 295 => 10, 291 => 9, 287 => 8, 282 => 7, 272 => 6, 253 => 5, 241 => 119, 239 => 98, 230 => 92, 226 => 91, 222 => 90, 217 => 89, 211 => 87, 209 => 86, 204 => 83, 201 => 82, 196 => 79, 190 => 78, 179 => 76, 174 => 75, 170 => 74, 166 => 72, 164 => 71, 160 => 69, 154 => 67, 152 => 66, 145 => 61, 137 => 58, 131 => 57, 123 => 55, 117 => 53, 114 => 52, 110 => 51, 105 => 49, 102 => 48, 98 => 47, 95 => 46, 93 => 42, 92 => 28, 84 => 24, 82 => 23, 78 => 21, 72 => 19, 70 => 18, 66 => 16, 64 => 15, 59 => 14, 57 => 6, 53 => 5, 47 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
<title>{% block title %}Beehive{% endblock %}</title>
{% block stylesheets %}
<link href=\"{{ asset('css/960/reset.css') }}\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"{{ asset('css/960/text.css') }}\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"{{ asset('css/960/960.css') }}\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"{{ asset('css/jquery/dark-hive/jquery-ui-1.8.17.custom.css') }}\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"{{ asset('css/main.css?8') }}\" type=\"text/css\" rel=\"stylesheet\" />
<link href=\"{{ asset('css/print.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"print\" />
{% endblock %}
<link rel=\"shortcut icon\" href=\"{{ asset('favicon.ico') }}\" />
{% include 'matomo.html' %}
</head>
<body>
{% if app.environment == 'dev' %}
<img src=\"{{ asset('images/dev.png') }}\" alt=\"bleeding edge\" width=\"100\" style=\"position: fixed; right: 0; z-index: 999;\" />
{% endif %}
<div id=\"site\">
<div id=\"header\">
{% if app.user %}
<span>Hallo {{ app.user.name }}!</span>
<div id=\"navigation\" class=\"ui-widget\">
<div>Navigation</div>
<ul id=\"menu\" class=\"ui-corner-all\" style=\"display: none;\">
{% set navigation = {
'Berichtigungen': {'PapyrillioBeehive_CorrectionList': {'title': 'Berichtigungen ansehen', 'parameters': {}},
'PapyrillioBeehive_CorrectionNew': {'title': 'Neue Berichtigung anlegen', 'parameters': {}},
'PapyrillioBeehive_Apiary': {'title': 'Bestand durchblättern', 'parameters': {}}},
'Editionen': {'PapyrillioBeehive_EditionList': {'title': 'Editionen ansehen', 'parameters': {}},
'PapyrillioBeehive_EditionNew': {'title': 'Edition anlegen', 'parameters': {}}},
'Berichte': {'PapyrillioBeehive_Report': {'title': 'Leiden Format', 'parameters': {}},
'PapyrillioBeehive_ReportOverview': {'title': 'Übersicht nach Editionen*', 'parameters': {}},
'PapyrillioBeehive_ReportPdf': {'title': 'PDF*', 'parameters': {}},
'PapyrillioBeehive_ReportPrint': {'title': 'Druckvorstufe', 'parameters': {}}},
'Index': {'PapyrillioBeehive_IndexEntryManageAssignments': {'title': 'Indexeinträge zuordnen', 'parameters': {}},
'PapyrillioBeehive_IndexEntryNew': {'title': 'Indexeinträge nach BL (im Frontend)', 'parameters': {'compilationId': 5}}},
'Benutzer': {'PapyrillioBeehive_UserList': {'title': 'Alle Benutzer anzeigen', 'parameters': {}},
'PapyrillioBeehive_UserNew': {'title': 'Neuen Benutzer anlegen', 'parameters': {}},
'PapyrillioBeehive_UserShow': {'title': 'Profil', 'parameters': { 'id': app.user.id }},
'PapyrillioBeehive_UserPassword': {'title': 'Passwort ändern', 'parameters': {}},
'PapyrillioBeehive_Logout': {'title': 'Abmelden', 'parameters': {}}}
} %}
{% for category, menu in navigation %}
<li>
{{ category }}
<ul>
{% for path, item in menu %}
{% if path == app.request.attributes.get('_route') %}
<li class=\"highlight\">{{ item.title }}</li>
{% else %}
<li><a href=\"{{ path(path, item.parameters) }}\">{{ item.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</div>
{% elseif app.request.attributes.get('_route') %}
<a href=\"{{ path('PapyrillioBeehive_Login') }}\">Login</a>
{% endif %}
</div>
<div id=\"content\">
{% if app.session.flashbag.peekAll() %}
<div class=\"ui-widget\">
<div style=\"padding: 0 .7em;\" class=\"ui-state-error ui-corner-all\">
{% for label, messages in app.flashes %}
{% for message in messages %}
<p><span style=\"float: left; margin-right: .3em;\" class=\"ui-icon ui-icon-alert\"></span> <strong>{{ label|trans }}:</strong> {{ message }}</p>
{% endfor %}
{% endfor %}
</div>
</div>
{% endif %}
{% block body %}{% endblock %}
</div>
<div id=\"footer\">
<p>
{% if app.user %}
<a href=\"{{ path('PapyrillioBeehive_Logout') }}\">Abmelden</a>
{% endif %}
<a href=\"{{ path('PapyrillioBeehive_Apiary') }}\">Blättern</a>
<a href=\"{{ path('PapyrillioBeehive_About') }}\">Info</a>
<a href=\"{{ path('PapyrillioBeehive_Contact') }}\">Kontakt</a>
<a href=\"{{ path('PapyrillioBeehive_Help') }}\">Hilfe</a>
<a href=\"https://www.uni-heidelberg.de/datenschutzerklaerung_web.html\" target=\"_zde\">Zentrale Datenschutzerklärung der Universität Heidelberg</a>
</p>
</div>
</div>
{% block javascripts %}
<script src=\"{{ asset('js/jquery/jquery-1.7.1.min.js') }}\" type=\"text/javascript\"></script>
<script src=\"{{ asset('js/jquery/jquery-ui-1.8.17.custom.min.js') }}\" type=\"text/javascript\"></script>
<script src=\"{{ asset('js/main.js') }}\" type=\"text/javascript\"></script>
<script type=\"text/javascript\">
\$(document).ready(function(){
\$('#navigation div').click(function(event){
\$('#navigation ul#menu').toggle('slide');
event.stopPropagation();
});
\$('body').click(function(){
if(\$('#navigation ul#menu').is(':visible')){
\$('#navigation ul#menu').hide('slide');
}
});
});
</script>
{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/beehive_dev/templates/base.html.twig");
}
}