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

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

version 2.0.0

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