init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
189
var/cache/dev/twig/f9/f9ee7eb6163af3fdf0a06c1fdaad93f43b2fe0066dd128e096252e3b53318210.php
vendored
Normal file
189
var/cache/dev/twig/f9/f9ee7eb6163af3fdf0a06c1fdaad93f43b2fe0066dd128e096252e3b53318210.php
vendored
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
<?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/sidebar/navSidebarWidgetInner.html.twig */
|
||||
class __TwigTemplate_7e7e5cf581f8535a697e038d1e5d45ab55a06d3a8dd17e2d0ca2df540336591c extends \Twig\Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
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/sidebar/navSidebarWidgetInner.html.twig"));
|
||||
|
||||
// line 1
|
||||
if ((isset($context["nav_pages"]) || array_key_exists("nav_pages", $context))) {
|
||||
// line 2
|
||||
echo " <div class=\"widget clearfix\">
|
||||
<div class=\"widget-title\">
|
||||
<a class=\"collapse-widget\" href=\"#side-navigation\" data-toggle=\"collapse\">";
|
||||
// line 4
|
||||
echo twig_escape_filter($this->env, (isset($context["slider_title"]) || array_key_exists("slider_title", $context) ? $context["slider_title"] : (function () { throw new RuntimeError('Variable "slider_title" does not exist.', 4, $this->source); })()), "html", null, true);
|
||||
echo "</a>
|
||||
</div><!-- end title -->
|
||||
|
||||
<nav id=\"side-navigation\" class=\"navbar collapse in\" role=\"navigation\" itemscope
|
||||
itemtype=\"https://schema.org/SiteNavigationElement\"
|
||||
>
|
||||
<ul class=\"side-menu\" role=\"menu\">
|
||||
|
||||
";
|
||||
// line 12
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable((isset($context["nav_pages"]) || array_key_exists("nav_pages", $context) ? $context["nav_pages"] : (function () { throw new RuntimeError('Variable "nav_pages" does not exist.', 12, $this->source); })()));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["nav_page"]) {
|
||||
// line 13
|
||||
echo "
|
||||
<li ";
|
||||
// line 14
|
||||
if ((($context["nav_page"] == (isset($context["nav_open_node"]) || array_key_exists("nav_open_node", $context) ? $context["nav_open_node"] : (function () { throw new RuntimeError('Variable "nav_open_node" does not exist.', 14, $this->source); })())) || ($context["nav_page"] == (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 14, $this->source); })())))) {
|
||||
echo "class =\"active\"";
|
||||
}
|
||||
echo " role=\"menuitem\" itemprop=\"name\">
|
||||
<a itemprop=\"url\" href=\"";
|
||||
// line 15
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["nav_page"], "urlPath", [], "any", false, false, false, 15), "html", null, true);
|
||||
echo "\" title=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["nav_page"], "title", [], "any", false, false, false, 15), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 16
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["nav_page"], "title", [], "any", false, false, false, 16), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</li>
|
||||
|
||||
";
|
||||
// line 20
|
||||
if (($context["nav_page"] == (isset($context["nav_open_node"]) || array_key_exists("nav_open_node", $context) ? $context["nav_open_node"] : (function () { throw new RuntimeError('Variable "nav_open_node" does not exist.', 20, $this->source); })()))) {
|
||||
// line 21
|
||||
echo " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable((isset($context["nav_child_pages"]) || array_key_exists("nav_child_pages", $context) ? $context["nav_child_pages"] : (function () { throw new RuntimeError('Variable "nav_child_pages" does not exist.', 21, $this->source); })()));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["nav_child_page"]) {
|
||||
if (((twig_get_attribute($this->env, $this->source, $context["nav_child_page"], "status", [], "any", false, false, false, 21) == 1) && (twig_get_attribute($this->env, $this->source, $context["nav_child_page"], "showInNavi", [], "any", false, false, false, 21) == 1))) {
|
||||
// line 22
|
||||
echo " <li class=\"sub-menu-item";
|
||||
if (($context["nav_child_page"] == (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 22, $this->source); })()))) {
|
||||
echo " active";
|
||||
}
|
||||
echo "\" role=\"menuitem\" itemprop=\"name\">
|
||||
<i class=\"fa fa-star\"></i>
|
||||
<a itemprop=\"url\" href=\"";
|
||||
// line 24
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["nav_child_page"], "urlPath", [], "any", false, false, false, 24), "html", null, true);
|
||||
echo "\" title=\"";
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["nav_child_page"], "title", [], "any", false, false, false, 24), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 25
|
||||
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["nav_child_page"], "title", [], "any", false, false, false, 25), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</li>
|
||||
";
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['nav_child_page'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 29
|
||||
echo " ";
|
||||
}
|
||||
// line 30
|
||||
echo "
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['nav_page'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 32
|
||||
echo " </ul>
|
||||
</nav>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "default/components/sidebar/navSidebarWidgetInner.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 126 => 32, 119 => 30, 116 => 29, 105 => 25, 99 => 24, 91 => 22, 85 => 21, 83 => 20, 76 => 16, 70 => 15, 64 => 14, 61 => 13, 57 => 12, 46 => 4, 42 => 2, 40 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("{% if nav_pages is defined %}
|
||||
<div class=\"widget clearfix\">
|
||||
<div class=\"widget-title\">
|
||||
<a class=\"collapse-widget\" href=\"#side-navigation\" data-toggle=\"collapse\">{{ slider_title }}</a>
|
||||
</div><!-- end title -->
|
||||
|
||||
<nav id=\"side-navigation\" class=\"navbar collapse in\" role=\"navigation\" itemscope
|
||||
itemtype=\"https://schema.org/SiteNavigationElement\"
|
||||
>
|
||||
<ul class=\"side-menu\" role=\"menu\">
|
||||
|
||||
{% for nav_page in nav_pages %}
|
||||
|
||||
<li {% if nav_page == nav_open_node or nav_page == page %}class =\"active\"{% endif %} role=\"menuitem\" itemprop=\"name\">
|
||||
<a itemprop=\"url\" href=\"{{ nav_page.urlPath }}\" title=\"{{ nav_page.title }}\">
|
||||
{{ nav_page.title }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{% if nav_page == nav_open_node %}
|
||||
{% for nav_child_page in nav_child_pages if nav_child_page.status == 1 and nav_child_page.showInNavi == 1 %}
|
||||
<li class=\"sub-menu-item{% if nav_child_page == page %} active{% endif %}\" role=\"menuitem\" itemprop=\"name\">
|
||||
<i class=\"fa fa-star\"></i>
|
||||
<a itemprop=\"url\" href=\"{{ nav_child_page.urlPath }}\" title=\"{{ nav_child_page.title }}\">
|
||||
{{ nav_child_page.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
{% endif %}", "default/components/sidebar/navSidebarWidgetInner.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/components/sidebar/navSidebarWidgetInner.html.twig");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue