Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/smarty/plugins/function.html_table.php

    r795 r7655  
    128128        $output .= "<thead><tr>\n"; 
    129129 
    130         for ($r=0; $r<$cols_count; $r++) { 
     130        for ($r=0; $r<$cols_count; ++$r) { 
    131131            $output .= '<th' . smarty_function_html_table_cycle('th', $th_attr, $r) . '>'; 
    132132            $output .= $cols[$r]; 
     
    137137 
    138138    $output .= "<tbody>\n"; 
    139     for ($r=0; $r<$rows; $r++) { 
     139    for ($r=0; $r<$rows; ++$r) { 
    140140        $output .= "<tr" . smarty_function_html_table_cycle('tr', $tr_attr, $r) . ">\n"; 
    141141        $rx =  ($vdir == 'down') ? $r*$cols_count : ($rows-1-$r)*$cols_count; 
    142142 
    143         for ($c=0; $c<$cols_count; $c++) { 
     143        for ($c=0; $c<$cols_count; ++$c) { 
    144144            $x =  ($hdir == 'right') ? $rx+$c : $rx+$cols_count-1-$c; 
    145145            if ($inner!='cols') { 
Note: See TracChangeset for help on using the changeset viewer.