1 <%foreach albums album|paginate pageSize=core.preferences.imagesPerPage page=albumPage>
3 <h2><%= Page.ImageBrowser.Header.Albums|l10n|html></h2>
4 <%include include/pagination.html pageParameter=="albumPage">
7 <%if loop.even><div class="album-row"><%/if>
8 <div id="album-<% album.id|html>" class="album">
9 <div class="album-id hidden"><% album.id|html></div>
10 <%include include/viewAlbum.html>
12 <%= false|store key==endRow>
13 <%if loop.odd><%= true|store key==endRow><%/if>
14 <%last><%= true|store key==endRow><%/last>
15 <%if endRow></div><%/if>
18 <%include include/pagination.html pageParameter=="albumPage">
21 <%if album.sone.local>
22 <form class="edit-album" action="editAlbum.html" method="post">
23 <input type="hidden" name="formPassword" value="<%formPassword|html>" />
24 <input type="hidden" name="returnPage" value="<%request.uri|html>" />
25 <input type="hidden" name="album" value="<%album.id|html>" />
27 <div class="move-buttons">
28 <button <%if loop.first>class="hidden" <%/if>type="submit" name="moveLeft" value="true"><%= Page.ImageBrowser.Image.Button.MoveLeft|l10n|html></button>
29 <button <%if loop.last>class="hidden" <%/if>type="submit" name="moveRight" value="true"><%= Page.ImageBrowser.Image.Button.MoveRight|l10n|html></button>
32 <div class="edit-data hidden">
34 <input type="text" name="title" value="<%album.title|html>" />
37 <textarea name="description"><%album.description|html></textarea>
40 <button <%if loop.first>class="hidden" <%/if>type="submit" name="moveLeft" value="true"><%= Page.ImageBrowser.Image.Button.MoveLeft|l10n|html></button>
41 <button type="submit" name="submit"><%= Page.ImageBrowser.Album.Button.Save|l10n|html></button>
42 <button <%if loop.last>class="hidden" <%/if>type="submit" name="moveRight" value="true"><%= Page.ImageBrowser.Image.Button.MoveRight|l10n|html></button>