Changeset 25487


Ignore:
Timestamp:
Nov 14, 2013, 11:03:41 PM (10 years ago)
Author:
plg
Message:

bug fixed: tags by letter where not visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/template/tags.tpl

    r13556 r25487  
    1313<div id="content">
    1414{if isset($MENUBAR)}{$MENUBAR}{/if}
    15 {if isset($tags)}
    16   {if $display_mode == 'cloud'}
     15
     16{if $display_mode == 'cloud' and isset($tags)}
    1717  <div id="fullTagCloud">
    1818    {foreach from=$tags item=tag}
     
    2020    {/foreach}
    2121  </div>
    22   {/if}
    23   {if $display_mode == 'letters'}
     22{/if}
     23
     24{if $display_mode == 'letters' and isset($letters)}
    2425  <table>
    2526    <tr>
    2627      <td valign="top">
    27       {foreach from=$letters item=letter}
     28  {foreach from=$letters item=letter}
    2829      <fieldset class="tagLetter">
    2930        <legend class="tagLetterLegend">{$letter.TITLE}</legend>
    3031        <table class="tagLetterContent">
    31           {foreach from=$letter.tags item=tag}
     32    {foreach from=$letter.tags item=tag}
    3233          <tr class="tagLine">
    3334            <td><a href="{$tag.URL}">{$tag.name}</a></td>
    3435        <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
    3536          </tr>
    36           {/foreach}
     37    {/foreach}
    3738        </table>
    3839      </fieldset>
    39       {if isset($letter.CHANGE_COLUMN) }
     40    {if isset($letter.CHANGE_COLUMN) }
    4041      </td>
    4142      <td valign="top">
    42       {/if}
    43       {/foreach}
     43    {/if}
     44  {/foreach}
    4445      </td>
    4546    </tr>
    4647  </table>
    47   {/if}
    4848{/if}
    4949<div style="clear: both;"></div>
Note: See TracChangeset for help on using the changeset viewer.