source: extensions/stripped/template/index.tpl @ 7989

Last change on this file since 7989 was 7989, checked in by Zaphod, 13 years ago

[extension] stripped - first release

File size: 3.4 KB
Line 
1<div class="titrePage">
2  <span id="menuswitcher" title="{'Show/hide menu'|@translate}">Menu</span><span class="arrow"> »</span>
3  {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)}
4  <ul class="categoryActions">
5    {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
6    {if isset($U_EDIT)}
7    <div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>
8    <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}">{'edit'|@translate}</a></li>
9    {/if}
10    {if isset($U_CADDIE) }
11    <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li>
12    {/if}
13    {if isset($U_SLIDESHOW)}
14    <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li>
15    {/if}
16  </ul>
17  {/if}
18  <h2>{$TITLE}</h2>
19</div>
20<div id="content">
21  <div id="menubar_container">{$MENUBAR}</div>
22  <div id="subcontent">
23        {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
24    {if isset($chronology.TITLE) }
25    <h2>{$chronology.TITLE}</h2>
26    {/if}
27    {if isset($chronology_views) }
28    {if isset($U_MODE_POSTED) }
29    <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
30    {/if}
31    {if isset($U_MODE_CREATED) }
32    <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
33    {/if}
34    <div class="calendarViews">{'View'|@translate}:
35    <select onchange="document.location = this.options[this.selectedIndex].value;">
36      {foreach from=$chronology_views item=view}
37      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
38      {/foreach}
39    </select>
40    </div>
41    {/if}
42
43    {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if}
44    {if !empty($category_search_results) }
45    <div>{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
46      {foreach from=$category_search_results item=res name=res_loop}
47      {if !$smarty.foreach.res_loop.first} &mdash; {/if}
48      {$res}
49      {/foreach}
50    </div>
51    {/if}
52    {if !empty($tag_search_results) }
53    <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
54      {foreach from=$tag_search_results item=res name=res_loop}
55      {if !$smarty.foreach.res_loop.first} &mdash; {/if}
56      {$res}
57      {/foreach}
58    </div>
59    {/if}
60    {if isset($FILE_CHRONOLOGY_VIEW) }
61      {include file=$FILE_CHRONOLOGY_VIEW}
62    {/if}
63
64    {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
65        {if !empty($THUMBNAILS) }
66                <div id="thumbnails_block1">
67                        <div id="thumbnails_block2">
68                                <div id="thumbnails">{$THUMBNAILS}</div>
69                                {if !empty($navbar) }
70                                        {include file='navigation_thumb.tpl'|@get_extent:'navbar'}
71                                {/if}
72                        </div>
73                                {if !empty($navbar) }
74                                        {include file='navigation_bar.tpl'|@get_extent:'navbar'}
75                                {/if}
76                </div>
77        {/if}
78    {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
79    {if !empty($CONTENT_DESCRIPTION) }
80    <div class="content_block"><div class="additional_info">
81      {$CONTENT_DESCRIPTION}
82    </div></div>
83    {/if}
84        {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
85  </div> <!-- subContent -->
86  <div style="clear: both;"></div>
87</div> <!-- content -->
88
Note: See TracBrowser for help on using the repository browser.