mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00

* Fix alert class name * feature: csrf protection * Cosmetics * Fix token generate * Admin Panel: changelogs csrf protection * news/id route * Refactor admin newses + add csrf * Use admin.links instead * Admin panel: Pages csrf * Menus: better csrf + add success message on reset colors * Plugins csrf * Move definitions * add info function, same as note($message) * Update mailer.php * Fix new page/news links * clear_cache & maintenance csrf * Formatting * Fix news type * Fix changelog link * Add new changelog link * More info to confirm dialog * This is always true
37 lines
2.0 KiB
Twig
37 lines
2.0 KiB
Twig
<div id="FeaturedArticle" class="Box">
|
|
<div class="Corner-tl" style="background-image:url({{ template_path }}/images/content/corner-tl.gif);"></div>
|
|
<div class="Corner-tr" style="background-image:url({{ template_path }}/images/content/corner-tr.gif);"></div>
|
|
<div class="Border_1" style="background-image:url({{ template_path }}/images/content/border-1.gif);"></div>
|
|
<div class="BorderTitleText" style="background-image:url({{ template_path }}/images/content/title-background-green.gif);"></div>
|
|
<img id="ContentBoxHeadline" class="Title" src="{{ template_path }}/images/header/headline-featuredarticle.gif" alt="Contentbox headline" />
|
|
<div class="Border_2">
|
|
<div class="Border_3">
|
|
<div class="BoxContent" style="background-image:url({{ template_path }}/images/content/scroll.gif);">
|
|
<div id="TeaserThumbnail">
|
|
{% if article.read_more is not empty %}<a href="{{ article.read_more }}">{% endif %}
|
|
<img src="{{ article.image }}" width="150" height="100" border=0 alt="" />
|
|
{% if article.read_more is not empty %}</a>{% endif %}
|
|
</div>
|
|
{% if article.read_more is not empty %}
|
|
<a id="Link" href="{{ article.read_more }}">» read more</a>
|
|
{% endif %}
|
|
<div id="TeaserText">
|
|
<div style="position: relative; top: -2px; margin-bottom: 2px;">
|
|
<b>
|
|
<p>{{ article.title|raw }}
|
|
{% if canEdit %}
|
|
{{ include('admin.links.html.twig', {page: 'news', id: article.id, hidden: article.hidden }) }}
|
|
{% endif %}
|
|
</p>
|
|
</b>
|
|
</div>
|
|
{{ article.text|raw }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="Border_1" style="background-image:url({{ template_path }}/images/content/border-1.gif);"></div>
|
|
<div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url({{ template_path }}/images/content/corner-bl.gif);"></div></div>
|
|
<div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url({{ template_path }}/images/content/corner-br.gif);"></div></div>
|
|
</div>
|