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

Last change on this file since 13089 was 13089, checked in by Zaphod, 12 years ago

version 1.3.0

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