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

Last change on this file since 2387 was 2352, checked in by patdenice, 16 years ago

Change all #content by .content in css files.
In tpl files, id="content" stay here for backward compatibilities.
Add some plugins triggers in index.tpl and picture.tpl.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 KB
Line 
1{* $Id: index.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}
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      <li>&nbsp;</li>
8      {if !empty($image_orders) }
9      <li>
10      {'Sort order'|@translate}:
11      <select onchange="document.location = this.options[this.selectedIndex].value;">
12        {foreach from=$image_orders item=image_order }
13        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}}>{$image_order.DISPLAY}</option>
14        {/foreach}
15      </select>
16      </li>
17      {/if}
18
19      {if isset($U_CADDIE) }
20      <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>
21      {/if}
22
23      {if isset($U_EDIT) }
24      <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>
25      {/if}
26
27      {if isset($U_SEARCH_RULES) }
28      <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>
29      {/if}
30
31      {if isset($U_SLIDESHOW) }
32      <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>
33      {/if}
34
35      {if isset($U_MODE_FLAT) }
36      <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>
37      {/if}
38
39      {if isset($U_MODE_NORMAL) }
40      <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>
41      {/if}
42
43      {if isset($U_MODE_POSTED) }
44      <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>
45      {/if}
46     
47      {if isset($U_MODE_CREATED) }
48      <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>
49      {/if}
50     
51      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
52    </ul>
53
54  <h2>{$TITLE}</h2>
55
56  {if isset($chronology_views) }
57  <div class="calendarViews">{'calendar_view'|@translate}:
58    <select onchange="document.location = this.options[this.selectedIndex].value;">
59      {foreach from=$chronology_views item=view}
60      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
61      {/foreach}
62    </select>
63  </div>
64  {/if}
65
66  {if isset($chronology.TITLE) }
67  <h2>{$chronology.TITLE}</h2>
68  {/if}
69
70  </div> <!-- titrePage -->
71
72{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
73
74{if !empty($category_search_results) }
75<div style="font-size:16px;text-align:left;margin:10px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
76  <em><strong>
77  {foreach from=$category_search_results item=res name=res_loop}
78  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
79  {$res}
80  {/foreach}
81  </strong></em>
82</div>
83{/if}
84
85{if !empty($tag_search_results) }
86<div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
87  <em><strong>
88  {foreach from=$tag_search_results item=res name=res_loop}
89  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
90  {$res}
91  {/foreach}
92  </strong></em>
93</div>
94{/if}
95
96{if isset($FILE_CHRONOLOGY_VIEW) }
97{include file=$FILE_CHRONOLOGY_VIEW}
98{/if}
99
100{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
101{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
102
103
104{if !empty($NAV_BAR) }
105<div class="navigationBar">
106  {$NAV_BAR}
107</div>
108{/if}
109
110{if !empty($CONTENT_DESCRIPTION) }
111<div class="additional_info">
112  {$CONTENT_DESCRIPTION}
113</div>
114{/if}
115
116{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
117</div> <!-- content -->
118
119{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.