Changeset 6037 for trunk/workflow
- Timestamp:
- 04/26/12 11:43:10 (12 years ago)
- Location:
- trunk/workflow/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.bo_adminjobs.inc.php
r3167 r6037 109 109 foreach ($logs as $key => $value) 110 110 { 111 $logs[$key]['date_time'] = ereg_replace("([[:digit:]]{4})-([[:digit:]]{2})-([[:digit:]]{2}) ([[:digit:]]{2}):([[:digit:]]{2}):00", '\3/\2/\1 \4h\5', $value['date_time']);111 $logs[$key]['date_time'] = preg_replace('/([[:digit:]]{4})-([[:digit:]]{2})-([[:digit:]]{2}) ([[:digit:]]{2}):([[:digit:]]{2}):00/', '\3/\2/\1 \4h\5', $value['date_time']); 112 112 $currentDate = $value['date_time']; 113 113 if (isset($writtenDates[substr($logs[$key]['date_time'], 0, 10)])) -
trunk/workflow/inc/class.bo_utils.inc.php
r5928 r6037 66 66 { 67 67 // parâmetro a ser procurado no ldap 68 $cn = trim( ereg_replace(' +', ' ', $params['cn']));68 $cn = trim(preg_replace('/ +/', ' ', $params['cn'])); 69 69 70 70 $output = array(); -
trunk/workflow/inc/class.powergraphic.inc.php
r5921 r6037 1143 1143 $this->color['line_2'] = imagecolorallocate($this->img, 220, 200, 50); 1144 1144 } 1145 else if ( ereg("^(5|6)$", $this->type))1145 else if (preg_match('/^(5|6)$/', $this->type)) 1146 1146 { 1147 1147 $this->color['arc_1'] = imagecolorallocate($this->img, 100, 150, 200);
Note: See TracChangeset
for help on using the changeset viewer.