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

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

import theme Simple version 2.3

  • if cl_conflit is used, don't add jQuery.noConflict
  • fix the possibility to toggle visibility of image informations
  • show logout link when connected - thanks to gbo
  • update jquery to 1.4.4
  • backport commit from piwigo: r6244, r6430 & r6438
  • add gitignore
  • update javascripts + add script to combine/minify
  • apply r6594 from piwigo's trunk
  • move jquery in the header, using known_script
  • translation for the menu title
  • add 1px icon start_filter.png to avoid loading error with rvtree plugin
  • margin for error & info divs
File size: 2.8 KB
Line 
1{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
2<div class="titrePage">
3  <span id="menuswitcher" title="{'Show/hide menu'|@translate}">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.