PHP Classes

File: htdocs/themes/xbootstrap/modules/publisher/blocks/publisher_items_spot.tpl

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/themes/xbootstrap/modules/publisher/blocks/publisher_items_spot.tpl   Download  
File: htdocs/themes/xbootstrap/modules/publisher/blocks/publisher_items_spot.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change: Merge pull request #1388 from mambax7/feature/array_merge_resources_greedy_construction

Merge pull request #1239 from Andrew-Staves-Activ/notificationhandler_subscribe_success

updates
Merge branch 'feature/php8_templates' of https://github.com/mambax7/XoopsCore25 into feature/php8_templates

# Conflicts:
# htdocs/themes/xswatch4/modules/publisher/publisher_item.tpl
add PHP8 defaults in templates
Merge xswatch4
Date: 2 months ago
Size: 2,209 bytes
 

Contents

Class file image Download
<{if !empty($block.category) && !empty($block.category.image_path)}> <div align="center"> <a href="<{$block.category.categoryurl}>" title="<{$block.category.name}>"> <img src="<{$block.category.image_path}>" width="185" height="80" alt="<{$block.category.name}>"> </a> </div> <{/if}> <{if isset($block.display_type) && $block.display_type=='block'}> <{foreach item=item from=$block.items|default:null}> <{include file="db:publisher_singleitem_block.tpl" item=$item}> <{/foreach}> <{else}> <{foreach item=item from=$block.items|default:null name=spotlight}> <{if !empty($item.summary)}> <div class="spot_publisher_items_list"> <div class="article_wf_title"> <h3><{$item.titlelink}></h3> <span> <span class="glyphicon glyphicon-tag"></span>&nbsp;<{$item.category}> </span> <span> <span class="glyphicon glyphicon-user"></span>&nbsp;<{$item.who}> </span> <span> <span class="glyphicon glyphicon-calendar"></span>&nbsp;<{$item.when}> </span> <span> <span class="glyphicon glyphicon-comment"></span>&nbsp;<{$item.comments}> </span> </div> <{if !empty($item.image_path)}> <div class="spot_article_wf_img"> <img src="<{$item.image_path}>" alt="<{$item.title}>"> </div> <{/if}> <div class="article_wf_summary"> <{$item.summary}> </div> <{if !empty($block.truncate)}> <div class="pull-right" style="margin-top: 15px;"> <a href="<{$item.itemurl}>" class="btn btn-primary btn-xs"> <{$block.lang_readmore}> </a> </div> <{/if}> <div style="clear: both;"></div> </div> <{/if}> <{/foreach}> <{/if}>