Changeset 8401 for trunk/themes/default


Ignore:
Timestamp:
Dec 30, 2010, 8:47:17 PM (14 years ago)
Author:
rvelices
Message:

index.tpl and thumbnails change: category description above thumbs and enclosing ul moved to index.tpl
fix some combine_xxx

Location:
trunk/themes/default/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/index.tpl

    r8091 r8401  
    44<div class="titrePage">
    55        <ul class="categoryActions">
    6                 {if !empty($image_orders) }
     6                {if !empty($image_orders)}
    77                <li>
    88                {'Sort order'|@translate}:
    99                <select onchange="document.location = this.options[this.selectedIndex].value;">
    10                         {foreach from=$image_orders item=image_order }
     10                        {foreach from=$image_orders item=image_order}
    1111                        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
    1212                        {/foreach}
     
    7676{/if}
    7777
    78 {if isset($chronology.TITLE) }
     78{if isset($chronology.TITLE)}
    7979<h2>{$chronology.TITLE}</h2>
    8080{/if}
    8181
    82 </div> <!-- titrePage -->
     82</div><!-- titrePage -->
    8383
    8484{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
    8585
    86 {if !empty($category_search_results) }
     86{if !empty($category_search_results)}
    8787<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    88   <em><strong>
    89   {foreach from=$category_search_results item=res name=res_loop}
    90   {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    91   {$res}
    92   {/foreach}
    93   </strong></em>
     88        <em><strong>
     89        {foreach from=$category_search_results item=res name=res_loop}
     90        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     91        {$res}
     92        {/foreach}
     93        </strong></em>
    9494</div>
    9595{/if}
    9696
    97 {if !empty($tag_search_results) }
     97{if !empty($tag_search_results)}
    9898<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    99   <em><strong>
    100   {foreach from=$tag_search_results item=res name=res_loop}
    101   {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    102   {$res}
    103   {/foreach}
    104   </strong></em>
     99        <em><strong>
     100        {foreach from=$tag_search_results item=res name=res_loop}
     101        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     102        {$res}
     103        {/foreach}
     104        </strong></em>
    105105</div>
    106106{/if}
    107107
    108 {if isset($FILE_CHRONOLOGY_VIEW) }
     108{if isset($FILE_CHRONOLOGY_VIEW)}
    109109{include file=$FILE_CHRONOLOGY_VIEW}
    110110{/if}
    111111
    112 {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
    113 {if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
    114 
    115 {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    116 
    117 {if !empty($CONTENT_DESCRIPTION) }
     112{if !empty($CONTENT_DESCRIPTION)}
    118113<div class="additional_info">
    119   {$CONTENT_DESCRIPTION}
     114        {$CONTENT_DESCRIPTION}
    120115</div>
    121116{/if}
    122117
    123 {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
    124 </div> <!-- content -->
     118{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
     119{if !empty($THUMBNAILS)}
     120<ul class="thumbnails" id="thumbnails">
     121{$THUMBNAILS}
     122</ul>
     123{/if}
    125124
     125{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
     126
     127{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
     128</div><!-- content -->
    126129{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
  • trunk/themes/default/template/thumbnails.tpl

    r8362 r8401  
    11
    22{if !empty($thumbnails)}
    3 <ul class="thumbnails">
    43{foreach from=$thumbnails item=thumbnail}
    54        <li>
     
    3231        </li>
    3332{/foreach}
    34 </ul>
    3533{/if}
    36 
    37 
Note: See TracChangeset for help on using the changeset viewer.