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

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

adding tiptip for icons
language code in smarty tag changed -> I hate that change !!
ready to be in PEM

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