source: extensions/PaysonsPlaces/template/index.tpl @ 14705

Last change on this file since 14705 was 11378, checked in by tearran, 13 years ago
File size: 5.3 KB
Line 
1
2{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
3{*<div id="content" class="content">*}
4<div class="titrePage" id="nav-1">
5        <ul class="categoryActions">
6{if !empty($image_orders)}
7                <li>{'Sort order'|@translate}: {strip}
8                <select onchange="document.location = this.options[this.selectedIndex].value;">
9                        {foreach from=$image_orders item=image_order}
10                        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
11                        {/foreach}
12                </select>
13{/strip}</li>
14{/if}
15{if isset($favorite)}
16                <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
17                        <span class="pwg-icon pwg-icon-favorite-del"> </span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
18                </a></li>
19{/if}
20{if isset($U_CADDIE)}
21                <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}" class="pwg-state-default pwg-button">
22                        <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'caddie'|@translate}</span>
23                </a></li>
24{/if}
25{if isset($U_EDIT)}
26                <li><a href="{$U_EDIT}" title="{'edit'|@translate}" class="pwg-state-default pwg-button">
27                        <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>
28                </a></li>
29{/if}
30{if isset($U_SEARCH_RULES)}
31                {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
32                <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
33                        <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">(?)</span>
34                </a></li>
35{/if}
36{if isset($U_SLIDESHOW)}
37                <li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
38                        <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span>
39                </a>{/strip}</li>
40{/if}
41{if isset($U_MODE_FLAT)}
42                <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
43                        <span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
44                </a>{/strip}</li>
45{/if}
46{if isset($U_MODE_NORMAL)}
47                <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
48                        <span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
49                </a>{/strip}</li>
50{/if}
51{if isset($U_MODE_POSTED)}
52                <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
53                        <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>
54                </a>{/strip}</li>
55{/if}
56{if isset($U_MODE_CREATED)}
57                <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
58                        <span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>
59                </a>{/strip}</li>
60{/if}
61{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
62        </ul>
63
64        <h2>{$TITLE}</h2>
65
66{if isset($chronology_views)}
67<div class="calendarViews">{'View'|@translate}:
68        <select onchange="document.location = this.options[this.selectedIndex].value;">
69                {foreach from=$chronology_views item=view}
70                <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
71                {/foreach}
72        </select>
73</div>
74{/if}
75
76{if isset($chronology.TITLE)}
77<h2>{$chronology.TITLE}</h2>
78{/if}
79
80</div>{* <!-- titrePage --> *}
81
82{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
83
84{if !empty($category_search_results)}
85<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
86        <em><strong>
87        {foreach from=$category_search_results item=res name=res_loop}
88        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
89        {$res}
90        {/foreach}
91        </strong></em>
92</div>
93{/if}
94
95{if !empty($tag_search_results)}
96<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
97        <em><strong>
98        {foreach from=$tag_search_results item=res name=res_loop}
99        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
100        {$res}
101        {/foreach}
102        </strong></em>
103</div>
104{/if}
105
106{if isset($FILE_CHRONOLOGY_VIEW)}
107{include file=$FILE_CHRONOLOGY_VIEW}
108{/if}
109
110{if !empty($CONTENT_DESCRIPTION)}
111<fieldset style="background-color:#ffffff">    
112                <legend>
113<b>Description</b>
114        </legend>
115<div class="padding" class="text" >
116{$CONTENT_DESCRIPTION}
117</div>
118</fieldset>         
119{/if}
120
121{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
122{if !empty($THUMBNAILS)}
123<ul class="thumbnails" id="thumbnails">
124{$THUMBNAILS}
125</ul>
126{/if}
127
128
129
130{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
131
132{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
133</div></div>{* <!-- content --> *}
134{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.