<?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;
/* apiary/honey.html.twig */
class __TwigTemplate_e647e79a0e25602c425c596cda9de9f4099f47b2185147cc5b2bd2fb344674b3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'beta' => [$this, 'block_beta'],
'gamma' => [$this, 'block_gamma'],
'lefty_title' => [$this, 'block_lefty_title'],
'lefty' => [$this, 'block_lefty'],
'righty_title' => [$this, 'block_righty_title'],
'righty' => [$this, 'block_righty'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend.html.twig";
}
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", "apiary/honey.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "apiary/honey.html.twig"));
$this->parent = $this->loadTemplate("frontend.html.twig", "apiary/honey.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_beta($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", "beta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beta"));
// line 4
echo " ";
echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 4, $this->source); })()), "html", null, true);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_gamma($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", "gamma"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gamma"));
// line 8
echo " ";
if ((twig_length_filter($this->env, (isset($context["compilationsOfInterest"]) || array_key_exists("compilationsOfInterest", $context) ? $context["compilationsOfInterest"] : (function () { throw new RuntimeError('Variable "compilationsOfInterest" does not exist.', 8, $this->source); })())) && (0 !== twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 8, $this->source); })()), "collection")))) {
// line 9
echo " Die Inhalte der angezeigten Korrekturen stammen aus den Online-Beständen von
";
// line 10
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["compilationsOfInterest"]) || array_key_exists("compilationsOfInterest", $context) ? $context["compilationsOfInterest"] : (function () { throw new RuntimeError('Variable "compilationsOfInterest" does not exist.', 10, $this->source); })()));
$context['loop'] = [
'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["coi"]) {
// line 11
echo " ";
if ((0 !== twig_compare($context["key"], "BOEP"))) {
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 11), false))) {
echo ", ";
}
echo "<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ApiaryHoney", ["type" => "bl", "id" => twig_get_attribute($this->env, $this->source, $context["coi"], "volume", [], "any", false, false, false, 11)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["coi"], "short", [], "any", false, false, false, 11), "html", null, true);
echo "\">";
echo twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["coi"], "short", [], "any", false, false, false, 11), [" " => " "]);
echo "</a>";
}
// line 12
echo " ";
++$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['coi'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["compilationsOfInterest"] ?? null), "BOEP", [], "any", true, true, false, 13)) {
// line 14
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["compilationsOfInterest"]) || array_key_exists("compilationsOfInterest", $context) ? $context["compilationsOfInterest"] : (function () { throw new RuntimeError('Variable "compilationsOfInterest" does not exist.', 14, $this->source); })())), 1))) {
echo ", ";
}
echo "<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ApiaryHoney", ["type" => "collection", "id" => "BOEP"]), "html", null, true);
echo "\" title=\"Bulletin of Online Emendations to Papyri\">BOEP</a>
";
}
// line 16
echo "
";
// line 17
if (((!twig_in_filter((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 17, $this->source); })()), [0 => "bl", 1 => "editie", 2 => "search"]) && twig_length_filter($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 17, $this->source); })()))) && twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_first($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 17, $this->source); })())), "registerEntries", [], "any", false, false, false, 17)))) {
// line 18
echo " ";
$context["r"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, twig_first($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 18, $this->source); })())), "registerEntries", [], "any", false, false, false, 18));
// line 19
echo " <br />
Weitere identifier und Links:
<a href=\"http://www.trismegistos.org/text/";
// line 21
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 21, $this->source); })()), "tm", [], "any", false, false, false, 21), "html", null, true);
echo "\" title=\"Weitere Informationen auf Trismegistos\" target=\"_blank\">TM ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 21, $this->source); })()), "tm", [], "any", false, false, false, 21), "html", null, true);
echo "</a>
=
<a href=\"https://papyri.info/hgv/";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 23, $this->source); })()), "hgv", [], "any", false, false, false, 23), "html", null, true);
echo "\" title=\"Weitere Informationen auf papyri.info\" target=\"_blank\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 23, $this->source); })()), "ddb", [], "any", false, false, false, 23), "html", null, true);
echo "</a>
=
HGV ";
// line 25
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["r"]) || array_key_exists("r", $context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.', 25, $this->source); })()), "hgv", [], "any", false, false, false, 25), "html", null, true);
echo "
";
}
// line 27
echo " ";
} elseif ((0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 27, $this->source); })()), "collection"))) {
// line 28
echo " ";
if ((0 === twig_compare((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 28, $this->source); })()), "BOEP"))) {
// line 29
echo " Es ist jetzt möglich, alle BOEP-Korrekturen an einem Ort einzusehen. Diese sind alphabetisch nach ihrer BL-Abkürzung geordnet. Es ist nicht mehr notwendig, jedes einzelne BOEP zu überprüfen. Die laufenden Nummern sind nachträglich hinzugefügt worden.
";
} elseif ((0 === twig_compare( // line 30
(isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 30, $this->source); })()), "ddb"))) {
// line 31
echo " Alle Korrekturen im BOEP, die dokumentarische Texte betreffen, sind an einem Ort gesammelt. Sie sind alphabetisch nach ihrem BL-Kürzel geordnet.
";
} elseif ((0 === twig_compare( // line 32
(isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 32, $this->source); })()), "dclp"))) {
// line 33
echo " Alle Korrekturen im BOEP, die literarische und halbliterarische Texte betreffen, werden an einem Ort gesammelt. Sie sind alphabetisch nach ihrem BL-Kürzel geordnet.
";
}
// line 35
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 38
public function block_lefty_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", "lefty_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lefty_title"));
// line 39
echo " ";
if (((0 !== twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 39, $this->source); })()), "editie")) && twig_length_filter($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 39, $this->source); })())))) {
// line 40
echo " ";
if ((0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 40, $this->source); })()), "volume"))) {
// line 41
echo " ";
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 41, $this->source); })()), "html", null, true);
echo " in
<br/>
BL Online
";
} elseif ((0 === twig_compare( // line 44
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 44, $this->source); })()), "register"))) {
// line 45
echo " Editionen für Register-Id ";
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 45, $this->source); })()), "html", null, true);
echo "
";
} elseif (((0 === twig_compare( // line 46
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 46, $this->source); })()), "collection")) && (0 === twig_compare((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 46, $this->source); })()), "ddb")))) {
// line 47
echo " Editionen für BOEP doc.
";
} elseif (((0 === twig_compare( // line 48
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 48, $this->source); })()), "collection")) && (0 === twig_compare((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 48, $this->source); })()), "dclp")))) {
// line 49
echo " Editionen für BOEP lit.
";
} elseif ((0 !== twig_compare( // line 50
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 50, $this->source); })()), "search"))) {
// line 51
echo " Editionen in
<br />
";
// line 53
if ((0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 53, $this->source); })()), "collection"))) {
// line 54
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_first($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 54, $this->source); })())), "compilation", [], "any", false, false, false, 54), "collection", [], "any", false, false, false, 54), "html", null, true);
echo "
";
} elseif (((((0 === twig_compare( // line 55
(isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 55, $this->source); })()), "tm")) || (0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 55, $this->source); })()), "hgv"))) || (0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 55, $this->source); })()), "ddb"))) || (0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 55, $this->source); })()), "biblio")))) {
// line 56
echo " ";
if ((((0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 56, $this->source); })()), "tm")) || (0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 56, $this->source); })()), "hgv"))) || (0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 56, $this->source); })()), "biblio")))) {
echo twig_escape_filter($this->env, twig_upper_filter($this->env, (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 56, $this->source); })())), "html", null, true);
echo " ";
}
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 56, $this->source); })()), "html", null, true);
echo "
";
} elseif (twig_length_filter($this->env, // line 57
(isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 57, $this->source); })()))) {
// line 58
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_first($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 58, $this->source); })())), "compilation", [], "any", false, false, false, 58), "short", [], "any", false, false, false, 58), "html", null, true);
echo "
";
}
// line 60
echo " ";
}
// line 61
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 64
public function block_lefty($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", "lefty"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lefty"));
// line 65
if (!twig_in_filter((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 65, $this->source); })()), [0 => "editie", 1 => "search"])) {
// line 66
echo " <ul>
";
// line 67
if (((0 === twig_compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 67, $this->source); })()), "boep")) && (0 !== twig_compare((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 67, $this->source); })()), "Bulletin of Online Emendations to Papyri")))) {
// line 68
echo " ";
$context["collection"] = "";
// line 69
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 69, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
// line 70
echo " ";
$context["currentCollection"] = (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "registerEntries", [], "any", false, false, false, 70)) && twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "registerEntries", [], "any", false, false, false, 70)), "dclp", [], "any", false, false, false, 70)))) ? ("DCLP") : ("DDB"));
// line 71
echo " ";
if ((0 !== twig_compare((isset($context["currentCollection"]) || array_key_exists("currentCollection", $context) ? $context["currentCollection"] : (function () { throw new RuntimeError('Variable "currentCollection" does not exist.', 71, $this->source); })()), (isset($context["collection"]) || array_key_exists("collection", $context) ? $context["collection"] : (function () { throw new RuntimeError('Variable "collection" does not exist.', 71, $this->source); })())))) {
// line 72
echo " <li><a href=\"#";
echo twig_escape_filter($this->env, (isset($context["currentCollection"]) || array_key_exists("currentCollection", $context) ? $context["currentCollection"] : (function () { throw new RuntimeError('Variable "currentCollection" does not exist.', 72, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (isset($context["currentCollection"]) || array_key_exists("currentCollection", $context) ? $context["currentCollection"] : (function () { throw new RuntimeError('Variable "currentCollection" does not exist.', 72, $this->source); })()), "html", null, true);
echo "</a></li>
";
// line 73
$context["collection"] = (isset($context["currentCollection"]) || array_key_exists("currentCollection", $context) ? $context["currentCollection"] : (function () { throw new RuntimeError('Variable "currentCollection" does not exist.', 73, $this->source); })());
// line 74
echo " ";
}
// line 75
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 76
echo " <hr />
";
}
// line 78
echo "
";
// line 79
$context["edition"] = "";
// line 80
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 80, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
// line 81
echo " ";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["c"], "edition", [], "any", false, false, false, 81), "title", [], "any", false, false, false, 81), (isset($context["edition"]) || array_key_exists("edition", $context) ? $context["edition"] : (function () { throw new RuntimeError('Variable "edition" does not exist.', 81, $this->source); })())))) {
// line 82
echo " <li>
<a href=\"#";
// line 83
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["c"], "edition", [], "any", false, false, false, 83), "title", [], "any", false, false, false, 83), [" " => "_", "." => ""]), "html", null, true);
echo "\" class=\"edition\">
";
// line 84
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["c"], "edition", [], "any", false, false, false, 84), "title", [], "any", false, false, false, 84), "html", null, true);
echo "
</a>
</li>
";
// line 87
$context["edition"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["c"], "edition", [], "any", false, false, false, 87), "title", [], "any", false, false, false, 87);
// line 88
echo " ";
}
// line 89
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 90
echo " </ul>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 95
public function block_righty_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", "righty_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "righty_title"));
// line 96
echo " ";
if (twig_length_filter($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 96, $this->source); })()))) {
// line 97
echo " ";
if (twig_in_filter((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 97, $this->source); })()), [0 => "tm", 1 => "hgv", 2 => "ddb", 3 => "volume", 4 => "biblio", 5 => "register", 6 => "editie"])) {
// line 98
echo " ";
} else {
// line 99
echo " weitere
";
// line 100
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_first($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 100, $this->source); })())), "compilation", [], "any", false, false, false, 100), "collection", [], "any", false, false, false, 100), "html", null, true);
echo "s
";
}
// line 102
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 105
public function block_righty($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", "righty"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "righty"));
// line 106
echo " ";
if (twig_in_filter((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 106, $this->source); })()), [0 => "tm", 1 => "hgv", 2 => "ddb", 3 => "volume", 4 => "biblio", 5 => "register", 6 => "editie"])) {
// line 107
echo " ";
} else {
// line 108
echo " <ul>
";
// line 109
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["compilations"]) || array_key_exists("compilations", $context) ? $context["compilations"] : (function () { throw new RuntimeError('Variable "compilations" does not exist.', 109, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
// line 110
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["c"], "collection", [], "any", false, false, false, 110), "BOEP"))) {
// line 111
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ApiaryHoney", ["type" => "boep", "id" => twig_get_attribute($this->env, $this->source, $context["c"], "title", [], "any", false, false, false, 111)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "item", [], "any", false, false, false, 111), "html", null, true);
echo "</a></li>
";
} else {
// line 113
echo " ";
if (((-1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["c"], "volume", [], "any", false, false, false, 113), 14)) || (1 === twig_compare(twig_get_attribute($this->env, $this->source, $context["c"], "volume", [], "any", false, false, false, 113), 100)))) {
// line 114
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ApiaryHoney", ["type" => "bl", "id" => twig_get_attribute($this->env, $this->source, $context["c"], "volume", [], "any", false, false, false, 114)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "short", [], "any", false, false, false, 114), "html", null, true);
echo "</a></li>
";
}
// line 116
echo " ";
}
// line 117
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 118
echo " </ul>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 122
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"));
// line 123
echo " ";
if (twig_length_filter($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 123, $this->source); })()))) {
// line 124
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_first($this->env, (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 124, $this->source); })())), "compilation", [], "any", false, false, false, 124), "collection", [], "any", false, false, false, 124), "BOEP"))) {
// line 125
echo " ";
$this->loadTemplate("apiary/snippetBoep.html.twig", "apiary/honey.html.twig", 125)->display(twig_array_merge($context, ["corrections" => (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 125, $this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 125, $this->source); })()), "id" => (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 125, $this->source); })())]));
// line 126
echo " ";
} else {
// line 127
echo " ";
$this->loadTemplate("apiary/snippetHoney.html.twig", "apiary/honey.html.twig", 127)->display(twig_array_merge($context, ["corrections" => (isset($context["corrections"]) || array_key_exists("corrections", $context) ? $context["corrections"] : (function () { throw new RuntimeError('Variable "corrections" does not exist.', 127, $this->source); })()), "type" => (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 127, $this->source); })()), "id" => (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 127, $this->source); })())]));
// line 128
echo " ";
}
// line 129
echo " ";
} else {
// line 130
echo " <p>Für ";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 130, $this->source); })())), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 130, $this->source); })()), "html", null, true);
echo " sind keine Datensätze abrufbar</p>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "apiary/honey.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 546 => 130, 543 => 129, 540 => 128, 537 => 127, 534 => 126, 531 => 125, 528 => 124, 525 => 123, 515 => 122, 503 => 118, 497 => 117, 494 => 116, 486 => 114, 483 => 113, 475 => 111, 472 => 110, 468 => 109, 465 => 108, 462 => 107, 459 => 106, 449 => 105, 438 => 102, 433 => 100, 430 => 99, 427 => 98, 424 => 97, 421 => 96, 411 => 95, 399 => 90, 393 => 89, 390 => 88, 388 => 87, 382 => 84, 378 => 83, 375 => 82, 372 => 81, 367 => 80, 365 => 79, 362 => 78, 358 => 76, 352 => 75, 349 => 74, 347 => 73, 340 => 72, 337 => 71, 334 => 70, 329 => 69, 326 => 68, 324 => 67, 321 => 66, 319 => 65, 309 => 64, 298 => 61, 295 => 60, 289 => 58, 287 => 57, 278 => 56, 276 => 55, 271 => 54, 269 => 53, 265 => 51, 263 => 50, 260 => 49, 258 => 48, 255 => 47, 253 => 46, 248 => 45, 246 => 44, 239 => 41, 236 => 40, 233 => 39, 223 => 38, 212 => 35, 208 => 33, 206 => 32, 203 => 31, 201 => 30, 198 => 29, 195 => 28, 192 => 27, 187 => 25, 180 => 23, 173 => 21, 169 => 19, 166 => 18, 164 => 17, 161 => 16, 151 => 14, 148 => 13, 134 => 12, 120 => 11, 103 => 10, 100 => 9, 97 => 8, 87 => 7, 74 => 4, 64 => 3, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend.html.twig' %}
{% block beta %}
{{ title }}
{% endblock %}
{% block gamma %}
{% if compilationsOfInterest|length and type != 'collection' %}
Die Inhalte der angezeigten Korrekturen stammen aus den Online-Beständen von
{% for key, coi in compilationsOfInterest %}
{% if key != 'BOEP' %}{% if loop.first == false %}, {% endif %}<a href=\"{{ path('PapyrillioBeehive_ApiaryHoney', {'type': 'bl', 'id': coi.volume }) }}\" title=\"{{ coi.short }}\">{{ coi.short|replace({' ' : ' '})|raw }}</a>{% endif %}
{% endfor %}
{% if compilationsOfInterest.BOEP is defined %}
{% if compilationsOfInterest|length > 1 %}, {% endif %}<a href=\"{{ path('PapyrillioBeehive_ApiaryHoney', {'type': 'collection', 'id': 'BOEP' }) }}\" title=\"Bulletin of Online Emendations to Papyri\">BOEP</a>
{% endif %}
{% if type not in ['bl', 'editie', 'search'] and corrections|length and corrections|first.registerEntries|length %}
{% set r = corrections|first.registerEntries|first %}
<br />
Weitere identifier und Links:
<a href=\"http://www.trismegistos.org/text/{{ r.tm }}\" title=\"Weitere Informationen auf Trismegistos\" target=\"_blank\">TM {{ r.tm }}</a>
=
<a href=\"https://papyri.info/hgv/{{ r.hgv }}\" title=\"Weitere Informationen auf papyri.info\" target=\"_blank\">{{ r.ddb }}</a>
=
HGV {{ r.hgv }}
{% endif %}
{% elseif type == 'collection' %}
{% if id == 'BOEP' %}
Es ist jetzt möglich, alle BOEP-Korrekturen an einem Ort einzusehen. Diese sind alphabetisch nach ihrer BL-Abkürzung geordnet. Es ist nicht mehr notwendig, jedes einzelne BOEP zu überprüfen. Die laufenden Nummern sind nachträglich hinzugefügt worden.
{% elseif id == 'ddb' %}
Alle Korrekturen im BOEP, die dokumentarische Texte betreffen, sind an einem Ort gesammelt. Sie sind alphabetisch nach ihrem BL-Kürzel geordnet.
{% elseif id == 'dclp' %}
Alle Korrekturen im BOEP, die literarische und halbliterarische Texte betreffen, werden an einem Ort gesammelt. Sie sind alphabetisch nach ihrem BL-Kürzel geordnet.
{% endif %}
{% endif %}
{% endblock %}
{% block lefty_title %}
{%if type != 'editie' and corrections|length %}
{% if type == 'volume' %}
{{ id }} in
<br/>
BL Online
{% elseif type == 'register' %}
Editionen für Register-Id {{ id }}
{% elseif type == 'collection' and id == 'ddb' %}
Editionen für BOEP doc.
{% elseif type == 'collection' and id == 'dclp' %}
Editionen für BOEP lit.
{% elseif type != 'search' %}
Editionen in
<br />
{% if type == 'collection' %}
{{ corrections|first.compilation.collection }}
{% elseif type == 'tm' or type == 'hgv' or type == 'ddb' or type == 'biblio' %}
{% if type == 'tm' or type == 'hgv' or type == 'biblio' %}{{ type | upper }} {% endif %}{{ id }}
{% elseif corrections|length %}
{{corrections|first.compilation.short}}
{% endif %}
{% endif %}
{% endif %}
{% endblock %}
{% block lefty %}
{% if type not in ['editie', 'search'] %}
<ul>
{% if type == 'boep' and id != 'Bulletin of Online Emendations to Papyri' %}
{% set collection = '' %}
{% for c in corrections %}
{% set currentCollection = c.registerEntries|length and c.registerEntries|first.dclp|length ? 'DCLP' : 'DDB' %}
{% if currentCollection != collection %}
<li><a href=\"#{{ currentCollection }}\">{{ currentCollection }}</a></li>
{% set collection = currentCollection %}
{% endif %}
{% endfor %}
<hr />
{% endif %}
{% set edition = '' %}
{% for c in corrections %}
{% if c.edition.title != edition %}
<li>
<a href=\"#{{ c.edition.title|replace({' ': '_', '.': ''}) }}\" class=\"edition\">
{{ c.edition.title }}
</a>
</li>
{% set edition = c.edition.title %}
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block righty_title %}
{% if corrections|length %}
{% if type in ['tm', 'hgv', 'ddb', 'volume', 'biblio', 'register', 'editie'] %}
{% else %}
weitere
{{ corrections|first.compilation.collection }}s
{% endif %}
{% endif %}
{% endblock %}
{% block righty %}
{% if type in ['tm', 'hgv', 'ddb', 'volume', 'biblio', 'register', 'editie'] %}
{% else %}
<ul>
{% for c in compilations %}
{% if c.collection == 'BOEP' %}
<li><a href=\"{{ path('PapyrillioBeehive_ApiaryHoney', {'type': 'boep', 'id': c.title }) }}\">{{ c.item}}</a></li>
{% else %}
{% if c.volume < 14 or c.volume > 100 %}
<li><a href=\"{{ path('PapyrillioBeehive_ApiaryHoney', {'type': 'bl', 'id': c.volume }) }}\">{{ c.short}}</a></li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block body %}
{% if corrections|length %}
{% if corrections|first.compilation.collection == 'BOEP' %}
{% include 'apiary/snippetBoep.html.twig' with {'corrections': corrections, 'type': type, 'id': id} %}
{% else %}
{% include 'apiary/snippetHoney.html.twig' with {'corrections': corrections, 'type': type, 'id': id} %}
{% endif %}
{% else %}
<p>Für {{ type|upper }} {{ id }} sind keine Datensätze abrufbar</p>
{% endif %}
{% endblock %}
", "apiary/honey.html.twig", "/var/www/beehive_dev/templates/apiary/honey.html.twig");
}
}