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

Last change on this file since 7869 was 6951, checked in by rvelices, 14 years ago

feature 1616: rename "category" into "album" (first commit; still to come)

  • Property svn:eol-style set to LF
File size: 4.8 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}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/del_all_favorites.png" class="button" alt="favorite" title="{'delete all images from your favorites'|@translate}"></a></li>
19      {/if}
20
21      {if isset($U_CADDIE) }
22      <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a></li>
23      {/if}
24
25      {if isset($U_EDIT) }
26      <li><a href="{$U_EDIT}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>
27      {/if}
28
29      {if isset($U_SEARCH_RULES) }
30      <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
31      {/if}
32
33      {if isset($U_SLIDESHOW) }
34      <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"></a></li>
35      {/if}
36
37      {if isset($U_MODE_FLAT) }
38      <li><a href="{$U_MODE_FLAT}" title="{'display all elements in all sub-albums'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'display all elements in all sub-albums'|@translate}"></a></li>
39      {/if}
40
41      {if isset($U_MODE_NORMAL) }
42      <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'return to normal view mode'|@translate}"></a></li>
43      {/if}
44
45      {if isset($U_MODE_POSTED) }
46      <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'display a calendar by posted date'|@translate}"></a></li>
47      {/if}
48     
49      {if isset($U_MODE_CREATED) }
50      <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'display a calendar by creation date'|@translate}"></a></li>
51      {/if}
52     
53      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
54    </ul>
55
56  <h2>{$TITLE}</h2>
57
58  {if isset($chronology_views) }
59  <div class="calendarViews">{'View'|@translate}:
60    <select onchange="document.location = this.options[this.selectedIndex].value;">
61      {foreach from=$chronology_views item=view}
62      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
63      {/foreach}
64    </select>
65  </div>
66  {/if}
67
68  {if isset($chronology.TITLE) }
69  <h2>{$chronology.TITLE}</h2>
70  {/if}
71
72  </div> <!-- titrePage -->
73
74{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
75
76{if !empty($category_search_results) }
77<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
78  <em><strong>
79  {foreach from=$category_search_results item=res name=res_loop}
80  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
81  {$res}
82  {/foreach}
83  </strong></em>
84</div>
85{/if}
86
87{if !empty($tag_search_results) }
88<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
89  <em><strong>
90  {foreach from=$tag_search_results item=res name=res_loop}
91  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
92  {$res}
93  {/foreach}
94  </strong></em>
95</div>
96{/if}
97
98{if isset($FILE_CHRONOLOGY_VIEW) }
99{include file=$FILE_CHRONOLOGY_VIEW}
100{/if}
101
102{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
103{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
104
105{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
106
107{if !empty($CONTENT_DESCRIPTION) }
108<div class="additional_info">
109  {$CONTENT_DESCRIPTION}
110</div>
111{/if}
112
113{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
114</div> <!-- content -->
115
116{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.