From: David ‘Bombe’ Roden Date: Wed, 21 Sep 2011 19:09:07 +0000 (+0200) Subject: Move admin forms to their appropriate places. X-Git-Tag: 0.7^2~2^2~45 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=2f6b4b0b17855b1d35f778a45456975b7fc5fdf0 Move admin forms to their appropriate places. --- diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index a8f1e98..e9b3c06 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -69,6 +69,25 @@

<% album.description|html>

+ <%if album.sone.local> +

<%= Page.ImageBrowser.Album.Edit.Title|l10n|html>

+ +
+ + + +
+ + +
+
+ + +
+ +
+ <%/if> + <%foreach album.albums album> <%first>

<%= Page.ImageBrowser.Header.Albums|l10n|html>

<%/first> <%if loop.count|mod divisor=3>
<%/if> @@ -89,6 +108,10 @@ <%if endRow>
<%/if> <%/foreach> + <%if album.sone.local> + <%include include/createAlbum.html> + <%/if> + <%foreach album.images image> <%first>

<%= Page.ImageBrowser.Header.Images|l10n|html>

<%/first> <%if loop.count|mod divisor=3>
<%/if> @@ -103,24 +126,6 @@ <%if album.sone.local> <%include include/uploadImage.html> - <%include include/createAlbum.html> - -

<%= Page.ImageBrowser.Album.Edit.Title|l10n|html>

- -
- - - -
- - -
-
- - -
- -
<%if album.empty>