1 <%include include/head.html>
3 <script language="javascript">
5 /* ajaxify album creation input field. */
6 $(document).ready(function() {
7 getTranslation("WebInterface.DefaultText.CreateAlbum.Name", function(text) {
8 $("#create-album input[name='name']").each(function() {
9 registerInputTextareaSwap(this, text, "name", false, true);
12 getTranslation("WebInterface.DefaultText.CreateAlbum.Description", function(text) {
13 $("#create-album input[name='description']").each(function() {
14 registerInputTextareaSwap(this, text, "description", true, true);
21 <div class="page-id hidden">image-browser</div>
27 <p><%= Page.ImageBrowser.Album.Error.NotFound.Text|l10n|html></p>
29 <%elseifnull album.name>
31 <p><%= Page.ImageBrowser.Album.Error.NotFound.Text|l10n|html></p>
35 <h1><%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.name|html></h1>
37 <div class="backlinks">
38 <%foreach album.backlinks backlink backlinks>
39 <div class="backlink">
40 <a href="<% backlink.target|html>"><% backlink.name|html></a>
42 <%if ! backlinks.last>
43 <div class="separator">></div>
48 <%foreach album.albums album>
51 <a href="imageBrowser.html?album=<% album.id|html>">
53 <img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.name|html>" title="<% album.name|html>" />
55 <img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.name|html>" title="<% album.name|html>" />
62 <div id="description">
63 <% album.description|html>
66 <%if album.sone.current>
67 <%include include/createAlbum.html>
72 <%elseif imageRequested>
74 <%elseif soneRequested>
78 <p><%= Page.ImageBrowser.Sone.Error.NotFound.Text|l10n|html></p>
82 <h1><%= Page.ImageBrowser.Sone.Title|l10n|replace needle='{sone}' replacementKey=sone.niceName|html></h1>
84 <%foreach sone.albums album>
87 <a href="imageBrowser.html?album=<% album.id|html>">
89 <img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.name|html>" title="<% album.name|html>" />
91 <img src="images/unknown-image-0.png" width="200" height="150" alt="<% album.name|html>" title="<% album.name|html>" />
99 <%include include/createAlbum.html>
106 <%include include/tail.html>