File: gallery.tt

package info (click to toggle)
libmojomojo-perl 1.01%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,272 kB
  • ctags: 879
  • sloc: perl: 14,055; sh: 145; xml: 120; ruby: 6; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[% WRAPPER page/wrapper.tt title=c.pref("name") _ " gallery - " _ c.expand_wikilink(page.name_orig) _ (tag ? tag : "") simple_footer=1 %]

<div id="content">
    [% PROCESS gallery/pager.tt pager=pictures.pager %]
    <div id="imageinfo" class="imageinfo">
        <small>[%loc('Hover over an image to get more info.')%]</small>
    </div>
    <div id="images">
    [% WHILE(picture=pictures.next) %]
        <a id="img_[% picture.id %]" class="image" href="[% c.uri_for('photo') %][% '_by_tag/' _ tag IF tag %]/[% picture.id %]">
            <img alt="[% loc('Show picture') %]" class="thumb" src="[%c.uri_for('attachment',picture.id,'thumb')%]"/>
        </a>
    [% END %]
    </div>
</div>

<div id="bottomnav">
    <ul>
        <li><a href="[% c.uri_for('attachments') %]">[% loc('View as files') %]</a></li>
    </ul>
</div>

[% END %]