ConstruccionesCNJ_Web/Source/gallery2/modules/rearrange/templates/RearrangeItemsCell.tpl
2007-10-31 12:30:19 +00:00

21 lines
741 B
Smarty

{*
* $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.
*}
{strip}
{if $child.canContainChildren}
{assign var="riClass" value=riAlbum}
{else}
{assign var="riClass" value=riItem}
{/if}
{capture assign="riTitle"}{$child.title|markup:strip|default:$child.pathComponent} ({g->date
timestamp=$child.originationTimestamp}){/capture}
{if isset($child.thumbnail)}
{g->image item=$child image=$child.thumbnail maxSize=100 class=$riClass title=$riTitle}
{else}
<div class="{$riClass}">{$riTitle}</div>
{/if}
{/strip}