1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* layout.html.twig */ |
4
|
|
|
class __TwigTemplate_aac06daff98e197f72d1921ead7832df8209ebb445464010070cff5c9abc245f extends Twig_Template |
|
|
|
|
5
|
|
|
{ |
6
|
|
|
public function __construct(Twig_Environment $env) |
7
|
|
|
{ |
8
|
|
|
parent::__construct($env); |
9
|
|
|
|
10
|
|
|
$this->parent = false; |
11
|
|
|
|
12
|
|
|
$this->blocks = array( |
13
|
|
|
'content' => array($this, 'block_content'), |
14
|
|
|
); |
15
|
|
|
} |
16
|
|
|
|
17
|
|
|
protected function doDisplay(array $context, array $blocks = array()) |
18
|
|
|
{ |
19
|
|
|
// line 1 |
20
|
|
|
echo "<!doctype html> |
21
|
|
|
<html lang=\"en\"> |
22
|
|
|
<head> |
23
|
|
|
<meta charset=\"UTF-8\"> |
24
|
|
|
<meta name=\"viewport\" |
25
|
|
|
content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\"> |
26
|
|
|
<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\"> |
27
|
|
|
<title>"; |
28
|
|
|
// line 8 |
29
|
|
|
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); |
30
|
|
|
echo "</title> |
31
|
|
|
<link rel=\"shortcut icon\" href=\"/favicon.ico\" /> |
32
|
|
|
\t"; |
33
|
|
|
// line 10 |
34
|
|
|
if (twig_constant("DEV")) { |
35
|
|
|
// line 11 |
36
|
|
|
echo "\t\t"; |
37
|
|
|
echo $this->getAttribute(($context["debugbar"] ?? null), "renderHead", array(), "method"); |
38
|
|
|
echo " |
39
|
|
|
\t"; |
40
|
|
|
} |
41
|
|
|
// line 13 |
42
|
|
|
echo "</head> |
43
|
|
|
<body> |
44
|
|
|
|
45
|
|
|
"; |
46
|
|
|
// line 16 |
47
|
|
|
$this->displayBlock('content', $context, $blocks); |
48
|
|
|
// line 17 |
49
|
|
|
echo " |
50
|
|
|
\t"; |
51
|
|
|
// line 18 |
52
|
|
|
if (twig_constant("DEV")) { |
53
|
|
|
// line 19 |
54
|
|
|
echo " "; |
55
|
|
|
echo $this->getAttribute(($context["debugbar"] ?? null), "render", array(), "method"); |
56
|
|
|
echo " |
57
|
|
|
"; |
58
|
|
|
} |
59
|
|
|
// line 21 |
60
|
|
|
echo "</body> |
61
|
|
|
</html> |
62
|
|
|
"; |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
// line 16 |
66
|
|
|
public function block_content($context, array $blocks = array()) |
|
|
|
|
67
|
|
|
{ |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
public function getTemplateName() |
71
|
|
|
{ |
72
|
|
|
return "layout.html.twig"; |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
public function isTraitable() |
76
|
|
|
{ |
77
|
|
|
return false; |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
public function getDebugInfo() |
81
|
|
|
{ |
82
|
|
|
return array ( 66 => 16, 60 => 21, 54 => 19, 52 => 18, 49 => 17, 47 => 16, 42 => 13, 36 => 11, 34 => 10, 29 => 8, 20 => 1,); |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ |
86
|
|
|
public function getSource() |
87
|
|
|
{ |
88
|
|
|
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); |
|
|
|
|
89
|
|
|
|
90
|
|
|
return $this->getSourceContext()->getCode(); |
91
|
|
|
} |
92
|
|
|
|
93
|
|
|
public function getSourceContext() |
94
|
|
|
{ |
95
|
|
|
return new Twig_Source("<!doctype html> |
96
|
|
|
<html lang=\"en\"> |
97
|
|
|
<head> |
98
|
|
|
<meta charset=\"UTF-8\"> |
99
|
|
|
<meta name=\"viewport\" |
100
|
|
|
content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\"> |
101
|
|
|
<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\"> |
102
|
|
|
<title>{{ title }}</title> |
103
|
|
|
<link rel=\"shortcut icon\" href=\"/favicon.ico\" /> |
104
|
|
|
\t{% if constant('DEV') %} |
105
|
|
|
\t\t{{ debugbar.renderHead() | raw }} |
106
|
|
|
\t{% endif %} |
107
|
|
|
</head> |
108
|
|
|
<body> |
109
|
|
|
|
110
|
|
|
{% block content %}{% endblock %} |
111
|
|
|
|
112
|
|
|
\t{% if constant('DEV') %} |
113
|
|
|
{{ debugbar.render() | raw }} |
114
|
|
|
{% endif %} |
115
|
|
|
</body> |
116
|
|
|
</html> |
117
|
|
|
", "layout.html.twig", "F:\\OpenServer\\OSPanel\\domains\\github\\Rudra-Framework\\app\\resources\\twig\\view\\layout.html.twig"); |
118
|
|
|
} |
119
|
|
|
} |
120
|
|
|
|
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.