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

Last change on this file since 3037 was 3037, checked in by nikrou, 15 years ago

task:0000902: button to remove all favorites

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
Line 
1{* $Id: index.tpl 3037 2009-01-02 20:57:56Z nikrou $ *}
2{$MENUBAR}
3{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
4<div id="content" class="content">
5  <div class="titrePage">
6    <ul class="categoryActions">
7      {if !empty($image_orders) }
8      <li>
9      {'Sort order'|@translate}:
10      <select onchange="document.location = this.options[this.selectedIndex].value;">
11        {foreach from=$image_orders item=image_order }
12        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
13        {/foreach}
14      </select>
15      </li>
16      {/if}
17     
18      {if isset($favorite) }
19      <li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{$favorite.FAVORITE_HINT}"></a></li>
20      {/if}
21
22      {if isset($U_CADDIE) }
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>
24      {/if}
25
26      {if isset($U_EDIT) }
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>
28      {/if}
29
30      {if isset($U_SEARCH_RULES) }
31      <li><a href="{$U_SEARCH_RULES}" style="border:none;" 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>
32      {/if}
33
34      {if isset($U_SLIDESHOW) }
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>
36      {/if}
37
38      {if isset($U_MODE_FLAT) }
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>
40      {/if}
41
42      {if isset($U_MODE_NORMAL) }
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>
44      {/if}
45
46      {if isset($U_MODE_POSTED) }
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>
48      {/if}
49     
50      {if isset($U_MODE_CREATED) }
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>
52      {/if}
53     
54      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
55    </ul>
56
57  <h2>{$TITLE}</h2>
58
59  {if isset($chronology_views) }
60  <div class="calendarViews">{'calendar_view'|@translate}:
61    <select onchange="document.location = this.options[this.selectedIndex].value;">
62      {foreach from=$chronology_views item=view}
63      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
64      {/foreach}
65    </select>
66  </div>
67  {/if}
68
69  {if isset($chronology.TITLE) }
70  <h2>{$chronology.TITLE}</h2>
71  {/if}
72
73  </div> <!-- titrePage -->
74
75{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
76
77{if !empty($category_search_results) }
78<div style="font-size:16px;margin:10px 16px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
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}
87
88{if !empty($tag_search_results) }
89<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
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>
96</div>
97{/if}
98
99{if isset($FILE_CHRONOLOGY_VIEW) }
100{include file=$FILE_CHRONOLOGY_VIEW}
101{/if}
102
103{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
104{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
105
106
107{if !empty($NAV_BAR) }
108<div class="navigationBar">
109  {$NAV_BAR}
110</div>
111{/if}
112
113{if !empty($CONTENT_DESCRIPTION) }
114<div class="additional_info">
115  {$CONTENT_DESCRIPTION}
116</div>
117{/if}
118
119{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
120</div> <!-- content -->
121
122{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.