source: extensions/floOS/OS_default/template/index.tpl @ 9108

Last change on this file since 9108 was 9108, checked in by flop25, 13 years ago

first commit : update for 2.1 and higher
Integrating spreadmenu directly IN the theme

File size: 5.0 KB
Line 
1{$MENUBAR}
2{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
3<div id="content" class="content">
4  <table id="table_content" border="0" cellspacing="0" cellpadding="0">
5    <tr>
6      <td id="section_up_left">&nbsp;</td>
7      <td id="section_up">
8                  <div class="titrePage">
9                <ul class="categoryActions">
10                  {if !empty($image_orders) }
11                  <li>
12                  {'Sort order'|@translate}:
13                  <select onchange="document.location = this.options[this.selectedIndex].value;">
14                        {foreach from=$image_orders item=image_order }
15                        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
16                        {/foreach}
17                  </select>
18                  </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 category informations'|@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="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}" /></a></li>
39                  {/if}
40       
41                  {if isset($U_MODE_NORMAL) }
42                  <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>
43                  {/if}
44       
45                  {if isset($U_MODE_POSTED) }
46                  <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>
47                  {/if}
48                 
49                  {if isset($U_MODE_CREATED) }
50                  <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>
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">{'calendar_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          </td>
75      <td id="section_up_right">&nbsp;</td>
76    </tr>
77    <tr>
78      <td id="section_left">&nbsp;</td>
79      <td id="section_in">
80                {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
81               
82                {if !empty($category_search_results) }
83                <div style="font-size:16px;text-align:left;margin:10px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
84                  <em><strong>
85                  {foreach from=$category_search_results item=res name=res_loop}
86                  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
87                  {$res}
88                  {/foreach}
89                  </strong></em>
90                </div>
91                {/if}
92               
93                {if !empty($tag_search_results) }
94                <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
95                  <em><strong>
96                  {foreach from=$tag_search_results item=res name=res_loop}
97                  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
98                  {$res}
99                  {/foreach}
100                  </strong></em>
101                </div>
102                {/if}
103               
104                {if isset($FILE_CHRONOLOGY_VIEW) }
105                {include file=$FILE_CHRONOLOGY_VIEW}
106                {/if}
107               
108                {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
109                {if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
110               
111               
112                {if !empty($NAV_BAR) }
113                <div class="navigationBar">
114                  {$NAV_BAR}
115                </div>
116                {/if}
117               
118                {if !empty($CONTENT_DESCRIPTION) }
119                <div class="additional_info">
120                  {$CONTENT_DESCRIPTION}
121                </div>
122                {/if}
123               
124                {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
125      </td>
126          <td id="section_right">&nbsp;</td>
127    </tr>
128    <tr>
129      <td id="section_bottom_left">&nbsp;</td>
130      <td id="section_bottom" >&nbsp;</td>
131      <td id="section_bottom_right" >&nbsp;</td>
132    </tr>
133  </table>
134</div> <!-- content -->
135
136{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.