source: extensions/stripped/template/slideshow.tpl @ 16913

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

version 2.2.5

File size: 1.9 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.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 (!($stripped.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.imageCaption == 'description'}
36                        {assign var='showTitle' value=true}
37                {/if}
38                {if isset($current.TITLE) and $stripped.imageCaption == 'title'}
39                        {assign var='showTitle' value=true}
40                {/if}
41
42                <div id="theImageAndTitle">
43                        <div id="theImageBox">
44                                {if (isset($previous) && $stripped.navArrows) }
45                                        <a href="{$previous.U_IMG}" id="imgprev">&nbsp;</a>
46                                {/if}
47                                <div id="theImage">
48                                        {$ELEMENT_CONTENT}
49                                </div>
50                {if (isset($next) && $stripped.navArrows)}
51                        <a href="{$next.U_IMG}" id="imgnext">&nbsp;</a>
52                {/if}
53                        </div>
54                        {if $showTitle }
55                                <div id="imageTitleContainer"><div id="imageTitle">
56                                        {if ($stripped.imageCaption == 'description' )}
57                                                {$COMMENT_IMG|strip_tags:false}
58                                        {/if}
59                                        {if ($stripped.imageCaption == 'title' )}
60                                                {$current.TITLE}
61                                        {/if}
62                                </div></div>
63                        {/if}
64                </div> <!-- theImage -->
65                <div style="clear: both;"></div>
66        </div>
67
68</div>
Note: See TracBrowser for help on using the repository browser.