diff options
Diffstat (limited to 'template-extension')
3 files changed, 9 insertions, 9 deletions
diff --git a/template-extension/distributed/samples/my-picture.tpl b/template-extension/distributed/samples/my-picture.tpl index 1f3d2688e..fceebd9ab 100644 --- a/template-extension/distributed/samples/my-picture.tpl +++ b/template-extension/distributed/samples/my-picture.tpl @@ -41,7 +41,7 @@ {if isset($U_SLIDESHOW_STOP) } <a href="{$U_SLIDESHOW_STOP}" title="{'slideshow_stop'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'slideshow_stop'|@translate}"></a> {/if} - <a href="{$U_METADATA}" title="{'picture_show_metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata" /></a> + <a href="{$U_METADATA}" title="{'picture_show_metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a> {if isset($current.U_DOWNLOAD) } <a href="{$current.U_DOWNLOAD}" title="{'download_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a> {/if} @@ -104,4 +104,4 @@ y.callService( </a> {/if} -{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}
\ No newline at end of file +{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if} diff --git a/template-extension/distributed/samples/my-thumbnails.tpl b/template-extension/distributed/samples/my-thumbnails.tpl index 068ec5561..65a3ea29f 100644 --- a/template-extension/distributed/samples/my-thumbnails.tpl +++ b/template-extension/distributed/samples/my-thumbnails.tpl @@ -7,24 +7,24 @@ <span class="wrap1"> <span class="wrap2"> <a href="{$thumbnail.URL}"> - <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /> + <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> </a> </span> <span class="thumbLegend" style="color:#F36;"> - © 2008 Piwigo<br /> + © 2008 Piwigo<br> {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if} {if !empty($thumbnail.ICON_TS)}{$thumbnail.ICON_TS}{/if} {if isset($thumbnail.NB_COMMENTS)} <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> - <br /> + <br> {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} </span> {/if} {if isset($thumbnail.NB_HITS)} <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> - <br /> + <br> {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} </span> {/if} @@ -33,4 +33,4 @@ </li> {/foreach} </ul> -{/if}
\ No newline at end of file +{/if} diff --git a/template-extension/distributed/samples/my-thumbnails2.tpl b/template-extension/distributed/samples/my-thumbnails2.tpl index ec16fdc83..52bb87428 100644 --- a/template-extension/distributed/samples/my-thumbnails2.tpl +++ b/template-extension/distributed/samples/my-thumbnails2.tpl @@ -10,10 +10,10 @@ {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if} </legend> <a href="{$thumbnail.URL}" class="lap2"> - <span><img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /></span> + <span><img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"></span> </a> </fieldset> </li> {/foreach} </ul> -{/if}
\ No newline at end of file +{/if} |