Changeset 7673 for trunk/reports
- Timestamp:
- 12/18/12 16:15:29 (11 years ago)
- Location:
- trunk/reports/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reports/inc/class.fpdf.inc.php
r7655 r7673 1589 1589 { 1590 1590 $trns=''; 1591 for($i=0;$i<count($info['trns']);++$i) 1591 $info_trns_count = count($info['trns']); 1592 for($i=0;$i<$info_trns_count;++$i) 1592 1593 $trns.=$info['trns'][$i].' '.$info['trns'][$i].' '; 1593 1594 $this->_out('/Mask ['.$trns.']'); -
trunk/reports/inc/class.ldap_functions.inc.php
r7655 r7673 136 136 $entry[0]['dn'] = strtolower($entry[0]['dn']); 137 137 $sector_dn_array = explode(",", $entry[0]['dn']); 138 for($i=1; $i<count($sector_dn_array); ++$i) 138 $sector_dn_array_count = count($sector_dn_array); 139 for($i=1; $i<$sector_dn_array_count; ++$i) 139 140 $sector_dn .= $sector_dn_array[$i] . ','; 140 141 //Retira ultimo pipe. … … 268 269 $entry[0]['dn'] = strtolower($entry[0]['dn']); 269 270 $sector_dn_array = explode(",", $entry[0]['dn']); 270 for($i=1; $i<count($sector_dn_array); ++$i) 271 $sector_dn_array_count = count($sector_dn_array); 272 for($i=1; $i<$sector_dn_array_count; ++$i) 271 273 $sector_dn .= $sector_dn_array[$i] . ','; 272 274 //Retira ultimo pipe. … … 366 368 $entry[0]['dn'] = strtolower($entry[0]['dn']); 367 369 $sector_dn_array = explode(",", $entry[0]['dn']); 368 for($i=1; $i<count($sector_dn_array); ++$i) 370 $sector_dn_array_count = count($sector_dn_array); 371 for($i=1; $i<$sector_dn_array_count; ++$i) 369 372 $sector_dn .= $sector_dn_array[$i] . ','; 370 373 //Retira ultimo pipe. -
trunk/reports/inc/class.uireports_fpdf.inc.php
r7655 r7673 38 38 //Calculate the height of the row 39 39 $nb=0; 40 for($i=0;$i< count($data);++$i) 40 $data_count = count($data); 41 for($i=0;$i< $data_count;++$i) 41 42 $nb=max($nb,$this->NbLines($this->widths[$i],$data[$i])); 42 43 $h=5*$nb; … … 44 45 $this->CheckPageBreak($h); 45 46 //Draw the cells of the row 46 for($i=0;$i< count($data);++$i) 47 $data_count = count($data); 48 for($i=0;$i< $data_count;++$i) 47 49 { 48 50 $w=$this->widths[$i];
Note: See TracChangeset
for help on using the changeset viewer.