148 lines
6.5 KiB
PHP
148 lines
6.5 KiB
PHP
<?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;
|
|
|
|
/* default/components/embed/modal.html.twig */
|
|
class __TwigTemplate_dadaa48df73d1e03acbce9dce898fb9b0b140a061e45f2b9392bc09b74352396 extends \Twig\Template
|
|
{
|
|
private $source;
|
|
private $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
'body' => [$this, 'block_body'],
|
|
'footer' => [$this, 'block_footer'],
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/components/embed/modal.html.twig"));
|
|
|
|
// line 1
|
|
echo "<style>
|
|
.modal-content .wrapper-nav-tabs {
|
|
display: none;
|
|
}
|
|
</style>
|
|
<div class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" id=\"st-";
|
|
// line 6
|
|
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.', 6, $this->source); })()), "html", null, true);
|
|
echo "-modal\">
|
|
<div class=\"modal-dialog modal-lg\" role=\"document\">
|
|
<div class=\"modal-content\">
|
|
<div class=\"modal-header\">
|
|
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>
|
|
<h4 class=\"modal-title\">";
|
|
// line 11
|
|
((((isset($context["title"]) || array_key_exists("title", $context)) && !(null === (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 11, $this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 11, $this->source); })()), "html", null, true))) : (print ("")));
|
|
echo "</h4>
|
|
</div>
|
|
<div class=\"modal-body\">
|
|
";
|
|
// line 14
|
|
$this->displayBlock('body', $context, $blocks);
|
|
// line 15
|
|
echo " </div>
|
|
<div class=\"modal-footer\">
|
|
";
|
|
// line 17
|
|
$this->displayBlock('footer', $context, $blocks);
|
|
// line 20
|
|
echo " </div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div><!-- /.modal -->";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 14
|
|
public function block_body($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__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);
|
|
|
|
}
|
|
|
|
// line 17
|
|
public function block_footer($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
|
|
|
|
// line 18
|
|
echo " <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">schließen</button>
|
|
";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "default/components/embed/modal.html.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 100 => 18, 93 => 17, 81 => 14, 71 => 20, 69 => 17, 65 => 15, 63 => 14, 57 => 11, 49 => 6, 42 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("<style>
|
|
.modal-content .wrapper-nav-tabs {
|
|
display: none;
|
|
}
|
|
</style>
|
|
<div class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" id=\"st-{{ id }}-modal\">
|
|
<div class=\"modal-dialog modal-lg\" role=\"document\">
|
|
<div class=\"modal-content\">
|
|
<div class=\"modal-header\">
|
|
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>
|
|
<h4 class=\"modal-title\">{{ title ?? '' }}</h4>
|
|
</div>
|
|
<div class=\"modal-body\">
|
|
{% block body %}{% endblock %}
|
|
</div>
|
|
<div class=\"modal-footer\">
|
|
{% block footer %}
|
|
<button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">schließen</button>
|
|
{% endblock %}
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div><!-- /.modal -->", "default/components/embed/modal.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/embed/modal.html.twig");
|
|
}
|
|
}
|