Code Duplication    Length = 1-1 lines in 5 locations

catalog/admin/includes/classes/table_block.php 3 locations

@@ 35-35 (lines=1) @@
32
      for ($i=0, $n=sizeof($contents); $i<$n; $i++) {
33
        $tableBox_string .= '  <tr';
34
        if (tep_not_null($this->table_row_parameters)) $tableBox_string .= ' ' . $this->table_row_parameters;
35
        if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) $tableBox_string .= ' ' . $contents[$i]['params'];
36
        $tableBox_string .= '>' . "\n";
37
38
        if (isset($contents[$i][0]) && is_array($contents[$i][0])) {
@@ 51-51 (lines=1) @@
48
              $tableBox_string .= '>';
49
              if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= $contents[$i][$x]['form'];
50
              $tableBox_string .= $contents[$i][$x]['text'];
51
              if (isset($contents[$i][$x]['form']) && tep_not_null($contents[$i][$x]['form'])) $tableBox_string .= '</form>';
52
              $tableBox_string .= '</td>' . "\n";
53
            }
54
          }
@@ 57-57 (lines=1) @@
54
          }
55
        } else {
56
          $tableBox_string .= '    <td';
57
          if (isset($contents[$i]['align']) && tep_not_null($contents[$i]['align'])) $tableBox_string .= ' align="' . $contents[$i]['align'] . '"';
58
          if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params'])) {
59
            $tableBox_string .= ' ' . $contents[$i]['params'];
60
          } elseif (tep_not_null($this->table_data_parameters)) {

catalog/includes/classes/alertbox.php 1 location

@@ 16-16 (lines=1) @@
13
      for ($i=0, $n=sizeof($contents); $i<$n; $i++) {
14
        $alertBox_string .= '  <div';
15
16
        if (isset($contents[$i]['params']) && tep_not_null($contents[$i]['params']))
17
		  $alertBox_string .= ' ' . $contents[$i]['params'];
18
19
		  $alertBox_string .= '>' . "\n";

catalog/checkout_shipping.php 1 location

@@ 284-284 (lines=1) @@
281
        <td>
282
          <strong><?php echo $quotes[$i]['module']; ?></strong>
283
          <?php
284
          if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) echo '&nbsp;' . $quotes[$i]['icon'];
285
          ?>
286
287
          <?php