<%ifnull album.image>
<img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.title|html>" title="<% album.title|html>" />
<%else><!-- TODO -->
- <img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.title|html>" title="<% album.title|html>" />
+ <% album.albumImage|image-link max-width=200 max-height=150 title==album.title>
<%/if>
</a>
</div>
<% album.description|html>
</div>
- <%if album.sone.current>
+ <%if album.sone.local>
<%include include/uploadImage.html>
<%include include/createAlbum.html>
<h2><%= Page.ImageBrowser.Image.Delete.Title|l10n|html></h2>
- <form id="delete-image" action="deleteImage.html" method="post">
- <input type="hidden" name="formPassword" value="<%formPassword|html>" />
+ <form id="delete-image" action="deleteImage.html" method="get">
<input type="hidden" name="image" value="<%image.id|html>" />
<button type="submit"><%= Page.ImageBrowser.Image.Button.Delete|l10n|html></button>
</form>
<%ifnull album.image>
<img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.title|html>" title="<% album.title|html>" />
<%else><!-- TODO -->
- <img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.title|html>" title="<% album.title|html>" />
+ <% album.albumImage|image-link max-width=200 max-height=150 title==album.title>
<%/if>
</a>
</div>
<%/foreach>
- <%if sone.current>
+ <%if sone.local>
<%include include/createAlbum.html>
<%/if>