Ignore:
Timestamp:
Sep 10, 2008, 3:16:13 AM (16 years ago)
Author:
rvelices
Message:
  • 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)
Location:
trunk/template-extension/distributed/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/template-extension/distributed/samples/my-thumbnails.tpl

    r2434 r2515  
    77        <span class="wrap1">
    88                <span class="wrap2">
    9                 <a href="{$thumbnail.U_IMG_LINK}">
    10                         <img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" />
     9                <a href="{$thumbnail.URL}">
     10                        <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" />
    1111                </a>
    1212                </span>
    1313                <span class="thumbLegend" style="color:#F36;">
    1414    &copy; 2008 Piwigo<br />
    15                 {if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if}
    16                 {if !empty($thumbnail.IMAGE_TS)}{$thumbnail.IMAGE_TS}{/if}
     15                {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
     16                {if !empty($thumbnail.ICON_TS)}{$thumbnail.ICON_TS}{/if}
    1717
    1818                {if isset($thumbnail.NB_COMMENTS)}
  • trunk/template-extension/distributed/samples/my-thumbnails2.tpl

    r2465 r2515  
    88        <fieldset class="fld1">
    99                <legend class="thumbLegend">
    10                 {if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if}
     10                {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
    1111                </legend>
    12                 <a href="{$thumbnail.U_IMG_LINK}" class="lap2">
    13                         <span><img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" /></span>
     12                <a href="{$thumbnail.URL}" class="lap2">
     13                        <span><img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /></span>
    1414                </a>
    1515  </fieldset>
Note: See TracChangeset for help on using the changeset viewer.