1 | {php} |
---|
2 | global $pwg_loaded_plugins; |
---|
3 | $this->assign('GMaps_loaded', isset($pwg_loaded_plugins[ 'GMaps' ])); |
---|
4 | $this->assign('ThumbScroller_loaded', isset($pwg_loaded_plugins[ 'rv_tscroller' ])); |
---|
5 | {/php} |
---|
6 | <div class="titrePage"> |
---|
7 | <div class="browsePath"> |
---|
8 | <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span> |
---|
9 | <h2>{$TITLE}</h2> |
---|
10 | </div> |
---|
11 | {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)} |
---|
12 | <div class="categoryActionsContainer"> |
---|
13 | <ul class="categoryActions group1"> |
---|
14 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
15 | {if isset($U_SEARCH_RULES)} |
---|
16 | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
17 | <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow">{'Help'|@translate}</a></li> |
---|
18 | {/if} |
---|
19 | {if isset($U_SLIDESHOW)} |
---|
20 | <li class="mainAction"><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> |
---|
21 | {/if} |
---|
22 | {if isset($U_EDIT)} |
---|
23 | <li class="mainAction"><a href="{$U_EDIT}" title="{'edit'|@translate}">{'edit'|@translate}</a></li> |
---|
24 | {/if} |
---|
25 | {if isset($U_CADDIE) } |
---|
26 | <li class="mainAction"><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li> |
---|
27 | {/if} |
---|
28 | </ul> |
---|
29 | </div> |
---|
30 | {/if} |
---|
31 | {if ($GMaps_loaded)}<div id="text_gmaps" style="display:none">{'GMap'|@translate}</div>{/if} |
---|
32 | </div> |
---|
33 | <div id="content" {if !$stripped.hideMenu}class="menuShown"{/if}> |
---|
34 | {$MENUBAR} |
---|
35 | <div id="content_cell"> |
---|
36 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_BEFORE}</div>{/if} |
---|
37 | <div id="subcontent"> |
---|
38 | {if isset($chronology.TITLE) } |
---|
39 | <h2>{$chronology.TITLE}</h2> |
---|
40 | {/if} |
---|
41 | {if isset($chronology_views) } |
---|
42 | {if isset($U_MODE_POSTED) } |
---|
43 | <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a> |
---|
44 | {/if} |
---|
45 | {if isset($U_MODE_CREATED) } |
---|
46 | <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a> |
---|
47 | {/if} |
---|
48 | <div class="calendarViews">{'View'|@translate}: |
---|
49 | <select onchange="document.location = this.options[this.selectedIndex].value;"> |
---|
50 | {foreach from=$chronology_views item=view} |
---|
51 | <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> |
---|
52 | {/foreach} |
---|
53 | </select> |
---|
54 | </div> |
---|
55 | {/if} |
---|
56 | |
---|
57 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if} |
---|
58 | {if !empty($category_search_results) } |
---|
59 | <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
60 | {foreach from=$category_search_results item=res name=res_loop} |
---|
61 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
62 | {$res} |
---|
63 | {/foreach} |
---|
64 | </div> |
---|
65 | {/if} |
---|
66 | {if !empty($tag_search_results) } |
---|
67 | <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
68 | {foreach from=$tag_search_results item=res name=res_loop} |
---|
69 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
70 | {$res} |
---|
71 | {/foreach} |
---|
72 | </div> |
---|
73 | {/if} |
---|
74 | {if isset($FILE_CHRONOLOGY_VIEW) } |
---|
75 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
76 | {/if} |
---|
77 | |
---|
78 | {if !empty($CONTENT_DESCRIPTION) } |
---|
79 | <div class="content_block"><div class="additional_info"> |
---|
80 | {$CONTENT_DESCRIPTION} |
---|
81 | </div></div> |
---|
82 | {/if} |
---|
83 | |
---|
84 | {if !empty($CATEGORIES) }{$CATEGORIES}{/if} |
---|
85 | {if !empty($THUMBNAILS) } |
---|
86 | <div id="thumbnails_block1"> |
---|
87 | <div id="thumbnails_block2"> |
---|
88 | <div class="thumbnails" id="thumbnails">{$THUMBNAILS}</div> |
---|
89 | {if (!(empty($navbar)) && !($ThumbScroller_loaded)) } |
---|
90 | {include file='navigation_thumb.tpl'|@get_extent:'navbar'} |
---|
91 | {/if} |
---|
92 | </div> |
---|
93 | {if !empty($navbar) } |
---|
94 | {include file='navigation_bar.tpl'|@get_extent:'navbar'} |
---|
95 | {/if} |
---|
96 | </div> |
---|
97 | {/if} |
---|
98 | {if !empty($PLUGIN_INDEX_CONTENT_END) }<div class="content_block">{$PLUGIN_INDEX_CONTENT_END}</div>{/if} |
---|
99 | </div> <!-- subcontent --> |
---|
100 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_AFTER}</div>{/if} |
---|
101 | </div> |
---|
102 | <div style="clear: both;"></div> |
---|
103 | </div> |
---|