source: extensions/simple_themes/simple/template/index.tpl @ 13548

Last change on this file since 13548 was 13548, checked in by plg, 12 years ago

import theme Simple version 2.2

  • fix the calendar's pages
  • update picture.tpl (download, favorites, metadata, rating)
  • change the way to hide blocks in JS, without <noscript>, thanks to VDigital & nicolas
  • update jquery to 1.4.2
  • remove standard deviation for votes
File size: 2.7 KB
Line 
1{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
2<div class="titrePage">
3  <span id="menuswitcher" title="Afficher/cacher le menu">Menu</span> »
4  {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)}
5  <ul class="categoryActions">
6    {if isset($U_EDIT)}
7    <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}">{'edit'|@translate}</a></li>
8    {/if}
9    {if isset($U_SLIDESHOW)}
10    <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li>
11    {/if}
12    {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
13  </ul>
14  {/if}
15  <h2>{$TITLE}</h2>
16</div>
17<div id="content">
18  {$MENUBAR}
19  <div id="subcontent">
20    {if isset($chronology.TITLE) }
21    <h2>{$chronology.TITLE}</h2>
22    {/if}
23    {if isset($chronology_views) }
24    {if isset($U_MODE_POSTED) }
25    <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
26    {/if}
27    {if isset($U_MODE_CREATED) }
28    <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
29    {/if}
30    <div class="calendarViews">{'View'|@translate}:
31    <select onchange="document.location = this.options[this.selectedIndex].value;">
32      {foreach from=$chronology_views item=view}
33      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
34      {/foreach}
35    </select>
36    </div>
37    {/if}
38
39    {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
40    {if !empty($category_search_results) }
41    <div>{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
42      {foreach from=$category_search_results item=res name=res_loop}
43      {if !$smarty.foreach.res_loop.first} &mdash; {/if}
44      {$res}
45      {/foreach}
46    </div>
47    {/if}
48    {if !empty($tag_search_results) }
49    <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
50      {foreach from=$tag_search_results item=res name=res_loop}
51      {if !$smarty.foreach.res_loop.first} &mdash; {/if}
52      {$res}
53      {/foreach}
54    </div>
55    {/if}
56    {if !empty($CONTENT_DESCRIPTION) }
57    <p id="additional_info">
58      {$CONTENT_DESCRIPTION}
59    </p>
60    {/if}
61    {if isset($FILE_CHRONOLOGY_VIEW) }
62      {include file=$FILE_CHRONOLOGY_VIEW}
63    {/if}
64
65    {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
66    {if !empty($THUMBNAILS) }<div id="thumbnails">{$THUMBNAILS}</div>{/if}
67    {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
68    {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
69  </div> <!-- subContent -->
70  <div style="clear: both;"></div>
71  {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
72</div> <!-- content -->
73
Note: See TracBrowser for help on using the repository browser.