Changeset 6057 for trunk/workflow/inc/phplot
- Timestamp:
- 04/27/12 09:17:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/phplot/phplot.php
r5934 r6057 942 942 // Split the text by its lines, and count them 943 943 $which_text = preg_replace('/\r/', '', $which_text); 944 $str = split("\n", $which_text);944 $str = preg_split('/\n/', $which_text); 945 945 $nlines = count($str); 946 946 $spacing = $this->line_spacing * ($nlines - 1); … … 1480 1480 } 1481 1481 1482 $str = split("\n", $which_title);1482 $str = preg_split('/\n/', $which_title); 1483 1483 $lines = count($str); 1484 1484 $spacing = $this->line_spacing * ($lines - 1); … … 1505 1505 $this->x_title_txt = $which_xtitle; 1506 1506 1507 $str = split("\n", $which_xtitle);1507 $str = preg_split('/\n/', $which_xtitle); 1508 1508 $lines = count($str); 1509 1509 $spacing = $this->line_spacing * ($lines - 1); … … 1532 1532 $this->y_title_txt = $which_ytitle; 1533 1533 1534 $str = split("\n", $which_ytitle);1534 $str = preg_split('/\n/', $which_ytitle); 1535 1535 $lines = count($str); 1536 1536 $spacing = $this->line_spacing * ($lines - 1);
Note: See TracChangeset
for help on using the changeset viewer.