source: extensions/floPure/Pure_default/template/index.tpl @ 5904

Revision 5904, 5.8 KB checked in by flop25, 10 years ago (diff)

Pure_defaut created

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">&nbsp;</td>
8      <td id="section_up_right">&nbsp;</td>
9    </tr>
10    <tr>
11      <td id="section_left">&nbsp;</td>
12      <td id="section_in">
13      <div class="titrePage">
14        <ul class="categoryActions">
15          {if !empty($image_orders) }
16          <li>
17          {'Sort order'|@translate}:
18          <select onchange="document.location = this.options[this.selectedIndex].value;">
19            {foreach from=$image_orders item=image_order }
20            <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
21            {/foreach}
22          </select>
23          </li>
24          {/if}
25   
26          {if isset($favorite) }
27          <li><a href="{$favorite.U_FAVORITE}" title="{'delete all images from your favorites'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'delete all images from your favorites'|@translate}"></a></li>
28          {/if}
29   
30          {if isset($U_CADDIE) }
31          <li><a href="{$U_CADDIE}" title="{'caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a></li>
32          {/if}
33   
34          {if isset($U_EDIT) }
35          <li><a href="{$U_EDIT}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>
36          {/if}
37   
38          {if isset($U_SEARCH_RULES) }
39          <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>
40          {/if}
41   
42          {if isset($U_SLIDESHOW) }
43          <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>
44          {/if}
45   
46          {if isset($U_MODE_FLAT) }
47          <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>
48          {/if}
49   
50          {if isset($U_MODE_NORMAL) }
51          <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>
52          {/if}
53   
54          {if isset($U_MODE_POSTED) }
55          <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>
56          {/if}
57         
58          {if isset($U_MODE_CREATED) }
59          <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>
60          {/if}
61         
62          {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
63        </ul>
64   
65      <h2>{$TITLE}</h2>
66   
67      {if isset($chronology_views) }
68      <div class="calendarViews">{'View'|@translate}:
69        <select onchange="document.location = this.options[this.selectedIndex].value;">
70          {foreach from=$chronology_views item=view}
71          <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
72          {/foreach}
73        </select>
74      </div>
75      {/if}
76   
77      {if isset($chronology.TITLE) }
78      <h2>{$chronology.TITLE}</h2>
79      {/if}
80   
81      </div> <!-- titrePage -->
82   
83    {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
84   
85    {if !empty($category_search_results) }
86    <div style="font-size:16px;margin:10px 16px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
87      <em><strong>
88      {foreach from=$category_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 !empty($tag_search_results) }
97    <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
98      <em><strong>
99      {foreach from=$tag_search_results item=res name=res_loop}
100      {if !$smarty.foreach.res_loop.first} &mdash; {/if}
101      {$res}
102      {/foreach}
103      </strong></em>
104    </div>
105    {/if}
106   
107    {if isset($FILE_CHRONOLOGY_VIEW) }
108    {include file=$FILE_CHRONOLOGY_VIEW}
109    {/if}
110   
111    {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
112    {if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
113   
114    {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
115   
116    {if !empty($CONTENT_DESCRIPTION) }
117    <div class="additional_info">
118      {$CONTENT_DESCRIPTION}
119    </div>
120    {/if}
121   
122    {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
123      </td>
124          <td id="section_right">&nbsp;</td>
125    </tr>
126    <tr>
127      <td id="section_bottom_left">&nbsp;</td>
128      <td id="section_bottom" >&nbsp;</td>
129      <td id="section_bottom_right" >&nbsp;</td>
130    </tr>
131  </table>
132</div> <!-- content -->
133
134{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.