[Php-blog-plugin-cvs] additional_plugins/serendipity_event_picasa tnt_fiveinarow.tpl,NONE,1.1 tnt_ga
A reliable, secure & extensible PHP blog | Not mainstream since 2002
Brought to you by:
garvinhicking,
jhermanns
Update of /cvsroot/php-blog/additional_plugins/serendipity_event_picasa In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15468 Added Files: tnt_fiveinarow.tpl tnt_gallery.tpl tnt_noalbumtitle.tpl tnt_randomimage.tpl tnt_standard.tpl tnt_vertical.tpl Log Message: Templates --- NEW FILE: tnt_standard.tpl --- <h4 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumName}</h4> {if $serendipity_event_picasa_albumCaption} <h5 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumCaption}</h5> {/if} {foreach from=$serendipity_event_picasa_images item=image} <a href="{$image.itemLargeImage}" {if $jswindow} onClick="window.open('{$image.itemLargeImage}', 'picasa', 'height={$image.itemHeight+20}, width={$image.itemWidth+20}, resizable=no, scrollbars=no, toolbar=no, status=no, menubar=no, location=no')" {/if} target="picasa"><img border="0" src="{$image.itemThumbnailImage}" height="{$image.itemThumbnailHeight}" width="{$image.itemThumbnailWidth}" alt="{$image.itemCaption}"></a> {/foreach} --- NEW FILE: tnt_randomimage.tpl --- {assign var='random' value=0|rand:$serendipity_event_picasa_albumItemCount-1} {assign var='image' value=$serendipity_event_picasa_images[$random]} <a href="{$image.itemLargeImage}" {if $jswindow} onClick="window.open('{$image.itemLargeImage}', 'picasa', 'height={$image.itemHeight+20}, width={$image.itemWidth+20}, resizable=no, scrollbars=no, toolbar=no, status=no, menubar=no, location=no')" {/if} target="picasa"><img border="0" src="{$image.itemThumbnailImage}" height="{$image.itemThumbnailHeight}" width="{$image.itemThumbnailWidth}" alt="{$image.itemCaption}"></a> --- NEW FILE: tnt_fiveinarow.tpl --- <h4 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumName}</h4> {if $serendipity_event_picasa_albumCaption} <h5 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumCaption}</h5> {/if} <table width="100%"> <tr> {foreach from=$serendipity_event_picasa_images item=image} <td><a href="{$image.itemLargeImage}" {if $jswindow} onClick="window.open('{$image.itemLargeImage}', 'picasa', 'height={$image.itemHeight+20}, width={$image.itemWidth+20}, resizable=no, scrollbars=no, toolbar=no, status=no, menubar=no, location=no')" {/if} target="picasa"><img border="0" src="{$image.itemThumbnailImage}" height="{$image.itemThumbnailHeight}" width="{$image.itemThumbnailWidth}" alt="{$image.itemCaption}"></a></td> {cycle values="1,2,3,4,5" assign=c print=false} {if $c==5} </tr><tr> {/if} {/foreach} </tr> </table> --- NEW FILE: tnt_vertical.tpl --- {foreach from=$serendipity_event_picasa_images item=image} <a href="{$image.itemLargeImage}" {if $jswindow} onClick="window.open('{$image.itemLargeImage}', 'picasa', 'height={$image.itemHeight+20}, width={$image.itemWidth+20}, resizable=no, scrollbars=no, toolbar=no, status=no, menubar=no, location=no')" {/if} target="picasa"><img border="0" src="{$image.itemThumbnailImage}" height="{$image.itemThumbnailHeight}" width="{$image.itemThumbnailWidth}" alt="{$image.itemCaption}"></a><br> {/foreach} --- NEW FILE: tnt_gallery.tpl --- <h4 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumName}</h4> {if $serendipity_event_picasa_albumCaption} <h5 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumCaption}</h5> {/if} <table width="100%"> <tr> <td style="vertical-align:top"> {foreach from=$serendipity_event_picasa_images item=image} <img style="cursor:pointer" onClick="serendipity_event_picasa_galleryimg.src='{$image.itemLargeImage}'" src="{$image.itemThumbnailImage}" height="{$image.itemThumbnailHeight}" width="{$image.itemThumbnailWidth}" alt="{$image.itemCaption}"> {/foreach} </td> <td style="vertical-align:top"> <img id="serendipity_event_picasa_galleryimg" src="{$serendipity_event_picasa_images[0].firstImage}" alt=""> </td> </tr> </table> --- NEW FILE: tnt_noalbumtitle.tpl --- {foreach from=$serendipity_event_picasa_images item=image} <a href="{$image.itemLargeImage}" {if $jswindow} onClick="window.open('{$image.itemLargeImage}', 'picasa', 'height={$image.itemHeight+20}, width={$image.itemWidth+20}, resizable=no, scrollbars=no, toolbar=no, status=no, menubar=no, location=no')" {/if} target="picasa"><img border="0" src="{$image.itemThumbnailImage}" height="{$image.itemThumbnailHeight}" width="{$image.itemThumbnailWidth}" alt="{$image.itemCaption}"></a> {/foreach} |