additional_plugins/serendipity_event_faq/alternatives/plugin_faq_category_faq.tpl

36 lines
2.1 KiB
Smarty
Raw Normal View History

2011-12-13 12:29:05 +01:00
<!-- plugin_faq_category_faq.tpl start -->
<!-- modifications January 2007 to duplicate design of entry page -->
2016-09-23 10:46:54 +02:00
<!-- modifications September 2016 for Smarty3 usage - though not being futher touched compared with the new plugin frontend template file modifications -->
2011-12-13 12:29:05 +01:00
<div class="serendipity_Entry_Date">
2016-09-23 10:46:54 +02:00
<h3 class="serendipity_date">{$CONST.FAQ_NAME}</h3>
2011-12-13 12:29:05 +01:00
<h4 class="serendipity_title"><a href="#">{$faq_plugin.this_faq.category}</a></h4>
<div class="serendipity_entry">
<div class="serendipity_entry_body">
<div id="serendipityFAQNav">
2016-09-23 10:46:54 +02:00
<p><a href="{$serendipityBaseURL}">{$CONST.ADMIN_FRONTPAGE}</a> &gt; <a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}">{$CONST.FAQ_CATEGORIES}</a>
{foreach $cat_tree AS $cat}&gt;
2011-12-13 12:29:05 +01:00
{if $cat.id != $faq_plugin.catid}
<a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}/{$cat.id}">
{/if}
{$cat.category}
{if $cat.id != $faq_plugin.catid}
</a>
{/if}
{/foreach}
</p>
</div>
<!-- line below is redundant with h4 title above, but some users might like to include it anyway -->
<!-- <h3>{$faq_plugin.this_faq.category}</h3> -->
2016-09-23 10:46:54 +02:00
<p><b>{$CONST.FAQ_QUESTION}:</b> {$faq_plugin.this_faq.question}</p><br />
<p><b>{$CONST.FAQ_ANSWER}:</b> {$faq_plugin.this_faq.answer}</p><br />
<p>{$CONST.FAQ_PREVOUS} <a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}/{$faq_plugin.prev_faq.categoryid}/{$faq_plugin.prev_faq.faqid}">{$faq_plugin.prev_faq.question|truncate:30:'...'}</a></p>
<p>{$CONST.FAQ_NEXT} <a href="{$serendipityBaseURL}{$faq_plugin.plugin_url}/{$faq_plugin.next_faq.categoryid}/{$faq_plugin.next_faq.faqid}">{$faq_plugin.next_faq.question|truncate:30:'...'}</p>
2011-12-13 12:29:05 +01:00
</div>
</div>
</div>
<div class='serendipity_entryFooter' style="text-align: center">
</div>
<!-- plugin_faq_category_faq.tpl end -->