- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/smarty/plugins/function.html_table.php
r795 r7655 128 128 $output .= "<thead><tr>\n"; 129 129 130 for ($r=0; $r<$cols_count; $r++) {130 for ($r=0; $r<$cols_count; ++$r) { 131 131 $output .= '<th' . smarty_function_html_table_cycle('th', $th_attr, $r) . '>'; 132 132 $output .= $cols[$r]; … … 137 137 138 138 $output .= "<tbody>\n"; 139 for ($r=0; $r<$rows; $r++) {139 for ($r=0; $r<$rows; ++$r) { 140 140 $output .= "<tr" . smarty_function_html_table_cycle('tr', $tr_attr, $r) . ">\n"; 141 141 $rx = ($vdir == 'down') ? $r*$cols_count : ($rows-1-$r)*$cols_count; 142 142 143 for ($c=0; $c<$cols_count; $c++) {143 for ($c=0; $c<$cols_count; ++$c) { 144 144 $x = ($hdir == 'right') ? $rx+$c : $rx+$cols_count-1-$c; 145 145 if ($inner!='cols') {
Note: See TracChangeset
for help on using the changeset viewer.