Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Sun, 24 Feb 2013 23:33:59 +0000 (00:33 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 24 Feb 2013 23:33:59 +0000 (00:33 +0100)
templates/conversation.tpl
templates/conversationMessageAdd.tpl
templates/conversationMessageEdit.tpl
templates/conversationMessageList.tpl

index 4ece4919a7950605a119a7b836b2812d2729485c..4b3a0a7b5b17c6a8e9e8b5247265ca3c34eff329 100644 (file)
 
 <div class="marginTop">
        <ul class="messageList">
-               {if $sortOrder == 'DESC'}{assign var='startIndex' value=$items-$startIndex+1}{/if}
                {include file='conversationMessageList'}
                {if !$conversation->isClosed}{include file='conversationQuickReply'}{/if}
        </ul>
index 28b8c3e1a365d22277ae1db33b6928b616d7da65..af3faebee04125d100c7e421cca222c8a208d6a1 100644 (file)
@@ -76,7 +76,6 @@
 
 <div>
        <ul class="messageList">
-               {assign var='startIndex' value=$items}
                {foreach from=$messages item=message}
                        {assign var='objectID' value=$message->messageID}
                        
                                        </div>
                                </article>
                        </li>
-                       
-                       {assign var='startIndex' value=$startIndex-1}
                {/foreach}
        </ul>
 </div>
index 20c0d8e0d222579fab925678c8e6ad2a04c803dc..efb10ab38267376420b23785a22909677fa04040 100644 (file)
        
        <div>
                <ul class="messageList">
-                       {assign var='startIndex' value=$items}
                        {foreach from=$messages item=message}
                                {assign var='objectID' value=$message->messageID}
                                
                                                </div>
                                        </article>
                                </li>
-                               
-                               {assign var='startIndex' value=$startIndex-1}
                        {/foreach}
                </ul>
        </div>
index e1cd377b2099aec53d3ffb2de9e74baa9c234544..8d2d68f78b2604b26499723b9ae48ff75c03c56d 100644 (file)
                        </div>
                </article>
        </li>
-       
-       {if $sortOrder == 'DESC'}
-               {assign var='startIndex' value=$startIndex-1}
-       {else}
-               {assign var='startIndex' value=$startIndex+1}
-       {/if}
 {/foreach}