Jump to content

[RESOLVED] upgrade.tpl row colors


tsiedsma

Recommended Posts

I've noticed that the upgrade options pull from all categories and sometimes the row colors would not alternate correctly. I would like to suggest an alternate way of doing the following:

 

Code from 3.7.1 upgrade.tpl line 18

<tr class="orderrow{if $num % 2}2{else}1{/if}">

 

I suggest replacing the above with the following:

<tr class="{cycle values="orderrow1,orderrow2"}">

 

This will make for a clean list of upgrade options while evenly cycling the row colors.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated