source: extensions/PwgCarbon_dft/template/index.tpl @ 22016

Last change on this file since 22016 was 19209, checked in by Miklfe, 12 years ago
File size: 6.8 KB
Line 
1{$MENUBAR}
2
3
4{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
5
6<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
7
8<div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}">
9        <ul class="categoryActions">
10{if !empty($image_orders)}
11                <li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
12                        <span class="pwg-icon pwg-icon-sort">&nbsp;</span><span class="pwg-button-text">{'Sort order'|@translate}</span>
13                </a>
14                <div id="sortOrderBox" class="switchBox">
15                        <div class="switchBoxTitle">{'Sort order'|@translate}</div>
16                        {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
17                        {if $image_order.SELECTED}
18                        <span>&#x2714; </span>{$image_order.DISPLAY}
19                        {else}
20                        <span style="visibility:hidden">&#x2714; </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a>
21                        {/if}
22                        {/foreach}
23                </div>
24
25                {/strip}</li>
26{/if}
27{if !empty($image_derivatives)}
28                <li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
29                        <span class="pwg-icon pwg-icon-sizes">&nbsp;</span><span class="pwg-button-text">{'Photo sizes'|@translate}</span>
30                </a>
31                <div id="derivativeSwitchBox" class="switchBox">
32                        <div class="switchBoxTitle">{'Photo sizes'|@translate}</div>
33                        {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
34                        {if $image_derivative.SELECTED}
35                        <span>&#x2714; </span>{$image_derivative.DISPLAY}
36                        {else}
37                        <span style="visibility:hidden">&#x2714; </span><a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a>
38                        {/if}
39                        {/foreach}
40                </div>
41
42                {/strip}</li>
43{/if}
44
45{if isset($favorite)}
46                <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
47                        <span class="pwg-icon pwg-icon-favorite-del">&nbsp;</span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
48                </a></li>
49{/if}
50{if isset($U_CADDIE)}
51                <li><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button">
52                        <span class="pwg-icon pwg-icon-caddie-add">&nbsp;</span><span class="pwg-button-text">{'Caddie'|@translate}</span>
53                </a></li>
54{/if}
55{if isset($U_EDIT)}
56                <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button">
57                        <span class="pwg-icon pwg-icon-category-edit">&nbsp;</span><span class="pwg-button-text">{'Edit'|@translate}</span>
58                </a></li>
59{/if}
60{if isset($U_SEARCH_RULES)}
61                {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
62                <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
63                        <span class="pwg-icon pwg-icon-help">&nbsp;</span><span class="pwg-button-text">(?)</span>
64                </a></li>
65{/if}
66{if isset($U_SLIDESHOW)}
67                <li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
68                        <span class="pwg-icon pwg-icon-slideshow">&nbsp;</span><span class="pwg-button-text">{'slideshow'|@translate}</span>
69                </a>{/strip}</li>
70{/if}
71{if isset($U_MODE_FLAT)}
72                <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
73                        <span class="pwg-icon pwg-icon-category-view-flat">&nbsp;</span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
74                </a>{/strip}</li>
75{/if}
76{if isset($U_MODE_NORMAL)}
77                <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
78                        <span class="pwg-icon pwg-icon-category-view-normal">&nbsp;</span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
79                </a>{/strip}</li>
80{/if}
81{if isset($U_MODE_POSTED)}
82                <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
83                        <span class="pwg-icon pwg-icon-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
84                </a>{/strip}</li>
85{/if}
86{if isset($U_MODE_CREATED)}
87                <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
88                        <span class="pwg-icon pwg-icon-camera-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
89                </a>{/strip}</li>
90{/if}
91{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
92        </ul>
93
94        <h2>{$TITLE}</h2>
95
96
97
98{if isset($chronology_views)}
99<div class="calendarViews">{'View'|@translate}:
100        <select onchange="document.location = this.options[this.selectedIndex].value;">
101                {foreach from=$chronology_views item=view}
102                <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
103                {/foreach}
104        </select>
105</div>
106{/if}
107
108{if isset($chronology.TITLE)}
109<h2 class="calendarTitle">{$chronology.TITLE}</h2>
110{/if}
111
112</div>{* <!-- titrePage --> *}
113
114{if isset($errors) or not empty($infos)}
115{include file='infos_errors.tpl'}
116{/if}
117{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
118
119{if !empty($category_search_results)}
120<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
121        <em><strong>
122        {foreach from=$category_search_results item=res name=res_loop}
123        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
124        {$res}
125        {/foreach}
126        </strong></em>
127</div>
128{/if}
129
130{if !empty($tag_search_results)}
131<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
132        <em><strong>
133        {foreach from=$tag_search_results item=res name=res_loop}
134        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
135        {$res}
136        {/foreach}
137        </strong></em>
138</div>
139{/if}
140
141{if isset($FILE_CHRONOLOGY_VIEW)}
142{include file=$FILE_CHRONOLOGY_VIEW}
143{/if}
144
145{if !empty($CONTENT_DESCRIPTION)}
146<div class="additional_info">
147        {$CONTENT_DESCRIPTION}
148</div>
149{/if}
150
151{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
152{if !empty($THUMBNAILS)}
153<ul class="thumbnails" id="thumbnails">
154{$THUMBNAILS}
155</ul>
156{/if}
157
158{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
159
160{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
161</div>{* <!-- content --> *}
162{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
163
164                                </div> <!-- page_content2 -->
165                        </div> <!-- page_content1 -->
166                </div> <!-- page_content -->                   
167        </div> <!--the_page -->
Note: See TracBrowser for help on using the repository browser.