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

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

Minor changes in order to improve compatibilty with Internet Explorer 6/7/8.

File size: 3.5 KB
Line 
1<div class="titrePage">
2        <div class="browsePath">
3                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">Menu</span><span class="arrow"> »</span>
4                <h2>{$TITLE}</h2>
5        </div>
6        {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)}
7                <ul class="categoryActions">
8                        {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
9                        {if isset($U_EDIT)}
10                                <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}">{'edit'|@translate}</a></li>
11                        {/if}
12                        {if isset($U_CADDIE) }
13                                <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li>
14                        {/if}
15                        {if isset($U_SLIDESHOW)}
16                                <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li>
17                        {/if}
18                </ul>
19        {/if}
20        {php}
21                global $pwg_loaded_plugins;
22                $this->assign('GMaps_loaded', isset($pwg_loaded_plugins[ 'GMaps' ]));
23        {/php}
24        {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if}
25</div>
26<div id="content">
27  <div id="menubar_container">{$MENUBAR}</div>
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}
48
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}
69
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}
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
Note: See TracBrowser for help on using the repository browser.