var/cache/dev/twig/dd/dd1fe82e7ff5899bd4d5903d11fac712.php line 35

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. /* signin.html.twig */
  14. class __TwigTemplate_74fe54536cd4a627fc08d28859b64607 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.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""signin.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""signin.html.twig"));
  35.         // line 1
  36.         $context["isPortal"] = (array_key_exists("isPortal"$context) && (isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'1$this->source); })()));
  37.         // line 2
  38.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'2$this->source); })()))) {
  39.             // line 3
  40.             echo "  ";
  41.             $context["document"] = Pimcore\Model\Document::getById(1);
  42.         }
  43.         // line 5
  44.         echo "
  45. <!DOCTYPE html>
  46. <html lang=\"en\">
  47. <meta http-equiv=\"Cache-Control\" content=\"no-cache, no-store, must-revalidate\" />
  48. <meta http-equiv=\"Pragma\" content=\"no-cache\" />
  49. <meta http-equiv=\"Expires\" content=\"0\" />
  50. ";
  51.         // line 11
  52.         $this->loadTemplate("Includes/head/headPart1.html.twig""signin.html.twig"11)->display(twig_array_merge($context, ["document" => (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'11$this->source); })())]));
  53.         // line 12
  54.         echo "
  55. ";
  56.         // line 14
  57.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("website/static/css/app.css")], "method"falsefalsetrue14);
  58.         // line 15
  59.         echo "
  60. ";
  61.         // line 16
  62.         $this->loadTemplate("Includes/head/headPart2.html.twig""signin.html.twig"16)->display($context);
  63.         // line 17
  64.         echo "
  65. ";
  66.         // line 19
  67.         $this->loadTemplate("Includes/head/headPart3.html.twig""signin.html.twig"19)->display($context);
  68.         // line 20
  69.         echo "
  70. <body class=\"sign-in-wrap\">
  71.  
  72.   <div id=\"wrapper\">
  73.     
  74.     <main id=\"main\" role=\"main\">
  75.       ";
  76.         // line 27
  77.         $this->displayBlock("content"$context$blocks);
  78.         echo "
  79.     </main>
  80.     <!-- footer of the page -->
  81.     ";
  82.         // line 31
  83.         $context["navStartNode"] = $this->extensions['App\Twig\AppExtension']->getNavStartNode();
  84.         // line 32
  85.         echo "
  86.     ";
  87.         // line 33
  88.         echo $this->env->getFunction('pimcore_inc')->getCallable()((("/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'33$this->source); })()), "getKey", [], "method"falsefalsetrue33), 33$this->source)) . "/en_us/shared/footer"));
  89.         echo "
  90.   </div>
  91. </body>
  92. <script>
  93. \$(document).ready(function(){
  94.   \$('a[href*=\"en_US\"]').each(function() {
  95.     this.href = this.href.replace('en_US','en_us');
  96.   })
  97. })
  98. </script>
  99. </html>
  100. ";
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.     }
  106.     /**
  107.      * @codeCoverageIgnore
  108.      */
  109.     public function getTemplateName()
  110.     {
  111.         return "signin.html.twig";
  112.     }
  113.     /**
  114.      * @codeCoverageIgnore
  115.      */
  116.     public function isTraitable()
  117.     {
  118.         return false;
  119.     }
  120.     /**
  121.      * @codeCoverageIgnore
  122.      */
  123.     public function getDebugInfo()
  124.     {
  125.         return array (  101 => 33,  98 => 32,  96 => 31,  89 => 27,  80 => 20,  78 => 19,  74 => 17,  72 => 16,  69 => 15,  67 => 14,  63 => 12,  61 => 11,  53 => 5,  49 => 3,  47 => 2,  45 => 1,);
  126.     }
  127.     public function getSourceContext()
  128.     {
  129.         return new Source("{% set isPortal = ((isPortal is defined) and isPortal) %}
  130. {% if not document is defined or not document %}
  131.   {% set document = pimcore_document(1) %}
  132. {% endif %}
  133. <!DOCTYPE html>
  134. <html lang=\"en\">
  135. <meta http-equiv=\"Cache-Control\" content=\"no-cache, no-store, must-revalidate\" />
  136. <meta http-equiv=\"Pragma\" content=\"no-cache\" />
  137. <meta http-equiv=\"Expires\" content=\"0\" />
  138. {% include 'Includes/head/headPart1.html.twig' with {'document': document} %}
  139. {% do pimcore_head_link().appendStylesheet(asset('website/static/css/app.css')) %}
  140. {% include 'Includes/head/headPart2.html.twig' %}
  141. {% include 'Includes/head/headPart3.html.twig' %}
  142. <body class=\"sign-in-wrap\">
  143.  
  144.   <div id=\"wrapper\">
  145.     
  146.     <main id=\"main\" role=\"main\">
  147.       {{ block('content') }}
  148.     </main>
  149.     <!-- footer of the page -->
  150.     {% set navStartNode = getNavStartNode() %}
  151.     {{ pimcore_inc('/' ~ navStartNode.getKey() ~ '/en_us/shared/footer') }}
  152.   </div>
  153. </body>
  154. <script>
  155. \$(document).ready(function(){
  156.   \$('a[href*=\"en_US\"]').each(function() {
  157.     this.href = this.href.replace('en_US','en_us');
  158.   })
  159. })
  160. </script>
  161. </html>
  162. ""signin.html.twig""/var/www/vhosts/centricdxb.com/pim2.centricdxb.com/templates/signin.html.twig");
  163.     }
  164.     
  165.     public function checkSecurity()
  166.     {
  167.         static $tags = array("set" => 1"if" => 2"include" => 11"do" => 14);
  168.         static $filters = array();
  169.         static $functions = array("pimcore_document" => 3"pimcore_head_link" => 14"asset" => 14"getNavStartNode" => 31"pimcore_inc" => 33);
  170.         try {
  171.             $this->sandbox->checkSecurity(
  172.                 ['set''if''include''do'],
  173.                 [],
  174.                 ['pimcore_document''pimcore_head_link''asset''getNavStartNode''pimcore_inc']
  175.             );
  176.         } catch (SecurityError $e) {
  177.             $e->setSourceContext($this->source);
  178.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  179.                 $e->setTemplateLine($tags[$e->getTagName()]);
  180.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  181.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  182.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  183.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  184.             }
  185.             throw $e;
  186.         }
  187.     }
  188. }