PHP Classes

File: htdocs/themes/xswatch4/modules/xoopsfaq/blocks/xoopsfaq_block_recent.tpl

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/themes/xswatch4/modules/xoopsfaq/blocks/xoopsfaq_block_recent.tpl   Download  
File: htdocs/themes/xswatch4/modules/xoopsfaq/blocks/xoopsfaq_block_recent.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 2 months ago
Size: 744 bytes
 

Contents

Class file image Download
<{if !empty($block)}> <div> <{foreach item=faq from=$block.faq|default:null}> <div class="card"> <div class="card-header"> <{$faq.title}> <{if 1 == $block.show_date}>&nbsp;<small>(<{$faq.published}>)</small><{/if}> </div> <ul class="list-group list-group-flush"> <li class="list-group-item"><{$faq.ans}> <{* requires xoopsfaq 2.0 addition of id and cid in faq variable for link support *}> <{if !empty($faq.id)}> <a class="card-link stretched-link" href="<{$xoops_url}>/modules/xoopsfaq/index.php?cat_id=<{$faq.cid}>#q<{$faq.id}>"> <i class="fa-solid fa-forward alignright" aria-hidden="true"></i> </a> <{/if}> </li> </ul> </div> <{/foreach}> </div> <{/if}>