parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
echo "
";
// line 2
if ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "user", []), "authenticated", [])) {
// line 3
echo " ";
echo (($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "user", []), "fullname", [])) ? ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "user", []), "fullname", [])) : ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "user", []), "username", [])));
echo ", env, $this->env->getExtension('Grav\Common\Twig\TwigExtension')->urlFunc($this->getAttribute(($context["uri"] ?? null), "addNonce", [0 => (((twig_trim_filter($this->getAttribute(($context["uri"] ?? null), "path", []), "/") . "/task") . $this->getAttribute($this->getAttribute(($context["config"] ?? null), "system", []), "param_sep", [])) . "login.logout"), 1 => "logout-form", 2 => "logout-nonce"], "method")));
echo "\">";
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate($this->env, "PLUGIN_LOGIN.BTN_LOGOUT");
echo "
";
}
// line 5
echo "
";
}
public function getTemplateName()
{
return "partials/login-status.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 45 => 5, 35 => 3, 33 => 2, 30 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("
{% if grav.user.authenticated %}
{{ grav.user.fullname ?: grav.user.username }}, {{ 'PLUGIN_LOGIN.BTN_LOGOUT'|t }}
{% endif %}
", "partials/login-status.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/plugins/login/templates/partials/login-status.html.twig");
}
}