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

Last change on this file since 6951 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
RevLine 
[2231]1{$MENUBAR}
[2352]2{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
3<div id="content" class="content">
[859]4  <div class="titrePage">
5    <ul class="categoryActions">
[2231]6      {if !empty($image_orders) }
[1050]7      <li>
[2231]8      {'Sort order'|@translate}:
[1050]9      <select onchange="document.location = this.options[this.selectedIndex].value;">
[2231]10        {foreach from=$image_orders item=image_order }
[2513]11        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
[2231]12        {/foreach}
[1050]13      </select>
14      </li>
[2231]15      {/if}
[3145]16
[3037]17      {if isset($favorite) }
[6615]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>
[3037]19      {/if}
[1059]20
[2231]21      {if isset($U_CADDIE) }
[5535]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>
[2231]23      {/if}
[1059]24
[2231]25      {if isset($U_EDIT) }
[5021]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>
[2231]27      {/if}
[1015]28
[2231]29      {if isset($U_SEARCH_RULES) }
[3185]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>
[2231]31      {/if}
[1059]32
[2231]33      {if isset($U_SLIDESHOW) }
[3185]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>
[2231]35      {/if}
[2218]36
[2231]37      {if isset($U_MODE_FLAT) }
[6951]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>
[2231]39      {/if}
[1677]40
[2231]41      {if isset($U_MODE_NORMAL) }
[5021]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>
[2231]43      {/if}
[1677]44
[2231]45      {if isset($U_MODE_POSTED) }
[5021]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>
[2231]47      {/if}
48     
49      {if isset($U_MODE_CREATED) }
[5021]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>
[2231]51      {/if}
52     
53      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
[859]54    </ul>
[1059]55
[2231]56  <h2>{$TITLE}</h2>
57
58  {if isset($chronology_views) }
[5021]59  <div class="calendarViews">{'View'|@translate}:
[1062]60    <select onchange="document.location = this.options[this.selectedIndex].value;">
[2231]61      {foreach from=$chronology_views item=view}
[2254]62      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
[2231]63      {/foreach}
[1062]64    </select>
65  </div>
[2231]66  {/if}
[1062]67
[2231]68  {if isset($chronology.TITLE) }
69  <h2>{$chronology.TITLE}</h2>
70  {/if}
[1062]71
[1130]72  </div> <!-- titrePage -->
[1059]73
[2268]74{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
[2135]75
[2231]76{if !empty($category_search_results) }
[6951]77<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
[2231]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}
[2135]86
[2231]87{if !empty($tag_search_results) }
[2770]88<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
[2231]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>
[1059]95</div>
[2231]96{/if}
[1050]97
[2231]98{if isset($FILE_CHRONOLOGY_VIEW) }
99{include file=$FILE_CHRONOLOGY_VIEW}
100{/if}
[1047]101
[2231]102{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
103{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
[1130]104
[3182]105{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
[2231]106
107{if !empty($CONTENT_DESCRIPTION) }
108<div class="additional_info">
109  {$CONTENT_DESCRIPTION}
110</div>
111{/if}
[1537]112
[2231]113{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
[859]114</div> <!-- content -->
[2352]115
116{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.