Fixed smiley No. in list
authorAlexander Ebert <ebert@woltlab.com>
Thu, 7 Nov 2013 22:28:45 +0000 (23:28 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 7 Nov 2013 22:28:45 +0000 (23:28 +0100)
wcfsetup/install/files/acp/templates/smileyList.tpl

index ed31f280e6138397fdb0d694dd506caacf7afef2..11057da60b8f92006f2e8e56757696e5364bdd66 100644 (file)
@@ -37,7 +37,7 @@
                </nav>
                <section id="smileyList" class="sortableListContainer">
                        {if $objects|count}
-                               <ol class="sortableList" data-object-id="0">
+                               <ol class="sortableList" data-object-id="0" start="{@($pageNo - 1) * $itemsPerPage + 1}">
                                        {foreach from=$objects item=smiley}
                                                <li class="sortableNode sortableNoNesting smileyRow" data-object-id="{@$smiley->smileyID}">
                                                        <span class="sortableNodeLabel">