Ignore:
Timestamp:
Feb 9, 2011, 9:17:48 PM (13 years ago)
Author:
Zaphod
Message:

[extension] stripped - version 1.2.0

File:
1 edited

Legend:

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

    r8873 r9134  
    2424        {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if}
    2525</div>
    26 <div id="content">
    27   {$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>
    36     {/if}
    37     {if isset($U_MODE_CREATED) }
    38     <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
    39     {/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}
     26<table id="content" {if !$smarty.config.hideMenu}class="menuShown"{/if} cellpadding="0px" cellspacing="0px">
     27        {$MENUBAR}
     28        <td 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>
     36                        {/if}
     37                        {if isset($U_MODE_CREATED) }
     38                                <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
     39                        {/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}
    4848
    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>{'Category 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}
    61       {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    62       {$res}
    63       {/foreach}
    64     </div>
    65     {/if}
    66     {if isset($FILE_CHRONOLOGY_VIEW) }
    67       {include file=$FILE_CHRONOLOGY_VIEW}
    68     {/if}
     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>{'Category 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}
     61                                        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     62                                        {$res}
     63                                {/foreach}
     64                        </div>
     65                {/if}
     66                {if isset($FILE_CHRONOLOGY_VIEW) }
     67                        {include file=$FILE_CHRONOLOGY_VIEW}
     68                {/if}
    6969
    70     {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
    71         {if !empty($THUMBNAILS) }
    72                 <div id="thumbnails_block1">
    73                         <div id="thumbnails_block2">
    74                                 <div id="thumbnails">{$THUMBNAILS}</div>
    75                                 {if !empty($navbar) }
    76                                         {include file='navigation_thumb.tpl'|@get_extent:'navbar'}
    77                                 {/if}
     70                {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
     71                {if !empty($THUMBNAILS) }
     72                        <div id="thumbnails_block1">
     73                                <div id="thumbnails_block2">
     74                                        <div id="thumbnails">{$THUMBNAILS}</div>
     75                                        {if !empty($navbar) }
     76                                                {include file='navigation_thumb.tpl'|@get_extent:'navbar'}
     77                                        {/if}
     78                                </div>
     79                                        {if !empty($navbar) }
     80                                                {include file='navigation_bar.tpl'|@get_extent:'navbar'}
     81                                        {/if}
    7882                        </div>
    79                                 {if !empty($navbar) }
    80                                         {include file='navigation_bar.tpl'|@get_extent:'navbar'}
    81                                 {/if}
    82                 </div>
    83         {/if}
    84     {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
    85     {if !empty($CONTENT_DESCRIPTION) }
    86     <div class="content_block"><div class="additional_info">
    87       {$CONTENT_DESCRIPTION}
    88     </div></div>
    89     {/if}
    90         {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
    91   </div> <!-- subContent -->
    92   <div style="clear: both;"></div>
    93 </div> <!-- content -->
    94 
     83                {/if}
     84                {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
     85                {if !empty($CONTENT_DESCRIPTION) }
     86                        <div class="content_block"><div class="additional_info">
     87                                {$CONTENT_DESCRIPTION}
     88                        </div></div>
     89                {/if}
     90                {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
     91        </div> <!-- subContent -->
     92        <div style="clear: both;"></div>
     93</table> <!-- content -->
Note: See TracChangeset for help on using the changeset viewer.