var/cache/dev/twig/c6/c6889ac2070fa868a8306131978482e115938fc75015dee1abfb9cde184c3f87.php line 34

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* main-template.html.twig */
  14. class __TwigTemplate_19869c599c6e3fc72cf8e45ec9cbd46aa96b8a16899417917942a11850464419 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main-template.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main-template.html.twig"));
  34.         // line 1
  35.         $context["env"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "server", [], "any"falsefalsefalse1), "get", [=> "APP_ENV"], "method"falsefalsefalse1);
  36.         // line 2
  37.         echo "
  38. ";
  39.         // line 3
  40.         $context["lang"] = twig_get_attribute($this->env$this->sourcetwig_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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3);
  41.         // line 4
  42.         echo "
  43. ";
  44.         // line 5
  45.         if (Pimcore\Model\Site::isSiteRequest()) {
  46.             // line 6
  47.             echo "    ";
  48.             $context["site"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcePimcore\Model\Site::getCurrentSite(), "getRootDocument", [], "method"falsefalsefalse6), "getRealFullpath", [], "method"falsefalsefalse6);
  49.         } else {
  50.             // line 8
  51.             echo "    ";
  52.             $context["site"] = twig_get_attribute($this->env$this->sourcePimcore\Model\Document::getById(1), "getRealFullpath", [], "method"falsefalsefalse8);
  53.         }
  54.         // line 10
  55.         echo "
  56. ";
  57.         // line 13
  58.         $context["siteconfig"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'13$this->source); })()), "getProperty", [=> "siteconfig"], "method"falsefalsefalse13);
  59.         // line 14
  60.         echo "
  61. ";
  62.         // line 15
  63.         $context["staticPath"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'15$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'15$this->source); })()), "mainTemplatePath", [], "any"falsefalsefalse15)) : ("/var/static/template/friends/"));
  64.         // line 16
  65.         $context["bodyClass"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'16$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'16$this->source); })()), "bodyClass", [], "any"falsefalsefalse16)) : ("modern"));
  66.         // line 17
  67.         $context["navType"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'17$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'17$this->source); })()), "navType", [], "any"falsefalsefalse17)) : ("default"));
  68.         // line 18
  69.         $context["footerType"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'18$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'18$this->source); })()), "footerType", [], "any"falsefalsefalse18)) : ("default"));
  70.         // line 19
  71.         echo "
  72. <!DOCTYPE html>
  73. <html lang=\"";
  74.         // line 21
  75.         echo twig_escape_filter($this->env, (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'21$this->source); })()), "html"nulltrue);
  76.         echo "\">
  77.     <head>
  78.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  79.         <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>
  80.         <meta name=\"author\" content=\"";
  81.         // line 26
  82.         echo twig_escape_filter($this->env, (isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'26$this->source); })()), "html"nulltrue);
  83.         echo "\"/>
  84.         ";
  85.         // line 28
  86.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'28$this->source); })()) . "css/plugins.css")], "method"falsefalsefalse28);
  87.         // line 29
  88.         echo "        ";
  89.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'29$this->source); })()) . "css/style.css")], "method"falsefalsefalse29);
  90.         // line 30
  91.         echo "        ";
  92.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'30$this->source); })()) . "css/custom.css")], "method"falsefalsefalse30);
  93.         // line 31
  94.         echo "
  95.         ";
  96.         // line 32
  97.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'32$this->source); })())) {
  98.             // line 33
  99.             echo "            ";
  100.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'33$this->source); })()) . "css/admin.css")], "method"falsefalsefalse33);
  101.             // line 34
  102.             echo "        ";
  103.         }
  104.         // line 35
  105.         echo "
  106.         ";
  107.         // line 36
  108.         if (((isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'36$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'36$this->source); })()), "templateFiles", [], "any"falsefalsefalse36))) {
  109.             // line 37
  110.             echo "            ";
  111.             $context['_parent'] = $context;
  112.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'37$this->source); })()), "templateFiles", [], "any"falsefalsefalse37));
  113.             foreach ($context['_seq'] as $context["_key"] => $context["templateFile"]) {
  114.                 // line 38
  115.                 echo "                ";
  116.                 if ((twig_get_attribute($this->env$this->source$context["templateFile"], "mimeType", [], "any"falsefalsefalse38) == "text/css")) {
  117.                     // line 39
  118.                     echo "                    ";
  119.                     twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $context["templateFile"]], "method"falsefalsefalse39);
  120.                     // line 40
  121.                     echo "                ";
  122.                 }
  123.                 // line 41
  124.                 echo "            ";
  125.             }
  126.             $_parent $context['_parent'];
  127.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['templateFile'], $context['_parent'], $context['loop']);
  128.             $context array_intersect_key($context$_parent) + $_parent;
  129.             // line 42
  130.             echo "        ";
  131.         }
  132.         // line 43
  133.         echo "
  134.         ";
  135.         // line 44
  136.         if ( !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'44$this->source); })())) {
  137.             // line 45
  138.             echo "            ";
  139.             $context["document"] = Pimcore\Model\Document::getById(1);
  140.             // line 46
  141.             echo "        ";
  142.         }
  143.         // line 47
  144.         echo "
  145.         ";
  146.         // line 48
  147.         if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'48$this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  148.             // line 49
  149.             echo "            ";
  150.             $context["document"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'49$this->source); })()), "getObject", [], "method"falsefalsefalse49);
  151.             // line 50
  152.             echo "        ";
  153.         }
  154.         // line 51
  155.         echo "
  156.         ";
  157.         // line 52
  158.         if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'52$this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
  159.             // line 53
  160.             echo "            ";
  161.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'53$this->source); })()), "getTitle", [], "any"falsefalsefalse53))) {
  162.                 // line 54
  163.                 echo "                ";
  164.                 $this->env->getFunction('pimcore_head_title')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'54$this->source); })()), "getTitle", [], "any"falsefalsefalse54));
  165.                 // line 55
  166.                 echo "            ";
  167.             }
  168.             // line 56
  169.             echo "            ";
  170.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'56$this->source); })()), "getDescription", [], "any"falsefalsefalse56))) {
  171.                 // line 57
  172.                 echo "                ";
  173.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", [=> "description"=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'57$this->source); })()), "getDescription", [], "any"falsefalsefalse57)], "method"falsefalsefalse57);
  174.                 // line 58
  175.                 echo "            ";
  176.             }
  177.             // line 59
  178.             echo "        ";
  179.         }
  180.         // line 60
  181.         echo "
  182.         ";
  183.         // line 61
  184.         if (array_key_exists("headTitleMain"$context)) {
  185.             // line 62
  186.             echo "            ";
  187.             $this->env->getFunction('pimcore_head_title')->getCallable()((isset($context["headTitleMain"]) || array_key_exists("headTitleMain"$context) ? $context["headTitleMain"] : (function () { throw new RuntimeError('Variable "headTitleMain" does not exist.'62$this->source); })()));
  188.             // line 63
  189.             echo "        ";
  190.         }
  191.         // line 64
  192.         echo "
  193.         ";
  194.         // line 65
  195.         if (array_key_exists("headMetaDescription"$context)) {
  196.             // line 66
  197.             echo "            ";
  198.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", [=> "description"=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'66$this->source); })()), "getDescription", [], "any"falsefalsefalse66)], "method"falsefalsefalse66);
  199.             // line 67
  200.             echo "        ";
  201.         }
  202.         // line 68
  203.         echo "
  204.         ";
  205.         // line 69
  206.         if ((array_key_exists("og"$context) && twig_test_iterable((isset($context["og"]) || array_key_exists("og"$context) ? $context["og"] : (function () { throw new RuntimeError('Variable "og" does not exist.'69$this->source); })())))) {
  207.             // line 70
  208.             echo "            ";
  209.             $context['_parent'] = $context;
  210.             $context['_seq'] = twig_ensure_traversable((isset($context["og"]) || array_key_exists("og"$context) ? $context["og"] : (function () { throw new RuntimeError('Variable "og" does not exist.'70$this->source); })()));
  211.             foreach ($context['_seq'] as $context["_key"] => $context["ogItem"]) {
  212.                 // line 71
  213.                 echo "                ";
  214.                 if ((twig_get_attribute($this->env$this->source$context["ogItem"], "type", [], "any"falsefalsefalse71) && twig_get_attribute($this->env$this->source$context["ogItem"], "content", [], "any"falsefalsefalse71))) {
  215.                     // line 72
  216.                     echo "                    ";
  217.                     twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", [=> ("og:" twig_get_attribute($this->env$this->source$context["ogItem"], "type", [], "any"falsefalsefalse72)), => twig_get_attribute($this->env$this->source$context["ogItem"], "content", [], "any"falsefalsefalse72)], "method"falsefalsefalse72);
  218.                     // line 73
  219.                     echo "                ";
  220.                 }
  221.                 // line 74
  222.                 echo "            ";
  223.             }
  224.             $_parent $context['_parent'];
  225.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ogItem'], $context['_parent'], $context['loop']);
  226.             $context array_intersect_key($context$_parent) + $_parent;
  227.             // line 75
  228.             echo "        ";
  229.         }
  230.         // line 76
  231.         echo "
  232.         ";
  233.         // line 77
  234.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  235.         echo "
  236.         ";
  237.         // line 78
  238.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  239.         echo "
  240.         ";
  241.         // line 79
  242.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  243.         echo "
  244.     </head>
  245.     <body data-env=\"";
  246.         // line 82
  247.         echo twig_escape_filter($this->env, (isset($context["env"]) || array_key_exists("env"$context) ? $context["env"] : (function () { throw new RuntimeError('Variable "env" does not exist.'82$this->source); })()), "html"nulltrue);
  248.         echo "\" class=\"";
  249.         echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'82$this->source); })()), "html"nulltrue);
  250.         echo "\">
  251.         <div class=\"body-inner\">
  252.             ";
  253.         // line 84
  254.         echo $this->env->getFunction('pimcore_inc')->getCallable()((((((isset($context["site"]) || array_key_exists("site"$context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.'84$this->source); })()) . "/") . (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'84$this->source); })())) . "/shared/template/nav/") . (isset($context["navType"]) || array_key_exists("navType"$context) ? $context["navType"] : (function () { throw new RuntimeError('Variable "navType" does not exist.'84$this->source); })())), ["siteconfig" => ((        // line 85
  255. (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'85$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'85$this->source); })()), "id", [], "any"falsefalsefalse85)) : (null)), "documentNav" => twig_get_attribute($this->env$this->source,         // line 86
  256. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'86$this->source); })()), "id", [], "any"falsefalsefalse86)]);
  257.         // line 87
  258.         echo "
  259.             ";
  260.         // line 89
  261.         $this->displayBlock('content'$context$blocks);
  262.         // line 90
  263.         echo "
  264.             ";
  265.         // line 91
  266.         echo $this->env->getFunction('pimcore_inc')->getCallable()((((((isset($context["site"]) || array_key_exists("site"$context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.'91$this->source); })()) . "/") . (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'91$this->source); })())) . "/shared/template/footer/") . (isset($context["footerType"]) || array_key_exists("footerType"$context) ? $context["footerType"] : (function () { throw new RuntimeError('Variable "footerType" does not exist.'91$this->source); })())), ["siteconfig" => ((        // line 92
  267. (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'92$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'92$this->source); })()), "id", [], "any"falsefalsefalse92)) : (null)), "documentFooter" => twig_get_attribute($this->env$this->source,         // line 93
  268. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'93$this->source); })()), "id", [], "any"falsefalsefalse93)]);
  269.         // line 94
  270.         echo "
  271.         </div>
  272.     </body>
  273.     ";
  274.         // line 98
  275.         if (((isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'98$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'98$this->source); })()), "templateFiles", [], "any"falsefalsefalse98))) {
  276.             // line 99
  277.             echo "        ";
  278.             $context['_parent'] = $context;
  279.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig"$context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.'99$this->source); })()), "templateFiles", [], "any"falsefalsefalse99));
  280.             foreach ($context['_seq'] as $context["_key"] => $context["templateFile"]) {
  281.                 // line 100
  282.                 echo "            ";
  283.                 if ((twig_get_attribute($this->env$this->source$context["templateFile"], "mimetype", [], "any"falsefalsefalse100) == "application/x-javascript")) {
  284.                     // line 101
  285.                     echo "                ";
  286.                     twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> $context["templateFile"]], "method"falsefalsefalse101);
  287.                     // line 102
  288.                     echo "            ";
  289.                 }
  290.                 // line 103
  291.                 echo "        ";
  292.             }
  293.             $_parent $context['_parent'];
  294.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['templateFile'], $context['_parent'], $context['loop']);
  295.             $context array_intersect_key($context$_parent) + $_parent;
  296.             // line 104
  297.             echo "    ";
  298.         }
  299.         // line 105
  300.         echo "
  301.     ";
  302.         // line 106
  303.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'106$this->source); })()) . "js/app.js")], "method"falsefalsefalse106);
  304.         // line 107
  305.         echo "    ";
  306.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> "bundles/formbuilder/js/frontend/vendor/dependsOn/dependsOn.min.js"], "method"falsefalsefalse107);
  307.         // line 108
  308.         echo "    ";
  309.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> "bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.conditional-logic.js"], "method"falsefalsefalse108);
  310.         // line 109
  311.         echo "    ";
  312.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> "bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.repeater.js"], "method"falsefalsefalse109);
  313.         // line 110
  314.         echo "    ";
  315.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> "bundles/formbuilder/js/frontend/plugins/jquery.fb.core.form-builder.js"], "method"falsefalsefalse110);
  316.         // line 111
  317.         echo "    ";
  318.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'111$this->source); })()) . "js/functions.js")], "method"falsefalsefalse111);
  319.         // line 112
  320.         echo "    ";
  321.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'112$this->source); })()) . "js/plugins.js")], "method"falsefalsefalse112);
  322.         // line 113
  323.         echo "    ";
  324.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [=> ((isset($context["staticPath"]) || array_key_exists("staticPath"$context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.'113$this->source); })()) . "js/jquery.js")], "method"falsefalsefalse113);
  325.         // line 114
  326.         echo "
  327.     ";
  328.         // line 115
  329.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  330.         echo "
  331. </html>
  332. ";
  333.         
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  335.         
  336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  337.     }
  338.     // line 89
  339.     public function block_content($context, array $blocks = [])
  340.     {
  341.         $macros $this->macros;
  342.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  344.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  346.         
  347.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  348.         
  349.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  350.     }
  351.     public function getTemplateName()
  352.     {
  353.         return "main-template.html.twig";
  354.     }
  355.     public function isTraitable()
  356.     {
  357.         return false;
  358.     }
  359.     public function getDebugInfo()
  360.     {
  361.         return array (  359 => 89,  345 => 115,  342 => 114,  339 => 113,  336 => 112,  333 => 111,  330 => 110,  327 => 109,  324 => 108,  321 => 107,  319 => 106,  316 => 105,  313 => 104,  307 => 103,  304 => 102,  301 => 101,  298 => 100,  293 => 99,  291 => 98,  285 => 94,  283 => 93,  282 => 92,  281 => 91,  278 => 90,  276 => 89,  272 => 87,  270 => 86,  269 => 85,  268 => 84,  261 => 82,  255 => 79,  251 => 78,  247 => 77,  244 => 76,  241 => 75,  235 => 74,  232 => 73,  229 => 72,  226 => 71,  221 => 70,  219 => 69,  216 => 68,  213 => 67,  210 => 66,  208 => 65,  205 => 64,  202 => 63,  199 => 62,  197 => 61,  194 => 60,  191 => 59,  188 => 58,  185 => 57,  182 => 56,  179 => 55,  176 => 54,  173 => 53,  171 => 52,  168 => 51,  165 => 50,  162 => 49,  160 => 48,  157 => 47,  154 => 46,  151 => 45,  149 => 44,  146 => 43,  143 => 42,  137 => 41,  134 => 40,  131 => 39,  128 => 38,  123 => 37,  121 => 36,  118 => 35,  115 => 34,  112 => 33,  110 => 32,  107 => 31,  104 => 30,  101 => 29,  99 => 28,  94 => 26,  86 => 21,  82 => 19,  80 => 18,  78 => 17,  76 => 16,  74 => 15,  71 => 14,  69 => 13,  64 => 10,  60 => 8,  56 => 6,  54 => 5,  51 => 4,  49 => 3,  46 => 2,  44 => 1,);
  362.     }
  363.     public function getSourceContext()
  364.     {
  365.         return new Source("{% set env = app.request.server.get('APP_ENV') %}
  366. {% set lang = app.request.locale %}
  367. {% if pimcore_site_is_request() %}
  368.     {% set site = pimcore_site_current().getRootDocument().getRealFullpath() %}
  369. {% else %}
  370.     {% set site = pimcore_document(1).getRealFullpath() %}
  371. {% endif %}
  372. {% set siteconfig = document.getProperty('siteconfig') %}
  373. {% set staticPath = siteconfig ? siteconfig.mainTemplatePath : '/var/static/template/friends/' %}
  374. {% set bodyClass  = siteconfig ? siteconfig.bodyClass : 'modern' %}
  375. {% set navType    = siteconfig ? siteconfig.navType : 'default' %}
  376. {% set footerType = siteconfig ? siteconfig.footerType : 'default' %}
  377. <!DOCTYPE html>
  378. <html lang=\"{{ lang }}\">
  379.     <head>
  380.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  381.         <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>
  382.         <meta name=\"author\" content=\"{{ staticPath }}\"/>
  383.         {% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/plugins.css') %}
  384.         {% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/style.css') %}
  385.         {% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/custom.css') %}
  386.         {% if editmode %}
  387.             {% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/admin.css') %}
  388.         {% endif %}
  389.         {% if siteconfig and siteconfig.templateFiles %}
  390.             {% for templateFile in siteconfig.templateFiles %}
  391.                 {% if templateFile.mimeType == 'text/css' %}
  392.                     {% do pimcore_head_link().appendStylesheet(templateFile) %}
  393.                 {% endif %}
  394.             {% endfor %}
  395.         {% endif %}
  396.         {% if not document %}
  397.             {% set document = pimcore_document(1) %}
  398.         {% endif %}
  399.         {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  400.             {% set document = document.getObject() %}
  401.         {% endif %}
  402.         {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
  403.             {% if document.getTitle is not empty %}
  404.                 {% do pimcore_head_title(document.getTitle) %}
  405.             {% endif %}
  406.             {% if document.getDescription is not empty %}
  407.                 {% do pimcore_head_meta().appendName('description', document.getDescription) %}
  408.             {% endif %}
  409.         {% endif %}
  410.         {% if headTitleMain is defined %}
  411.             {% do pimcore_head_title(headTitleMain) %}
  412.         {% endif %}
  413.         {% if headMetaDescription is defined %}
  414.             {% do pimcore_head_meta().appendName('description', document.getDescription) %}
  415.         {% endif %}
  416.         {% if og is defined and og is iterable %}
  417.             {% for ogItem in og %}
  418.                 {% if ogItem.type and ogItem.content %}
  419.                     {% do pimcore_head_meta().setProperty('og:'~ogItem.type, ogItem.content) %}
  420.                 {% endif %}
  421.             {% endfor %}
  422.         {% endif %}
  423.         {{ pimcore_head_title() }}
  424.         {{ pimcore_head_meta() }}
  425.         {{ pimcore_head_link() }}
  426.     </head>
  427.     <body data-env=\"{{ env }}\" class=\"{{ bodyClass }}\">
  428.         <div class=\"body-inner\">
  429.             {{ pimcore_inc(site~'/'~lang~'/shared/template/nav/' ~ navType, {
  430.                 'siteconfig' : (siteconfig ? siteconfig.id:null),
  431.                 'documentNav' : document.id
  432.             }) }}
  433.             {% block content %}{% endblock %}
  434.             {{ pimcore_inc(site~'/'~lang~'/shared/template/footer/' ~ footerType, {
  435.                 'siteconfig' : (siteconfig ? siteconfig.id:null),
  436.                 'documentFooter' : document.id,
  437.             }) }}
  438.         </div>
  439.     </body>
  440.     {% if siteconfig and siteconfig.templateFiles %}
  441.         {% for templateFile in siteconfig.templateFiles %}
  442.             {% if templateFile.mimetype == 'application/x-javascript' %}
  443.                 {% do pimcore_head_script().prependFile(templateFile) %}
  444.             {% endif %}
  445.         {% endfor %}
  446.     {% endif %}
  447.     {% do pimcore_head_script().prependFile(staticPath ~ 'js/app.js') %}
  448.     {% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/vendor/dependsOn/dependsOn.min.js') %}
  449.     {% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.conditional-logic.js') %}
  450.     {% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.repeater.js') %}
  451.     {% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/plugins/jquery.fb.core.form-builder.js') %}
  452.     {% do pimcore_head_script().prependFile(staticPath ~ 'js/functions.js') %}
  453.     {% do pimcore_head_script().prependFile(staticPath ~ 'js/plugins.js') %}
  454.     {% do pimcore_head_script().prependFile(staticPath ~ 'js/jquery.js') %}
  455.     {{ pimcore_head_script() }}
  456. </html>
  457. ""main-template.html.twig""/usr/www/users/friend/friendscore.web.a22.localhost/templates/main-template.html.twig");
  458.     }
  459. }