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 | {if empty($THUMBNAILS) || (!empty($CATEGORIES)) } |
---|
9 | <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span> |
---|
10 | {/if} |
---|
11 | <h2>{$TITLE}</h2> |
---|
12 | </div> |
---|
13 | {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)} |
---|
14 | <div class="categoryActionsContainer"> |
---|
15 | <ul class="categoryActions group1"> |
---|
16 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
17 | {if isset($U_EDIT)} |
---|
18 | <li class="mainAction"><a href="{$U_EDIT}" title="{'edit'|@translate}">{'edit'|@translate}</a></li> |
---|
19 | {/if} |
---|
20 | {if isset($U_CADDIE) } |
---|
21 | <li class="mainAction"><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li> |
---|
22 | {/if} |
---|
23 | </ul> |
---|
24 | </div> |
---|
25 | {/if} |
---|
26 | </div> |
---|
27 | <div id="content" {if !$stripped.hideMenu}class="menuShown"{/if}> |
---|
28 | {if empty($CATEGORIES) &! empty($THUMBNAILS) } |
---|
29 | {$THUMBNAILS} |
---|
30 | {else} |
---|
31 | {$MENUBAR} |
---|
32 | <div id="content_cell"> |
---|
33 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_BEFORE}</div>{/if} |
---|
34 | <div id="subcontent"> |
---|
35 | {if isset($chronology.TITLE) } |
---|
36 | <h2>{$chronology.TITLE}</h2> |
---|
37 | {/if} |
---|
38 | {if isset($chronology_views) } |
---|
39 | {if isset($U_MODE_POSTED) } |
---|
40 | <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a> |
---|
41 | {/if} |
---|
42 | {if isset($U_MODE_CREATED) } |
---|
43 | <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a> |
---|
44 | {/if} |
---|
45 | <div class="calendarViews">{'View'|@translate}: |
---|
46 | <select onchange="document.location = this.options[this.selectedIndex].value;"> |
---|
47 | {foreach from=$chronology_views item=view} |
---|
48 | <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> |
---|
49 | {/foreach} |
---|
50 | </select> |
---|
51 | </div> |
---|
52 | {/if} |
---|
53 | |
---|
54 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if} |
---|
55 | {if !empty($category_search_results) } |
---|
56 | <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
57 | {foreach from=$category_search_results item=res name=res_loop} |
---|
58 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
59 | {$res} |
---|
60 | {/foreach} |
---|
61 | </div> |
---|
62 | {/if} |
---|
63 | {if !empty($tag_search_results) } |
---|
64 | <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
65 | {foreach from=$tag_search_results item=res name=res_loop} |
---|
66 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
67 | {$res} |
---|
68 | {/foreach} |
---|
69 | </div> |
---|
70 | {/if} |
---|
71 | {if isset($FILE_CHRONOLOGY_VIEW) } |
---|
72 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
73 | {/if} |
---|
74 | |
---|
75 | {if !empty($CONTENT_DESCRIPTION) } |
---|
76 | <div class="content_block"><div class="additional_info"> |
---|
77 | {$CONTENT_DESCRIPTION} |
---|
78 | </div></div> |
---|
79 | {/if} |
---|
80 | |
---|
81 | {if !empty($CATEGORIES) }{$CATEGORIES}{/if} |
---|
82 | {if !empty($PLUGIN_INDEX_CONTENT_END) }<div class="content_block">{$PLUGIN_INDEX_CONTENT_END}</div>{/if} |
---|
83 | </div> <!-- subcontent --> |
---|
84 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_AFTER}</div>{/if} |
---|
85 | </div> |
---|
86 | {/if} |
---|
87 | <div style="clear: both;"></div> |
---|
88 | </div> |
---|