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

Last change on this file since 12269 was 12269, checked in by Zaphod, 13 years ago
File size: 3.6 KB
Line 
1<div class="titrePage">
2        <div class="browsePath">
3                <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</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'|@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" {if !$stripped.hideMenu}class="menuShown"{/if}>
27        {$MENUBAR}
28        <div id="content_cell">
29                {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_BEFORE}</div>{/if}
30                <div id="subcontent">
31                        {if isset($chronology.TITLE) }
32                                <h2>{$chronology.TITLE}</h2>
33                        {/if}
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>
48                        {/if}
49
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}
54                                        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
55                                        {$res}
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}
70
71                        {if !empty($CONTENT_DESCRIPTION) }
72                                <div class="content_block"><div class="additional_info">
73                                        {$CONTENT_DESCRIPTION}
74                                </div></div>
75                        {/if}
76
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}
89                                </div>
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>
95        <div style="clear: both;"></div>
96</div>
Note: See TracBrowser for help on using the repository browser.