{* * $Revision: 15342 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *} {g->callback type="core.LoadPeers" item=$item|default:$theme.item windowSize=$windowSize|default:$theme.params.maxMicroThumbs addEnds=false loadThumbnails=true} {assign var="data" value=$block.core.LoadPeers} {if !empty($data.peers)}
| {if isset($peer.thumbnail)} {g->image item=$peer image=$peer.thumbnail maxSize=40 title="$title"} {else} {g->text text="no thumbnail"} {/if} | {else}{strip} {if isset($peer.thumbnail)} {g->image item=$peer image=$peer.thumbnail maxSize=40 title="$title"} {else} {g->text text="no thumbnail"} {/if} {/strip} | {/if} {assign var="lastIndex" value=$peer.peerIndex} {assign var="columnIndex" value=$columnIndex+1} {/if} {/foreach}