source: trunk/themes/default/template/index.tpl @ 8635

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