summaryrefslogtreecommitdiff
path: root/share/templates/default/view.tmpl
blob: fc9e2671e9b8cbbe6486f97ed9b505f67cb47c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cat <<END
<div class='view'>
    <a href="${num}-$((i+1)).html">
        <img class='view ${animation_class}' border='0' src='${backhref}/${photos_dir}/${photo}' />
    </a>
    <div class="navigator">
        <a href="${num}-$((i-1)).html" class="arrow">&lArr;</a>
        <a href="page-${num}.html#$photo">Thumbnails</a> |
        <a href ='${backhref}/${photos_dir}/${photo}'>Direct link</a>
        <a href="${num}-$((i+1)).html" class="arrow">&rArr;</a>
    </div>
</div>
END

if [ "${ORIGINAL_BASEPATH}x" != x ]; then
    cat <<END
<p>
    <a href="${ORIGINAL_BASEPATH}/${photo}">Original</a>
</p>
END
fi