aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension/distributed/samples
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-10 01:16:13 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-10 01:16:13 +0000
commit6ddb20d6f096fa51b5e820e1b2e19e93f4df0253 (patch)
tree20cf82c77918e07c30f92e3764fa58f9f60a1541 /template-extension/distributed/samples
parentd6b39bb4e127ab29beecb6793de7f72ce2a36397 (diff)
- fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION (extend_for_templates) and F_C13Y_ACTION (check_integrity)
- normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now) git-svn-id: http://piwigo.org/svn/trunk@2515 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template-extension/distributed/samples/my-thumbnails.tpl8
-rw-r--r--template-extension/distributed/samples/my-thumbnails2.tpl6
2 files changed, 7 insertions, 7 deletions
diff --git a/template-extension/distributed/samples/my-thumbnails.tpl b/template-extension/distributed/samples/my-thumbnails.tpl
index df39ab019..068ec5561 100644
--- a/template-extension/distributed/samples/my-thumbnails.tpl
+++ b/template-extension/distributed/samples/my-thumbnails.tpl
@@ -6,14 +6,14 @@
<li>
<span class="wrap1">
<span class="wrap2">
- <a href="{$thumbnail.U_IMG_LINK}">
- <img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" />
+ <a href="{$thumbnail.URL}">
+ <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" />
</a>
</span>
<span class="thumbLegend" style="color:#F36;">
&copy; 2008 Piwigo<br />
- {if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if}
- {if !empty($thumbnail.IMAGE_TS)}{$thumbnail.IMAGE_TS}{/if}
+ {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">
diff --git a/template-extension/distributed/samples/my-thumbnails2.tpl b/template-extension/distributed/samples/my-thumbnails2.tpl
index 205cc80e8..f65f8f31b 100644
--- a/template-extension/distributed/samples/my-thumbnails2.tpl
+++ b/template-extension/distributed/samples/my-thumbnails2.tpl
@@ -7,10 +7,10 @@
<li>
<fieldset class="fld1">
<legend class="thumbLegend">
- {if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if}
+ {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
</legend>
- <a href="{$thumbnail.U_IMG_LINK}" class="lap2">
- <span><img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" /></span>
+ <a href="{$thumbnail.URL}" class="lap2">
+ <span><img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /></span>
</a>
</fieldset>
</li>