PHP Classes

File: templates_bootstrap/bootstrap4/publisher/publisher_categories_table.tpl

Recommend this page to a friend!
  Packages of Michael Beck   XOOPS Publisher Module   templates_bootstrap/bootstrap4/publisher/publisher_categories_table.tpl   Download  
File: templates_bootstrap/bootstrap4/publisher/publisher_categories_table.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XOOPS Publisher Module
Publish static HTML content and article with XOOPS
Author: By
Last change:
Date: 9 months ago
Size: 1,196 bytes
 

Contents

Class file image Download
<{assign var=temp value=0}> <div class="row"> <{foreach item=category from=$categories}> <div class="media col-12 col-md-6"> <{if !empty($category.image_path)}> <{if $category.categoryurl|default:false}><a href="<{$category.categoryurl}>"><{/if}> <img class="mr-3 mb-2 xswatch-media-img" src="<{$category.image_path}>" alt="<{$category.name}>"> <{if $category.categoryurl|default:false}></a><{/if}> <{/if}> <div class="media-body"> <h5 class="mt-0 mb-1"><{if $selected_category|default:0 == $category.categoryid|default:0}><{$category.name}><{else}><{$category.categorylink}><{/if}></h5> <{$category.description}> <{if $category.subcats|default:false}> <br> <{foreach item=subcat from=$category.subcats}> <small><{$subcat.categorylink}> &nbsp;</small> <{/foreach}> <{/if}> </div> </div> <{/foreach}> </div> <{if $catnavbar|default:false}> <div class="row"> <div class="generic-pagination col text-right mt-2"> <{$catnavbar|replace:'form':'div'|replace:'id="xo-pagenav"':''|replace:' //':'/'}> </div> </div> <{/if}> <hr>