Change code to use new way to specify filter parameters.
[Sone.git] / src / main / resources / templates / include / browseAlbums.html
index cb9abba..9aacad3 100644 (file)
@@ -1,6 +1,6 @@
 <%foreach albums album>
        <%first><h2><%= Page.ImageBrowser.Header.Albums|l10n|html></h2><%/first>
-       <%if loop.count|mod divisor=3><div class="album-row"><%/if>
+       <%if loop.count|mod divisor==3><div class="album-row"><%/if>
        <div id="album-<% album.id|html>" class="album">
                <div class="album-id hidden"><% album.id|html></div>
                <div class="album-container">
@@ -8,7 +8,7 @@
                                <%ifnull album.albumImage>
                                        <img src="images/unknown-image-0.png" width="333" height="250" alt="<% album.title|html>" title="<% album.title|html>" style="position: relative; top: 0px; left: -41px;" />
                                <%else><!-- TODO -->
-                                       <% album.albumImage|image-link max-width=250 max-height=250 mode=enlarge title==album.title>
+                                       <% album.albumImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title>
                                <%/if>
                        </a>
                </div>
@@ -43,8 +43,8 @@
                        </form>
                <%/if>
        </div>
-       <%= false|store key=endRow>
-       <%if loop.count|mod divisor=3 offset=1><%= true|store key=endRow><%/if>
-       <%last><%= true|store key=endRow><%/last>
+       <%= false|store key==endRow>
+       <%if loop.count|mod divisor==3 offset==1><%= true|store key==endRow><%/if>
+       <%last><%= true|store key==endRow><%/last>
        <%if endRow></div><%/if>
 <%/foreach>