source: extensions/gally/gally-default/template/index.tpl @ 12594

Last change on this file since 12594 was 12592, checked in by grum, 12 years ago

feature:2499 - compatibility with Piwigo 2.3

  • Property svn:executable set to *
File size: 5.6 KB
Line 
1<!-- **GBL** >INDEX> -->
2
3{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
4
5<div id="content" class="content">
6  <div class="titrePage" id='titrePageID'>
7
8    {if #menuAnimated# == "noswitch"}
9      {$MENUBAR}
10    {else}
11    <div id="menuswitcher">
12      <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
13      </a>
14    </div>
15    {/if}
16
17      <ul class="categoryActions" id="categoryActionsID">
18        <li>&nbsp;</li>
19        {if !empty($image_orders) }
20        <li class="selector">
21        {'Sort order'|@translate}:
22        <select onchange="document.location = this.options[this.selectedIndex].value;">
23          {foreach from=$image_orders item=image_order }
24          <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
25          {/foreach}
26        </select>
27        </li>
28        {/if}
29
30        {if isset($favorite) }
31        <li><a id="icon_delall_favorite" class="button" href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}"></a></li>
32        {/if}
33
34        {if isset($U_CADDIE) }
35        <li><a id="icon_caddie" class="button" href="{$U_CADDIE}" title="{'caddie'|@translate}"></a></li>
36        {/if}
37
38        {if isset($U_EDIT) }
39        <li><a id="icon_category_edit" class="button" href="{$U_EDIT}" title="{'edit'|@translate}"></a></li>
40        {/if}
41
42        {if isset($U_SEARCH_RULES) }
43        <li><a id="icon_search_rules" class="button" href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"></a></li>
44        {/if}
45
46        {if isset($U_SLIDESHOW) }
47        <li><a id="icon_start_slideshow" class="button" href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"></a></li>
48        {/if}
49
50        {if isset($U_MODE_FLAT) }
51        <li><a id="icon_flat" class="button" href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow"></a></li>
52        {/if}
53
54        {if isset($U_MODE_NORMAL) }
55        <li><a id="icon_normal_mode" class="button" href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"></a></li>
56        {/if}
57
58        {if isset($U_MODE_POSTED) }
59        <li><a id="icon_calendar" class="button" href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"></a></li>
60        {/if}
61
62        {if isset($U_MODE_CREATED) }
63        <li><a id="icon_calendar_created" class="button" href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"></a></li>
64        {/if}
65
66        {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
67      </ul>
68
69
70  <h2>[&nbsp;{$TITLE}&nbsp;]</h2>
71
72
73
74  </div> <!-- titrePage -->
75
76{if #menuAnimated# != "noswitch"}
77  {$MENUBAR}
78{/if}
79
80
81<div id="subContent">
82  <div class="titrePage{if !(isset($chronology_views) or isset($chronology.TITLE))}Empty{/if}" id="titreContent1">
83    {if isset($chronology_views) }
84    <div class="calendarViews">{'View'|@translate}:
85      <select onchange="document.location = this.options[this.selectedIndex].value;">
86        {foreach from=$chronology_views item=view}
87        <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
88        {/foreach}
89      </select>
90    </div>
91    {/if}
92
93    {if isset($chronology.TITLE) }
94    <h2>{$chronology.TITLE}</h2>
95    {/if}
96  </div>
97
98  {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
99
100  {if !empty($category_search_results) }
101  <div style="font-size:16px;text-align:left;margin:10px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
102    <em><strong>
103    {foreach from=$category_search_results item=res name=res_loop}
104    {if !$smarty.foreach.res_loop.first} &mdash; {/if}
105    {$res}
106    {/foreach}
107    </strong></em>
108  </div>
109  {/if}
110
111  {if !empty($tag_search_results) }
112  <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
113    <em><strong>
114    {foreach from=$tag_search_results item=res name=res_loop}
115    {if !$smarty.foreach.res_loop.first} &mdash; {/if}
116    {$res}
117    {/foreach}
118    </strong></em>
119  </div>
120  {/if}
121
122  {if isset($FILE_CHRONOLOGY_VIEW) }
123  {include file=$FILE_CHRONOLOGY_VIEW}
124  {/if}
125
126  {if !empty($CATEGORIES) or !empty($THUMBNAILS) or !empty($CONTENT_DESCRIPTION)}
127  <table id="thumbContents"><tr>
128    {if !empty($CONTENT_DESCRIPTION) }
129    <td class="additional_info" id="additional_infoID">
130      <div id="additional_infoLEFT">
131        {$CONTENT_DESCRIPTION}
132      </div>
133    </td>
134    {/if}
135
136    {if !empty($CATEGORIES) or !empty($THUMBNAILS)}
137    <td id="thumbContainer">
138      <div id="thumbSubContainer">
139
140        <div id="additional_infoTOP">
141          {if !empty($CONTENT_DESCRIPTION_TOP) }
142          {$CONTENT_DESCRIPTION_TOP}
143          {/if}
144        </div>
145
146        {if !empty($CATEGORIES) }<div id="categories">{$CATEGORIES}</div>{/if}
147        {if !empty($THUMBNAILS) }<div id="thumbnails">{$THUMBNAILS}</div>{/if}
148
149        <div id="additional_infoBOTTOM">
150          {if !empty($CONTENT_DESCRIPTION_BOTTOM) }
151          {$CONTENT_DESCRIPTION_BOTTOM}
152          {/if}
153        </div>
154
155      </div>
156    </td>
157    {/if}
158  </tr></table>
159  {/if}
160
161  {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
162
163</div> <!-- subContent -->
164
165
166
167{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
168</div> <!-- content -->
169
170{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
171<!-- **GBL** <INDEX< -->
Note: See TracBrowser for help on using the repository browser.