source: extensions/stripped_responsive/template/slideshow.tpl

Last change on this file was 32997, checked in by plg, 4 months ago

compatibility PHP 8 and Piwigo 14, by Linty

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1{html_head}
2{literal}
3<style>#footer {display: none;}</style>
4{/literal}
5{/html_head}
6{assign var=derivative value=$pwg->derivative($stripped_responsive.imageSize, $current.src_image)}
7{assign var='size' value=$derivative->get_size()}
8{literal}
9<script type="text/javascript">
10var image_w = {/literal}{$size[0]}{literal}
11var image_h = {/literal}{$size[1]}{literal}
12</script>
13{/literal}
14<div id="light_slideshow">
15
16        <div class="titrePage" id="imageHeaderBar">
17                <div class="browsePath">
18                        &nbsp;
19                </div>
20            <ul class="randomButtons">
21                        <li id="imageToolBar">
22                                {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
23                        </li>
24                </ul>
25                <div style="clear: both;"></div>
26        </div> <!-- imageHeaderBar -->
27
28        <div id="content">
29                {assign var='display_description_tab' value=false}
30                {if (empty($stripped_responsive.showDescriptionInsteadOfTitle) && isset($COMMENT_IMG))}
31                        {assign var='display_description_tab' value=true}
32                {/if}
33
34                {assign var='showTitle' value=false}
35                {if isset($COMMENT_IMG) and $stripped_responsive.imageCaption == 'description'}
36                        {assign var='showTitle' value=true}
37                {/if}
38                {if isset($current.TITLE) and $stripped_responsive.imageCaption == 'title'}
39                        {assign var='showTitle' value=true}
40                {/if}
41
42                <div id="theImageAndTitle">
43                        <div id="theImageBox">
44                                <div id="theImage">
45                                        {$ELEMENT_CONTENT}
46                                </div>
47                        </div>
48                        {if $showTitle }
49                                <div id="imageTitleContainer"><div id="imageTitle">
50                                        {if ($stripped_responsive.imageCaption == 'description' )}
51                                                {$COMMENT_IMG|strip_tags:false}
52                                        {/if}
53                                        {if ($stripped_responsive.imageCaption == 'title' )}
54                                                {$current.TITLE}
55                                        {/if}
56                                </div></div>
57                        {/if}
58                </div> <!-- theImage -->
59                <div style="clear: both;"></div>
60        </div>
61
62</div>
Note: See TracBrowser for help on using the repository browser.