Ignore:
Timestamp:
Sep 13, 2011, 10:15:31 PM (13 years ago)
Author:
Zaphod
Message:

version 1.5.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/index.tpl

    r11983 r12153  
    2424        {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if}
    2525</div>
    26 <div id="content" {if !$stripped.hideMenu}class="menuShown"{/if} cellpadding="0px" cellspacing="0px">
     26<div id="content" {if !$stripped.hideMenu}class="menuShown"{/if}>
    2727        {$MENUBAR}
    28         <div id="subcontent">
    29                 {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
    30                 {if isset($chronology.TITLE) }
    31                         <h2>{$chronology.TITLE}</h2>
    32                 {/if}
    33                 {if isset($chronology_views) }
    34                         {if isset($U_MODE_POSTED) }
    35                                 <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
     28        <div id="content_cell">
     29                <div id="subcontent">
     30                        {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
     31                        {if isset($chronology.TITLE) }
     32                                <h2>{$chronology.TITLE}</h2>
    3633                        {/if}
    37                         {if isset($U_MODE_CREATED) }
    38                                 <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
     34                        {if isset($chronology_views) }
     35                                {if isset($U_MODE_POSTED) }
     36                                        <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
     37                                {/if}
     38                                {if isset($U_MODE_CREATED) }
     39                                        <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
     40                                {/if}
     41                                <div class="calendarViews">{'View'|@translate}:
     42                                        <select onchange="document.location = this.options[this.selectedIndex].value;">
     43                                                {foreach from=$chronology_views item=view}
     44                                                        <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
     45                                                {/foreach}
     46                                        </select>
     47                                </div>
    3948                        {/if}
    40                         <div class="calendarViews">{'View'|@translate}:
    41                                 <select onchange="document.location = this.options[this.selectedIndex].value;">
    42                                         {foreach from=$chronology_views item=view}
    43                                                 <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
    44                                         {/foreach}
    45                                 </select>
    46                         </div>
    47                 {/if}
    4849
    49                 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if}
    50                 {if !empty($category_search_results) }
    51                         <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    52                                 {foreach from=$category_search_results item=res name=res_loop}
    53                                 {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    54                                 {$res}
    55                                 {/foreach}
    56                         </div>
    57                 {/if}
    58                 {if !empty($tag_search_results) }
    59                         <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    60                                 {foreach from=$tag_search_results item=res name=res_loop}
     50                        {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if}
     51                        {if !empty($category_search_results) }
     52                                <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     53                                        {foreach from=$category_search_results item=res name=res_loop}
    6154                                        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    6255                                        {$res}
    63                                 {/foreach}
    64                         </div>
    65                 {/if}
    66                 {if isset($FILE_CHRONOLOGY_VIEW) }
    67                         {include file=$FILE_CHRONOLOGY_VIEW}
    68                 {/if}
     56                                        {/foreach}
     57                                </div>
     58                        {/if}
     59                        {if !empty($tag_search_results) }
     60                                <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     61                                        {foreach from=$tag_search_results item=res name=res_loop}
     62                                                {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     63                                                {$res}
     64                                        {/foreach}
     65                                </div>
     66                        {/if}
     67                        {if isset($FILE_CHRONOLOGY_VIEW) }
     68                                {include file=$FILE_CHRONOLOGY_VIEW}
     69                        {/if}
    6970
    70                 {if !empty($CONTENT_DESCRIPTION) }
    71                         <div class="content_block"><div class="additional_info">
    72                                 {$CONTENT_DESCRIPTION}
    73                         </div></div>
    74                 {/if}
     71                        {if !empty($CONTENT_DESCRIPTION) }
     72                                <div class="content_block"><div class="additional_info">
     73                                        {$CONTENT_DESCRIPTION}
     74                                </div></div>
     75                        {/if}
    7576
    76                 {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
    77                 {if !empty($THUMBNAILS) }
    78                         <div id="thumbnails_block1">
    79                                 <div id="thumbnails_block2">
    80                                         <div class="thumbnails" id="thumbnails">{$THUMBNAILS}</div>
    81                                         {if !empty($navbar) }
    82                                                 {include file='navigation_thumb.tpl'|@get_extent:'navbar'}
    83                                         {/if}
     77                        {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
     78                        {if !empty($THUMBNAILS) }
     79                                <div id="thumbnails_block1">
     80                                        <div id="thumbnails_block2">
     81                                                <div class="thumbnails" id="thumbnails">{$THUMBNAILS}</div>
     82                                                {if !empty($navbar) }
     83                                                        {include file='navigation_thumb.tpl'|@get_extent:'navbar'}
     84                                                {/if}
     85                                        </div>
     86                                                {if !empty($navbar) }
     87                                                        {include file='navigation_bar.tpl'|@get_extent:'navbar'}
     88                                                {/if}
    8489                                </div>
    85                                         {if !empty($navbar) }
    86                                                 {include file='navigation_bar.tpl'|@get_extent:'navbar'}
    87                                         {/if}
    88                         </div>
    89                 {/if}
    90                 {if !empty($PLUGIN_INDEX_CONTENT_END) }<div class="content_block">{$PLUGIN_INDEX_CONTENT_END}</div>{/if}
    91                 {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
    92         </div> <!-- subContent -->
     90                        {/if}
     91                        {if !empty($PLUGIN_INDEX_CONTENT_END) }<div class="content_block">{$PLUGIN_INDEX_CONTENT_END}</div>{/if}
     92                </div> <!-- subcontent -->
     93                {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_AFTER}</div>{/if}
     94        </div>
    9395        <div style="clear: both;"></div>
    94 </div> <!-- content -->
     96</div>
Note: See TracChangeset for help on using the changeset viewer.