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 | {include file='infos_errors.tpl'} |
---|
37 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_BEFORE}</div>{/if} |
---|
38 | <div id="subcontent"> |
---|
39 | {if isset($chronology.TITLE) } |
---|
40 | <h2>{$chronology.TITLE}</h2> |
---|
41 | {/if} |
---|
42 | {if isset($chronology_views) } |
---|
43 | {if isset($U_MODE_POSTED) } |
---|
44 | <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a> |
---|
45 | {/if} |
---|
46 | {if isset($U_MODE_CREATED) } |
---|
47 | <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a> |
---|
48 | {/if} |
---|
49 | <div class="calendarViews">{'View'|@translate}: |
---|
50 | <select onchange="document.location = this.options[this.selectedIndex].value;"> |
---|
51 | {foreach from=$chronology_views item=view} |
---|
52 | <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> |
---|
53 | {/foreach} |
---|
54 | </select> |
---|
55 | </div> |
---|
56 | {/if} |
---|
57 | |
---|
58 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if} |
---|
59 | {if !empty($category_search_results) } |
---|
60 | <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
61 | {foreach from=$category_search_results item=res name=res_loop} |
---|
62 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
63 | {$res} |
---|
64 | {/foreach} |
---|
65 | </div> |
---|
66 | {/if} |
---|
67 | {if !empty($tag_search_results) } |
---|
68 | <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
69 | {foreach from=$tag_search_results item=tag name=res_loop} |
---|
70 | {if !$smarty.foreach.res_loop.first} — {/if} <a href="{$tag.URL}">{$tag.name}</a> |
---|
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($cats_navbar)} |
---|
86 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar} |
---|
87 | {/if} |
---|
88 | |
---|
89 | {if !empty($THUMBNAILS) } |
---|
90 | <div id="thumbnails_block1"> |
---|
91 | <div id="thumbnails_block2"> |
---|
92 | <div class="thumbnails" id="thumbnails">{$THUMBNAILS}</div> |
---|
93 | {if (!(empty($thumb_navbar)) && !($ThumbScroller_loaded)) } |
---|
94 | {include file='navigation_thumb.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} |
---|
95 | {/if} |
---|
96 | </div> |
---|
97 | {if !empty($thumb_navbar) } |
---|
98 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} |
---|
99 | {/if} |
---|
100 | </div> |
---|
101 | <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> |
---|
102 | {/if} |
---|
103 | {if !empty($PLUGIN_INDEX_CONTENT_END) }<div class="content_block">{$PLUGIN_INDEX_CONTENT_END}</div>{/if} |
---|
104 | </div> <!-- subcontent --> |
---|
105 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_AFTER}</div>{/if} |
---|
106 | </div> |
---|
107 | <div style="clear: both;"></div> |
---|
108 | </div> |
---|