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
RevLine 
[7989]1{html_head}
2{literal}
3<style>#footer {display: none;}</style>
4{/literal}
5{/html_head}
[14687]6{assign var=derivative value=$pwg->derivative($stripped.imageSize, $current.src_image)}
7{assign var='size' value=$derivative->get_size()}
[12547]8{literal}
9<script type="text/javascript">
[14687]10var image_w = {/literal}{$size[0]}{literal}
11var image_h = {/literal}{$size[1]}{literal}
[12547]12</script>
13{/literal}
[7989]14<div id="light_slideshow">
15
16        <div class="titrePage" id="imageHeaderBar">
17                <div class="browsePath">
18                        &nbsp;
19                </div>
[8183]20            <ul class="randomButtons">
21                        <li id="imageToolBar">
22                                {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
23                        </li>
24                </ul>
[8100]25                <div style="clear: both;"></div>
[7989]26        </div> <!-- imageHeaderBar -->
27
28        <div id="content">
29                {assign var='display_description_tab' value=false}
[9960]30                {if (!($stripped.showDescriptionInsteadOfTitle) && isset($COMMENT_IMG))}
[7989]31                        {assign var='display_description_tab' value=true}
32                {/if}
33
34                {assign var='showTitle' value=false}
[16913]35                {if isset($COMMENT_IMG) and $stripped.imageCaption == 'description'}
[7989]36                        {assign var='showTitle' value=true}
37                {/if}
[16913]38                {if isset($current.TITLE) and $stripped.imageCaption == 'title'}
39                        {assign var='showTitle' value=true}
40                {/if}
[7989]41
42                <div id="theImageAndTitle">
43                        <div id="theImageBox">
[12547]44                                {if (isset($previous) && $stripped.navArrows) }
45                                        <a href="{$previous.U_IMG}" id="imgprev">&nbsp;</a>
46                                {/if}
[7989]47                                <div id="theImage">
48                                        {$ELEMENT_CONTENT}
49                                </div>
[12547]50                {if (isset($next) && $stripped.navArrows)}
51                        <a href="{$next.U_IMG}" id="imgnext">&nbsp;</a>
52                {/if}
[7989]53                        </div>
54                        {if $showTitle }
55                                <div id="imageTitleContainer"><div id="imageTitle">
[12547]56                                        {if ($stripped.imageCaption == 'description' )}
[7989]57                                                {$COMMENT_IMG|strip_tags:false}
[12547]58                                        {/if}
59                                        {if ($stripped.imageCaption == 'title' )}
[7989]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.