c21878d1f693273177581c3527152946.php
5.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* common/login.twig */
class __TwigTemplate_e125c98d8c90775552816e3e4e44a5b5 extends 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;
// line 1
yield ($context["header"] ?? null);
yield "
<div id=\"content\">
<div class=\"container-fluid\"><br />
<br />
<div class=\"row\">
<div class=\"col-sm-offset-4 col-sm-4\">
<div class=\"panel panel-default\">
<div class=\"panel-heading\">
<h1 class=\"panel-title\"><i class=\"fa fa-lock\"></i> ";
// line 9
yield ($context["text_login"] ?? null);
yield "</h1>
</div>
<div class=\"panel-body\">
";
// line 12
if (($context["success"] ?? null)) {
// line 13
yield " <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
yield ($context["success"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button>
</div>
";
}
// line 17
yield " ";
if (($context["error_warning"] ?? null)) {
// line 18
yield " <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
yield ($context["error_warning"] ?? null);
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button>
</div>
";
}
// line 22
yield " <form action=\"";
yield ($context["action"] ?? null);
yield "\" method=\"post\" enctype=\"multipart/form-data\">
<div class=\"form-group\">
<label for=\"input-username\">";
// line 24
yield ($context["entry_username"] ?? null);
yield "</label>
<div class=\"input-group\"><span class=\"input-group-addon\"><i class=\"fa fa-user\"></i></span>
<input type=\"text\" name=\"username\" value=\"";
// line 26
yield ($context["username"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_username"] ?? null);
yield "\" id=\"input-username\" class=\"form-control\" />
</div>
</div>
<div class=\"form-group\">
<label for=\"input-password\">";
// line 30
yield ($context["entry_password"] ?? null);
yield "</label>
<div class=\"input-group\"><span class=\"input-group-addon\"><i class=\"fa fa-lock\"></i></span>
<input type=\"password\" name=\"password\" value=\"";
// line 32
yield ($context["password"] ?? null);
yield "\" placeholder=\"";
yield ($context["entry_password"] ?? null);
yield "\" id=\"input-password\" class=\"form-control\" />
</div>
";
// line 34
if (($context["forgotten"] ?? null)) {
// line 35
yield " <span class=\"help-block\"><a href=\"";
yield ($context["forgotten"] ?? null);
yield "\">";
yield ($context["text_forgotten"] ?? null);
yield "</a></span>
";
}
// line 37
yield " </div>
<div class=\"text-right\">
<button type=\"submit\" class=\"btn btn-primary\"><i class=\"fa fa-key\"></i> ";
// line 39
yield ($context["button_login"] ?? null);
yield "</button>
</div>
";
// line 41
if (($context["redirect"] ?? null)) {
// line 42
yield " <input type=\"hidden\" name=\"redirect\" value=\"";
yield ($context["redirect"] ?? null);
yield "\" />
";
}
// line 44
yield " </form>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 51
yield ($context["footer"] ?? null);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "common/login.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 144 => 51, 135 => 44, 129 => 42, 127 => 41, 122 => 39, 118 => 37, 110 => 35, 108 => 34, 101 => 32, 96 => 30, 87 => 26, 82 => 24, 76 => 22, 68 => 18, 65 => 17, 57 => 13, 55 => 12, 49 => 9, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "common/login.twig", "");
}
}