source: extensions/gally/gally-black-graphite/template/index.tpl @ 31639

Last change on this file since 31639 was 21997, checked in by flop25, 12 years ago

gally * themes of grum checked for 2.5 compatibility
-navig bar
-lang switch menu display

  • Property svn:executable set to *
File size: 6.8 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      {if !empty($image_orders)}
18      <div id="sortOrderBox" class="switchBox switchBoxCat">
19        <div class="switchBoxTitle">{'Sort order'|@translate}</div>
20        {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
21        {if $image_order.SELECTED}
22        <span>&#x2714; </span>{$image_order.DISPLAY}
23        {else}
24        <span style="visibility:hidden">&#x2714; </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a>
25        {/if}
26        {/foreach}
27      </div>
28      {/if}
29
30      {if !empty($image_derivatives)}
31      <div id="derivativeSwitchBox" class="switchBox switchBoxCat">
32        <div class="switchBoxTitle">{'Photo sizes'|@translate}</div>
33        {foreach from=$image_derivatives item=image_derivative name=loop}
34        {if !$smarty.foreach.loop.first}<br>{/if}
35        {if $image_derivative.SELECTED}
36        <span>&#x2714; </span>{$image_derivative.DISPLAY}
37        {else}
38        <span style="visibility:hidden">&#x2714; </span>
39        <a href="{$image_derivative.URL}" rel=nofollow">{$image_derivative.DISPLAY}</a>
40        {/if}
41        {/foreach}
42      </div>
43      {/if}
44
45      <ul class="categoryActions" id="categoryActionsID">
46        <li>&nbsp;</li>
47        {if !empty($image_orders) }
48        <li><a title="{'Sort order'|@translate}" id="icon_sort" class="button"></a></li>
49        {/if}
50
51        {if !empty($image_derivatives) }
52        <li><a title="{'Photo sizes'|@translate}" id="icon_derivatives" class="button"></a></li>
53        {/if}
54
55
56        {if isset($favorite)}
57        <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" id="icon_delall_favorite" class="button"></a></li>
58        {/if}
59
60        {if isset($U_CADDIE)}
61        <li><a href="{$U_CADDIE}" title="{'Add tocaddie'|@translate}" id="icon_caddie" class="button"></a></li>
62        {/if}
63
64        {if isset($U_EDIT)}
65        <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" id="icon_category_edit" class="button" ></a></li>
66        {/if}
67
68        {if isset($U_SEARCH_RULES)}
69        <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow" id="icon_search_rules" class="button"></a></li>
70        {/if}
71
72        {if isset($U_SLIDESHOW)}
73        <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow" id="icon_start_slideshow" class="button"></a></li>
74        {/if}
75
76        {if isset($U_MODE_FLAT)}
77        <li><a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow" id="icon_flat" class="button"></a></li>
78        {/if}
79
80        {if isset($U_MODE_NORMAL)}
81        <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" id="icon_normal_mode" class="button"></a></li>
82        {/if}
83
84        {if isset($U_MODE_POSTED)}
85        <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow" id="icon_calendar" class="button"></a></li>
86        {/if}
87
88        {if isset($U_MODE_CREATED)}
89        <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow" id="icon_calendar_created" class="button"></a></li>
90        {/if}
91
92        {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
93      </ul>
94
95
96  <h2 class='treeLinks'>{$TITLE|replace:' / ':' &#124; '}</h2>
97
98
99
100  </div> <!-- titrePage -->
101
102{if #menuAnimated# != "noswitch"}
103  {$MENUBAR}
104{/if}
105
106
107<div id="subContent">
108  <div class="titrePage{if !(isset($chronology_views) or isset($chronology.TITLE))}Empty{/if}" id="titreContent1">
109    {if isset($chronology_views)}
110    <div class="calendarViews">{'View'|@translate}:
111      <select onchange="document.location = this.options[this.selectedIndex].value;">
112        {foreach from=$chronology_views item=view}
113        <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
114        {/foreach}
115      </select>
116    </div>
117    {/if}
118
119    {if isset($chronology.TITLE)}
120    <h2 class="calendarTitle">{$chronology.TITLE}</h2>
121    {/if}
122  </div>
123
124  {if isset($errors) or not empty($infos)}
125  {include file='infos_errors.tpl'}
126  {/if}
127  {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
128
129  {if !empty($category_search_results)}
130  <div style="font-size:16px;text-align:left;margin:10px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
131    <em><strong>
132    {foreach from=$category_search_results item=res name=res_loop}
133    {if !$smarty.foreach.res_loop.first} &mdash; {/if}
134    {$res}
135    {/foreach}
136    </strong></em>
137  </div>
138  {/if}
139
140  {if !empty($tag_search_results)}
141  <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
142    <em><strong>
143    {foreach from=$tag_search_results item=res name=res_loop}
144    {if !$smarty.foreach.res_loop.first} &mdash; {/if}
145    {$res}
146    {/foreach}
147    </strong></em>
148  </div>
149  {/if}
150
151  {if isset($FILE_CHRONOLOGY_VIEW)}
152  {include file=$FILE_CHRONOLOGY_VIEW}
153  {/if}
154
155  {if !empty($CATEGORIES) or !empty($THUMBNAILS) or !empty($CONTENT_DESCRIPTION)}
156  <table id="thumbContents"><tr>
157    {if !empty($CONTENT_DESCRIPTION) }
158    <td class="additional_info" id="additional_infoID">
159      <div id="additional_infoLEFT">
160        {$CONTENT_DESCRIPTION}
161      </div>
162    </td>
163    {/if}
164
165    {if !empty($CATEGORIES) or !empty($THUMBNAILS)}
166    <td id="thumbContainer">
167      <div id="thumbSubContainer">
168
169        <div id="additional_infoTOP">
170          {if !empty($CONTENT_DESCRIPTION_TOP) }
171          {$CONTENT_DESCRIPTION_TOP}
172          {/if}
173        </div>
174
175        {if !empty($CATEGORIES)}<div id="categories">{$CATEGORIES}
176        {if !empty($cats_navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}{/if}</div>{/if}
177        {if !empty($THUMBNAILS)}<div id="thumbnails">{$THUMBNAILS}</div>{/if}
178
179        <div id="additional_infoBOTTOM">
180          {if !empty($CONTENT_DESCRIPTION_BOTTOM) }
181          {$CONTENT_DESCRIPTION_BOTTOM}
182          {/if}
183        </div>
184
185      </div>
186    </td>
187    {/if}
188  </tr></table>
189  {/if}
190
191  {if !empty($thumb_navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar}{/if}
192
193</div>{* subContent *}
194
195
196
197{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
198</div> {* content *}
199
200{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
201<!-- **GBL** <INDEX< -->
Note: See TracBrowser for help on using the repository browser.