Skip to content
Code-Schnipsel Gruppen Projekte
Commit 859d974e erstellt von Michael Danielczok's avatar Michael Danielczok
Dateien durchsuchen

Merge branch 'dev'

Übergeordnete 7a00fc33 cef85574
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
1 Merge Request!25Update 'next-3.x' with latest changes from 'main'
Dieser Commit ist Teil des Merge Request !25. Hier erstellte Kommentare werden im Kontext dieses Merge Request erstellt.
{if $Template->getAttribute('content-body') && $Site->getAttribute('content')} {if $Template->getAttribute('content-body') && $Site->getAttribute('content')}
<section class="content-body"> <section class="content-body">
{$Site->getAttribute('content')} {$Site->getAttribute('content')}
</section> </section>
{/if} {/if}
<section itemscope itemtype="http://schema.org/ItemList" {* Template: default*}
class="content-template quiqqer-faq clear-fix cologne-quiqqer-faq" {if $faqTemplate == 'default'}
data-qui="package/quiqqer/faq/bin/Category" {if $offset}
> {*
{if count($entries)} This CSS is used to scroll the page down a bit when accessed with a # in the url.
<ul class="quiqqer-faq-list"> By doing this the menu no longer hides the linked content.
{foreach $entries as $Faq} *}
<li> <style type="text/css">
<a href="{url site=$Site}#faq{$Faq->getId()}"> :target::before {
<span class="fa fa-file-text-o"></span> content: '';
{$Faq->getAttribute('title')} display: block;
</a> height: {$offset}px;
</li> margin-top: -{$offset}px;
{/foreach} }
</ul> </style>
{/if} {/if}
{foreach $entries as $Faq} <section itemscope itemtype="http://schema.org/ItemList"
<article id="faq{$Faq->getId()}" class="clear-fix"> class="content-template quiqqer-faq clear-fix cologne-quiqqer-faq"
<header> data-qui="package/quiqqer/faq/bin/Category"
<h2><span class="fa fa-file-text"></span> {$Faq->getAttribute('title')}</h2> data-qui-options-offset="{$offset}"
</header> >
{if count($entries)}
{if $Faq->getAttribute('short')} <ul class="quiqqer-faq-list" id="faqList" name="faqList">
<div class="content-short"> {foreach $entries as $Faq}
{$Faq->getAttribute('short')|nl2br} <li>
</div> <a href="{url site=$Site}#faq{$Faq->getId()}">
<span class="fa fa-file-text-o"></span>
{$Faq->getAttribute('title')}
</a>
</li>
{/foreach}
</ul>
{/if} {/if}
<div class="content-body"> {foreach $entries as $Faq}
{$Faq->getAttribute('content')} <article id="faq{$Faq->getId()}" class="clear-fix">
</div> <header>
<h2><span class="fa fa-file-text"></span> {$Faq->getAttribute('title')}</h2>
</header>
{if $Faq->getAttribute('short')}
<div class="content-short">
{$Faq->getAttribute('short')|nl2br}
</div>
{/if}
<a href="#top" class=" quiqqer-faq-list-linkToTop"> <div class="content-body">
{locale group="quiqqer/faq" value="link.to.top"} <span class="fa fa-fw fa-level-up"></span> {$Faq->getAttribute('content')}
</a> </div>
</article> <a href="#faqList" class="quiqqer-faq-list-linkToTop">
{locale group="quiqqer/faq" value="link.to.top"} <span class="fa fa-fw fa-level-up"></span>
</a>
{if !($Faq@last)} </article>
{/if} {if !($Faq@last)}
{/foreach} {/if}
{/foreach}
</section>
{/if}
</section> {* Template: accordion*}
{if $faqTemplate == 'accordion'}
<section class="content-template quiqqer-faq">
{$FAQControl->create()}
</section>
{/if}
\ No newline at end of file
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren