source: trunk/template/yoga/index.tpl @ 3197

Last change on this file since 3197 was 3185, checked in by nikrou, 16 years ago

fix html warnings. unclosed monotags

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
RevLine 
[2231]1{* $Id: index.tpl 3185 2009-03-09 19:41:45Z nikrou $ *}
2{$MENUBAR}
[2352]3{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
4<div id="content" class="content">
[859]5  <div class="titrePage">
6    <ul class="categoryActions">
[2231]7      {if !empty($image_orders) }
[1050]8      <li>
[2231]9      {'Sort order'|@translate}:
[1050]10      <select onchange="document.location = this.options[this.selectedIndex].value;">
[2231]11        {foreach from=$image_orders item=image_order }
[2513]12        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
[2231]13        {/foreach}
[1050]14      </select>
15      </li>
[2231]16      {/if}
[3145]17
[3037]18      {if isset($favorite) }
[3108]19      <li><a href="{$favorite.U_FAVORITE}" title="{'del_all_favorites_hint'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'del_all_favorites_hint'|@translate}"></a></li>
[3037]20      {/if}
[1059]21
[2231]22      {if isset($U_CADDIE) }
[3185]23      <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]24      {/if}
[1059]25
[2231]26      {if isset($U_EDIT) }
[3185]27      <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>
[2231]28      {/if}
[1015]29
[2231]30      {if isset($U_SEARCH_RULES) }
[3185]31      <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]32      {/if}
[1059]33
[2231]34      {if isset($U_SLIDESHOW) }
[3185]35      <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]36      {/if}
[2218]37
[2231]38      {if isset($U_MODE_FLAT) }
[3185]39      <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}"></a></li>
[2231]40      {/if}
[1677]41
[2231]42      {if isset($U_MODE_NORMAL) }
[3185]43      <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}"></a></li>
[2231]44      {/if}
[1677]45
[2231]46      {if isset($U_MODE_POSTED) }
[3185]47      <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}"></a></li>
[2231]48      {/if}
49     
50      {if isset($U_MODE_CREATED) }
[3185]51      <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}"></a></li>
[2231]52      {/if}
53     
54      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
[859]55    </ul>
[1059]56
[2231]57  <h2>{$TITLE}</h2>
58
59  {if isset($chronology_views) }
60  <div class="calendarViews">{'calendar_view'|@translate}:
[1062]61    <select onchange="document.location = this.options[this.selectedIndex].value;">
[2231]62      {foreach from=$chronology_views item=view}
[2254]63      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
[2231]64      {/foreach}
[1062]65    </select>
66  </div>
[2231]67  {/if}
[1062]68
[2231]69  {if isset($chronology.TITLE) }
70  <h2>{$chronology.TITLE}</h2>
71  {/if}
[1062]72
[1130]73  </div> <!-- titrePage -->
[1059]74
[2268]75{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
[2135]76
[2231]77{if !empty($category_search_results) }
[2770]78<div style="font-size:16px;margin:10px 16px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
[2231]79  <em><strong>
80  {foreach from=$category_search_results item=res name=res_loop}
81  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
82  {$res}
83  {/foreach}
84  </strong></em>
85</div>
86{/if}
[2135]87
[2231]88{if !empty($tag_search_results) }
[2770]89<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
[2231]90  <em><strong>
91  {foreach from=$tag_search_results item=res name=res_loop}
92  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
93  {$res}
94  {/foreach}
95  </strong></em>
[1059]96</div>
[2231]97{/if}
[1050]98
[2231]99{if isset($FILE_CHRONOLOGY_VIEW) }
100{include file=$FILE_CHRONOLOGY_VIEW}
101{/if}
[1047]102
[2231]103{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
104{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
[1130]105
[3182]106{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
[2231]107
108{if !empty($CONTENT_DESCRIPTION) }
109<div class="additional_info">
110  {$CONTENT_DESCRIPTION}
111</div>
112{/if}
[1537]113
[2231]114{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
[859]115</div> <!-- content -->
[2352]116
117{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.