source: extensions/stripped-galleria/template/index.tpl @ 26671

Last change on this file since 26671 was 26671, checked in by flop25, 10 years ago

updated for 2.5 & 2.6

File size: 3.4 KB
Line 
1<div class="titrePage">
2        <div class="browsePath">
3                {if empty($THUMBNAILS) || (!empty($CATEGORIES)) }
4                        <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span>
5                {/if}
6                <h2>{$TITLE}</h2>
7        </div>
8        {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS) or !empty($THUMBNAILS) }
9                <div class="categoryActionsContainer">
10                        <ul class="categoryActions group1">
11                                {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
12                                {if isset($U_EDIT)}
13                                        <li class="mainAction"><a href="{$U_EDIT}" title="{'edit'|@translate}">{'edit'|@translate}</a></li>
14                                {/if}
15                                {if isset($U_CADDIE) }
16                                        <li class="mainAction"><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li>
17                                {/if}
18                                {if (!empty($THUMBNAILS) && $downloadLink) }
19                                        <li class="mainAction"><a id="downloadlink" href="" title="{'download this file'|@translate}" style="display: none;">{'download'|@translate}</a></li>
20                                {/if}
21                        </ul>
22                </div>
23        {/if}
24</div>
25<div id="content" {if !$stripped.hideMenu}class="menuShown"{/if}>
26{if empty($CATEGORIES) &! empty($THUMBNAILS) }
27                {$THUMBNAILS}
28{else}
29        {$MENUBAR}
30        <div id="content_cell">
31                {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_BEFORE}</div>{/if}
32                <div id="subcontent">
33                        {if isset($chronology.TITLE) }
34                                <h2>{$chronology.TITLE}</h2>
35                        {/if}
36                        {if isset($chronology_views) }
37                                {if isset($U_MODE_POSTED) }
38                                        <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
39                                {/if}
40                                {if isset($U_MODE_CREATED) }
41                                        <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
42                                {/if}
43                                <div class="calendarViews">{'View'|@translate}:
44                                        <select onchange="document.location = this.options[this.selectedIndex].value;">
45                                                {foreach from=$chronology_views item=view}
46                                                        <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
47                                                {/foreach}
48                                        </select>
49                                </div>
50                        {/if}
51
52                        {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}<div class="content_block">{$PLUGIN_INDEX_CONTENT_BEGIN}</div>{/if}
53                        {if !empty($category_search_results) }
54                                <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
55                                        {foreach from=$category_search_results item=res name=res_loop}
56                                        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
57                                        {$res}
58                                        {/foreach}
59                                </div>
60                        {/if}
61                        {if !empty($tag_search_results) }
62                                <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
63                                        {foreach from=$tag_search_results item=res name=res_loop}
64                                                {if !$smarty.foreach.res_loop.first} &mdash; {/if}
65                                                {$res}
66                                        {/foreach}
67                                </div>
68                        {/if}
69                        {if isset($FILE_CHRONOLOGY_VIEW) }
70                                {include file=$FILE_CHRONOLOGY_VIEW}
71                        {/if}
72
73                        {if !empty($CONTENT_DESCRIPTION) }
74                                <div class="content_block"><div class="additional_info">
75                                        {$CONTENT_DESCRIPTION}
76                                </div></div>
77                        {/if}
78
79                        {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
80                        {if !empty($PLUGIN_INDEX_CONTENT_END) }<div class="content_block">{$PLUGIN_INDEX_CONTENT_END}</div>{/if}
81                </div> <!-- subcontent -->
82                {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}<div class="subcontent">{$PLUGIN_INDEX_CONTENT_AFTER}</div>{/if}
83        </div>
84{/if}
85        <div style="clear: both;"></div>
86</div>
87 
Note: See TracBrowser for help on using the repository browser.