Created
October 25, 2012 04:28
-
-
Save LionsAd/3950411 to your computer and use it in GitHub Desktop.
Auto Escaped Optimized Twig Compiled Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* core/modules/node/templates/node.twig */ | |
class __TwigTemplate_c2e554eca926f9ac6a6ef9a1b6d96476 extends Drupal\Core\Template\TwigTemplate | |
{ | |
public function __construct(Twig_Environment $env) | |
{ | |
parent::__construct($env); | |
$this->parent = false; | |
$this->blocks = array( | |
); | |
} | |
protected function doDisplay(array $context, array $blocks = array()) | |
{ | |
// line 82 | |
echo "<article id=\"node-"; | |
if (isset($context["node"])) { $_node_ = $context["node"]; } else { $_node_ = null; } | |
echo twig_escape_filter($this->env, $this->getAttribute($_node_, "nid"), "html", null, true); | |
echo "\" class=\""; | |
if (isset($context["attributes"])) { $_attributes_ = $context["attributes"]; } else { $_attributes_ = null; } | |
echo twig_escape_filter($this->env, $this->getAttribute($_attributes_, "class"), "html", null, true); | |
echo " clearfix\""; | |
if (isset($context["attributes"])) { $_attributes_ = $context["attributes"]; } else { $_attributes_ = null; } | |
echo twig_escape_filter($this->env, $_attributes_, "html", null, true); | |
echo "> | |
"; | |
// line 84 | |
echo twig_escape_filter($this->env, twig_render($this->getContextReference($context, "title_prefix")), "html", null, true); | |
echo " | |
"; | |
// line 85 | |
if (isset($context["page"])) { $_page_ = $context["page"]; } else { $_page_ = null; } | |
if (($_page_ != true)) { | |
// line 86 | |
echo " <h2"; | |
if (isset($context["title_attributes"])) { $_title_attributes_ = $context["title_attributes"]; } else { $_title_attributes_ = null; } | |
echo twig_escape_filter($this->env, $_title_attributes_, "html", null, true); | |
echo "> | |
<a href=\""; | |
// line 87 | |
if (isset($context["node_url"])) { $_node_url_ = $context["node_url"]; } else { $_node_url_ = null; } | |
echo twig_escape_filter($this->env, $_node_url_, "html", null, true); | |
echo "\" rel=\"bookmark\">"; | |
if (isset($context["label"])) { $_label_ = $context["label"]; } else { $_label_ = null; } | |
echo twig_escape_filter($this->env, $_label_, "html", null, true); | |
echo "</a> | |
</h2> | |
"; | |
} | |
// line 90 | |
echo " "; | |
echo twig_escape_filter($this->env, twig_render($this->getContextReference($context, "title_suffix")), "html", null, true); | |
echo " | |
"; | |
// line 92 | |
if (isset($context["display_submitted"])) { $_display_submitted_ = $context["display_submitted"]; } else { $_display_submitted_ = null; } | |
if ($_display_submitted_) { | |
// line 93 | |
echo " <footer> | |
"; | |
// line 94 | |
if (isset($context["user_picture"])) { $_user_picture_ = $context["user_picture"]; } else { $_user_picture_ = null; } | |
echo twig_escape_filter($this->env, $_user_picture_, "html", null, true); | |
echo " | |
<p class=\"submitted\">"; | |
// line 95 | |
if (isset($context["submitted"])) { $_submitted_ = $context["submitted"]; } else { $_submitted_ = null; } | |
echo twig_escape_filter($this->env, $_submitted_, "html", null, true); | |
echo "</p> | |
</footer> | |
"; | |
} | |
// line 98 | |
echo " | |
<div class=\"content\""; | |
// line 99 | |
if (isset($context["content_attributes"])) { $_content_attributes_ = $context["content_attributes"]; } else { $_content_attributes_ = null; } | |
echo twig_escape_filter($this->env, $_content_attributes_, "html", null, true); | |
echo "> | |
"; | |
// line 101 | |
echo " "; | |
echo twig_escape_filter($this->env, twig_render(twig_hide($this->getAttribute($this->getContextReference($context, "content"), "comments"))), "html", null, true); | |
// line 102 | |
echo " "; | |
echo twig_escape_filter($this->env, twig_render(twig_hide($this->getAttribute($this->getContextReference($context, "content"), "links"))), "html", null, true); | |
// line 103 | |
echo " "; | |
echo twig_escape_filter($this->env, twig_render($this->getContextReference($context, "content")), "html", null, true); | |
echo " | |
</div> | |
"; | |
// line 106 | |
echo twig_escape_filter($this->env, twig_render($this->getAttribute($this->getContextReference($context, "content"), "links")), "html", null, true); | |
echo " | |
"; | |
// line 107 | |
echo twig_escape_filter($this->env, twig_render($this->getAttribute($this->getContextReference($context, "content"), "comments")), "html", null, true); | |
echo " | |
</article> | |
"; | |
} | |
public function getTemplateName() | |
{ | |
return "core/modules/node/templates/node.twig"; | |
} | |
public function isTraitable() | |
{ | |
return false; | |
} | |
public function getDebugInfo() | |
{ | |
return array ( 102 => 107, 98 => 106, 91 => 103, 88 => 102, 85 => 101, 80 => 99, 77 => 98, 70 => 95, 65 => 94, 62 => 93, 59 => 92, 53 => 90, 43 => 87, 37 => 86, 34 => 85, 30 => 84, 17 => 82,); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment