mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Move template_header and change_template to twig
This commit is contained in:
4
system/templates/forms.change_template.html.twig
Normal file
4
system/templates/forms.change_template.html.twig
Normal file
@@ -0,0 +1,4 @@
|
||||
<form method="get" action="{{ constant('BASE_URL') }}">
|
||||
<hidden name="subtopic" value="{{ constant('PAGE') }}"/>
|
||||
<select name="template" onchange="this.form.submit()">{{ options|raw }}</select>
|
||||
</form>
|
21
system/templates/templates.header.html.twig
Normal file
21
system/templates/templates.header.html.twig
Normal file
@@ -0,0 +1,21 @@
|
||||
<meta charset="{{ charset }}">
|
||||
<meta http-equiv="content-language" content="{{ config.language }}" />
|
||||
<meta http-equiv="content-type" content="text/html; charset={{ charset }}" />
|
||||
{% if not is_admin %}
|
||||
<base href="{{ constant('BASE_URL') }}" />
|
||||
<title>{{ title }}</title>
|
||||
{% endif %}
|
||||
<meta name="description" content="{{ config.meta_description }}" />
|
||||
<meta name="keywords" content="{{ config.meta_keywords }}, myaac, wodzaac" />
|
||||
<meta name="generator" content="MyAAC" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ constant('BASE_URL') }}tools/css/messages.css" />
|
||||
<script type="text/javascript" src="{{ constant('BASE_URL') }}tools/js/jquery.min.js"></script>
|
||||
<noscript>
|
||||
<div class="warning" style="text-align: center; font-size: 14px;">
|
||||
Your browser does not support JavaScript or its disabled!<br/>
|
||||
Please turn it on, or be aware that some features on this website will not work correctly.
|
||||
</div>
|
||||
</noscript>
|
||||
{% if config.recaptcha_enabled %}
|
||||
<script src="https://www.google.com/recaptcha/api.js"></script>
|
||||
{% endif %}
|
Reference in New Issue
Block a user