slideshow.tpl 862 Bytes
Newer Older
1
{if $images}
Evan Goldenberg's avatar
Evan Goldenberg committed
2
3
4
<div class="slideshow" id="slideshow{$instanceid}">
    <table class="images">
    <tr>
5
6
7
8
    <td class="control">
        <span class="first hidden">&laquo;</span>
        <span class="prev disabled">&lsaquo;</span>
    </td>
Evan Goldenberg's avatar
Evan Goldenberg committed
9
    <td>
10
    {foreach from=$images item=image name=images}
11
        <a href="{$image.link}" target="_blank"><img src="{$image.source}" alt="{$image.title}" title="{$image.title}" style="max-width: {$width}px;{if !$dwoo.foreach.images.first} display:none;{/if}"></a>
Evan Goldenberg's avatar
Evan Goldenberg committed
12
13
    {/foreach}
    </td>
14
    <td class="control">
15
        <span class="next disabled">&rsaquo;</span>
16
17
        {*<span class="last">&raquo;</span>*}
    </td>
Evan Goldenberg's avatar
Evan Goldenberg committed
18
19
20
    </tr>
    </table>
</div>
21
<script type="text/javascript">
Evan Goldenberg's avatar
Evan Goldenberg committed
22
23
var slideshow{$instanceid} = new Slideshow({$instanceid}, {$count});
</script>
24
25
26
{else}
  {str tag=noimagesfound section=artefact.file}
{/if}