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

33 lines
1.2 KiB
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.
*}
<div id="gsContent" class="gcBorder1">
<div class="gbBlock gcBackground1">
<h2> {g->text text="Image Frame Samples"} </h2>
</div>
<div>
{foreach from=$ImageFrameSample.list key=frame item=name}
<div style="float:left;margin:6px">
{$name}<br/>
{if isset($ImageFrameSample.item)}
{g->container type="imageframe.ImageFrame" frame=$frame
width=$ImageFrameSample.thumb.width height=$ImageFrameSample.thumb.height maxSize=150}
{g->image item=$ImageFrameSample.item image=$ImageFrameSample.thumb
maxSize=150 id="%ID%" class="%CLASS%"}
{/g->container}
{else}
{g->container type="imageframe.ImageFrame" frame=$frame width=150 height=126}
<img src="{g->url href="modules/imageframe/images/sample.jpg"}"
width="150" height="126" id="%ID%" class="%CLASS%"/>
{/g->container}
{/if}
</div>
{/foreach}
</div>
<div class="gbBlock" style="clear: both">&nbsp;</div>
</div>