Ignore:
Timestamp:
11/20/08 16:59:24 (4 years ago)
Author:
WanWizard
Message:

changed column coloring to row coloring, so tables in the forum modules look like all others...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/templates/forum.viewforum.tpl

    r1981 r2061  
    8787            {section name=id loop=$threads}              
    8888                <tr> 
    89                     <td align='center' width='20' class='tbl2'> 
     89                    <td align='center' width='20' class='{cycle values='tbl1,tbl2' advance=no}'> 
    9090                        {if $threads[id].thread_locked && $threads[id].unread_posts == 0} 
    9191                            <img src='{$smarty.const.THEME}images/folderlock.gif' title='{$locale.564}' alt='{$locale.564}' /> 
     
    100100                        {/if} 
    101101                    </td> 
    102                     <td align='center' width='20' class='tbl1'> 
     102                    <td align='center' width='20' class='{cycle values='tbl1,tbl2' advance=no}'> 
    103103                        <a href='viewthread.php?forum_id={$forum_id}&amp;thread_id={$threads[id].thread_id}&amp;pid={$threads[id].last_post}#post_{$threads[id].last_post}'> 
    104104                            <img src='{$smarty.const.THEME}images/last_post.jpg' title='{$locale.574}' alt='{$locale.574}' /> 
    105105                        </a> 
    106106                    </td> 
    107                     <td class='tbl1'> 
     107                    <td class='{cycle values='tbl1,tbl2' advance=no}'> 
    108108                        {if $threads[id].thread_sticky} 
    109109                            <img src='{$smarty.const.THEME}images/stickythread.gif' title='{$locale.563}' alt='{$locale.563}' style='vertical-align:middle;' /> 
     
    126126                        {/if} 
    127127                    </td> 
    128                     <td class='tbl2'> 
     128                    <td class='{cycle values='tbl1,tbl2' advance=no}'> 
    129129                        {$threads[id].cc_flag} 
    130130                        {if $threads[id].thread_author == 0} 
     
    138138                        {/if} 
    139139                    </td> 
    140                     <td align='center' class='tbl1'> 
     140                    <td align='center' class='{cycle values='tbl1,tbl2' advance=no}'> 
    141141                        {$threads[id].thread_views} 
    142142                    </td> 
    143                     <td align='center' class='tbl2'> 
     143                    <td align='center' class='{cycle values='tbl1,tbl2' advance=no}'> 
    144144                        {$threads[id].thread_replies} 
    145145                    </td> 
    146                     <td class='tbl1'> 
     146                    <td class='{cycle values='tbl1,tbl2' advance=yes}'> 
    147147                        {$threads[id].thread_lastpost|date_format:"forumdate"} 
    148148                        <br /> 
Note: See TracChangeset for help on using the changeset viewer.