Changeset 7730
- Timestamp:
- 01/11/13 08:48:41 (10 years ago)
- Location:
- trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r7712 r7730 2871 2871 //verifica se todos os participantes rejeitaram o evento 2872 2872 for($i = 0; $i < count($sts); ++$i ){ 2873 if( $sts[ i] === "R")2874 unset( $sts[ i] );2873 if( $sts[$i] === "R") 2874 unset( $sts[$i] ); 2875 2875 } 2876 2876 … … 3667 3667 $varbuttom3 = "<form action=".$GLOBALS['phpgw_info']['server']['webserver_url']."/index.php?menuaction=calendar.uialarm.manager method='POST'> 3668 3668 <input type='submit' value='$lang4'> 3669 <input type='hidden' name='cal_id' value= $event[id]>3669 <input type='hidden' name='cal_id' value={$event['id']}> 3670 3670 </form>"; 3671 3671 3672 3672 $lang5 = lang("Suggest new hour"); 3673 $varbuttom4 = "<form action=".$GLOBALS['phpgw_info']['server']['webserver_url']."/index.php?menuaction=calendar.uicalendar.view&cal_id= $event[id]&date=$newall3&type=1' method='POST'>3673 $varbuttom4 = "<form action=".$GLOBALS['phpgw_info']['server']['webserver_url']."/index.php?menuaction=calendar.uicalendar.view&cal_id={$event['id']}&date=$newall3&type=1' method='POST'> 3674 3674 <input type='submit' value='$lang5'> 3675 3675 </form>"; … … 4083 4083 $to_notify = $event['participants']; 4084 4084 } 4085 elseif ($this->check_perms(PHPGW_ACL_READ,$event)) // checks agains $this->owner set to $alarm[ owner]4085 elseif ($this->check_perms(PHPGW_ACL_READ,$event)) // checks agains $this->owner set to $alarm['owner'] 4086 4086 { 4087 4087 $to_notify[$alarm['owner']] = 'A'; … … 4271 4271 $event['owner'] != $this->owner && 4272 4272 $event['participants'][$this->owner] == 'R'; 4273 //echo "<p>rejected_no_show($event[ title])='$ret': user=$this->owner, event-owner=$event[owner], status='".$event['participants'][$this->owner]."', show_rejected='".$this->prefs['calendar']['show_rejected']."'</p>\n";4273 //echo "<p>rejected_no_show($event['title'])='$ret': user=$this->owner, event-owner=$event['owner'], status='".$event['participants'][$this->owner]."', show_rejected='".$this->prefs['calendar']['show_rejected']."'</p>\n"; 4274 4274 return $ret; 4275 4275 } -
trunk/calendar/inc/class.boholiday.inc.php
r7712 r7730 387 387 388 388 $temp_locale = $GLOBALS['phpgw_info']['user']['preferences']['common']['country']; 389 for($i=0;$i<count($holidays);++$i) 389 $holidays_count = count($holidays); 390 for($i=0;$i<$holidays_count;++$i) 390 391 { 391 392 $c = $i; … … 442 443 else 443 444 { 444 $str = $GLOBALS['phpgw']->common->dateformatorder($holiday['occurence']>1900?$holiday['occurence']:'',$month,$holiday[ day]);445 $str = $GLOBALS['phpgw']->common->dateformatorder($holiday['occurence']>1900?$holiday['occurence']:'',$month,$holiday['day']); 445 446 } 446 447 if ($holiday['observance_rule']) -
trunk/calendar/inc/class.uicalendar.inc.php
r7712 r7730 5755 5755 if ($control_data['action'] == lang('Delete selected contacts')) 5756 5756 { 5757 for ($i=0; $i<count($control_data['delete']); ++$i) 5757 $control_data_count = count($control_data['delete']); 5758 for ($i=0; $i<$control_data_count; ++$i) 5758 5759 { 5759 5760 $id = $control_data['delete'][$i]; -
trunk/calendar/templates/classic/header.inc.php
r7655 r7730 105 105 if(isset($GLOBALS['HTTP_POST_VARS']['participants']) && $GLOBALS['HTTP_POST_VARS']['participants']) 106 106 { 107 for ($i=0;$i<count($GLOBALS['HTTP_POST_VARS']['participants']);++$i) 107 $globals_count = count($GLOBALS['HTTP_POST_VARS']['participants']); 108 for ($i=0;$i<$globals_count;++$i) 108 109 { 109 110 $base_hidden_vars .= ' <input type="hidden" name="participants[]" value="'.$GLOBALS['HTTP_POST_VARS']['participants'][$i].'">'."\n"; -
trunk/expressoMail1_2/inc/class.message_components.inc.php
r7712 r7730 107 107 } 108 108 109 for($p = 0, $i = 1; $p < count($parts); ++$n, ++$p, ++$i) 109 $parts_count = count($parts); 110 for($p = 0, $i = 1; $p < $parts_count; ++$n, ++$p, ++$i) 110 111 { 111 112 // Skip the following... -
trunk/library/PEAR/PEAR/Command/Registry.php
r7681 r7730 985 985 $info[$infoindex] .= "$type $name"; 986 986 if (isset($package['uri'])) { 987 $info[$infoindex] .= "\n Download URI: $package[uri]";987 $info[$infoindex] .= "\n Download URI: {$package['uri']}"; 988 988 continue; 989 989 } -
trunk/library/PEAR/PEAR/PackageFile/Generator/v1.php
r7681 r7730 202 202 $ret .= "<!DOCTYPE package SYSTEM \"http://pear.php.net/dtd/package-1.0\">\n"; 203 203 $ret .= "<package version=\"1.0\" packagerversion=\"1.9.4\">\n" . 204 " <name> $pkginfo[package]</name>";204 " <name>{$pkginfo['package']}</name>"; 205 205 if (isset($pkginfo['extends'])) { 206 206 $ret .= "\n<extends>{$pkginfo['extends']}</extends>"; -
trunk/library/PEAR/PEAR/PackageFile/v2.php
r7673 r7730 329 329 $mymaintainers = $this->getMaintainers(); 330 330 $yourmaintainers = $pf1->getMaintainers(); 331 $yourmaintainers_count = count($yourmaintainers); 332 for ($i1 = 0; $i1 < $yourmaintainers_count; ++$i1) { 331 for ($i1 = 0; $i1 < count($yourmaintainers); ++$i1) { 333 332 $reset = false; 334 $mymaintainers_count = count($mymaintainers); 335 for ($i2 = 0; $i2 < $mymaintainers_count; ++$i2) { 333 for ($i2 = 0; $i2 < count($mymaintainers); ++$i2) { 336 334 if ($mymaintainers[$i2]['handle'] == $yourmaintainers[$i1]['handle']) { 337 335 if ($mymaintainers[$i2]['role'] != $yourmaintainers[$i1]['role']) { -
trunk/library/PEAR/PEAR/RunTest.php
r7655 r7730 656 656 $data .= " 657 657 ---- EXPECTED RETURN 658 $section_text[RETURNS] 658 {$section_text['RETURNS']} 659 659 ---- ACTUAL RETURN 660 660 $return_value -
trunk/library/PEAR/scripts/pearcmd.php
r5146 r7730 337 337 } 338 338 $put .= 339 "Usage: $progname [ options] command [command-options] <parameters>\n".339 "Usage: $progname ['options'] command ['command-options'] <parameters>\n". 340 340 "Type \"$progname help options\" to list all options.\n". 341 341 "Type \"$progname help shortcuts\" to list all command shortcuts.\n". … … 385 385 } elseif ($help = PEAR_Command::getHelp($command)) { 386 386 if (is_string($help)) { 387 return "$progname $command [ options] $help\n";387 return "$progname $command ['options'] $help\n"; 388 388 } 389 389 … … 392 392 } 393 393 394 return "$progname $command [ options] $help[0]\n$help[1]";394 return "$progname $command ['options'] $help[0]\n$help[1]"; 395 395 } 396 396 -
trunk/library/csstidy/class.csstidy_optimise.php
r7712 r7730 302 302 $color_tmp = substr($color,4,strlen($color)-5); 303 303 $color_tmp = explode(',',$color_tmp); 304 for ( $i = 0; $i < count($color_tmp); ++$i ) 304 $color_tmp_count = count($color_tmp); 305 for ( $i = 0; $i < $color_tmp_count; ++$i ) 305 306 { 306 307 $color_tmp[$i] = trim ($color_tmp[$i]); -
trunk/phpgwapi/inc/class.contacts_ldap.inc.php
r7712 r7730 328 328 { 329 329 $i=0; 330 for($i=0;$i<count($filterarray);++$i) 330 $filterarray_count = count($filterarray); 331 for($i=0;$i<$filterarray_count;++$i) 331 332 { 332 333 list($name,$value) = preg_split('/=/',$filterarray[$i]); -
trunk/phpgwapi/inc/class.http.inc.php
r7673 r7730 291 291 $headers['Content-length'] = $body_length; 292 292 } 293 for($host_set=0,Reset($headers),$header=0;$header<count($headers);Next($headers),$header++) 293 $headers_count = count($headers); 294 for($host_set=0,Reset($headers),$header=0;$header<$headers_count;Next($headers),$header++) 294 295 { 295 296 $header_name = Key($headers); … … 338 339 ($match == 0 || $domain_pattern[0] == '.' || $this->request_host[$match-1] == '.')) 339 340 { 340 $cookies_count = count($this->cookies[0][$domain_pattern]);341 for(Reset($this->cookies[0][$domain_pattern]),$path_part=0;$path_part<$cookies_count ;Next($this->cookies[0][$domain_pattern]),$path_part++)341 $cookies_count_domain_pattern = count($this->cookies[0][$domain_pattern]); 342 for(Reset($this->cookies[0][$domain_pattern]),$path_part=0;$path_part<$cookies_count_domain_pattern;Next($this->cookies[0][$domain_pattern]),$path_part++) 342 343 { 343 344 $path = Key($this->cookies[0][$domain_pattern]); 344 345 if(strlen($this->request_uri) >= strlen($path) && substr($this->request_uri,0,strlen($path)) == $path) 345 346 { 346 $cookies_count = count($this->cookies[0][$domain_pattern][$path]);347 for(Reset($this->cookies[0][$domain_pattern][$path]),$cookie = 0;$cookie<$cookies_count ;Next($this->cookies[0][$domain_pattern][$path]),$cookie++)347 $cookies_count_path = count($this->cookies[0][$domain_pattern][$path]); 348 for(Reset($this->cookies[0][$domain_pattern][$path]),$cookie = 0;$cookie<$cookies_count_path;Next($this->cookies[0][$domain_pattern][$path]),$cookie++) 348 349 { 349 350 $cookie_name = Key($this->cookies[0][$domain_pattern][$path]); … … 528 529 $now = gmdate('Y-m-d H-i-s'); 529 530 $cookies = array(); 530 for($secure_cookies = 0,Reset($this->cookies);$secure_cookies<count($this->cookies);Next($this->cookies),$secure_cookies++) 531 $cookies_count = count($this->cookies); 532 for($secure_cookies = 0,Reset($this->cookies);$secure_cookies<$cookies_count;Next($this->cookies),$secure_cookies++) 531 533 { 532 534 $secure = Key($this->cookies); 533 $cookies_count = count($this->cookies[$secure]);534 for($domain = 0,Reset($this->cookies[$secure]);$domain<$cookies_count ;Next($this->cookies[$secure]),$domain++)535 $cookies_count_secure = count($this->cookies[$secure]); 536 for($domain = 0,Reset($this->cookies[$secure]);$domain<$cookies_count_secure;Next($this->cookies[$secure]),$domain++) 535 537 { 536 538 $domain_pattern = Key($this->cookies[$secure]); 537 $cookies_count = count($this->cookies[$secure][$domain_pattern]);538 for(Reset($this->cookies[$secure][$domain_pattern]),$path_part=0;$path_part<$cookies_count ;Next($this->cookies[$secure][$domain_pattern]),$path_part++)539 $cookies_count_domain_pattern = count($this->cookies[$secure][$domain_pattern]); 540 for(Reset($this->cookies[$secure][$domain_pattern]),$path_part=0;$path_part<$cookies_count_domain_pattern;Next($this->cookies[$secure][$domain_pattern]),$path_part++) 539 541 { 540 542 $path=Key($this->cookies[$secure][$domain_pattern]); 541 $cookies_count = count($this->cookies[$secure][$domain_pattern][$path]);542 for(Reset($this->cookies[$secure][$domain_pattern][$path]),$cookie=0;$cookie<$cookies_count ;Next($this->cookies[$secure][$domain_pattern][$path]),$cookie++)543 $cookies_count_path = count($this->cookies[$secure][$domain_pattern][$path]); 544 for(Reset($this->cookies[$secure][$domain_pattern][$path]),$cookie=0;$cookie<$cookies_count_path;Next($this->cookies[$secure][$domain_pattern][$path]),$cookie++) 543 545 { 544 546 $cookie_name = Key($this->cookies[$secure][$domain_pattern][$path]); -
trunk/prototype/config/OpenLDAP.srv
r7620 r7730 4 4 idAtribute = "uidNumber" 5 5 host = 127.0.0.1 6 context = "LDAP_DN" 7 ; Caso o LDAP requisite autenticacao, configure os parametros a seguir 8 ;user = 9 ;password = 6 7 context = "dc=prognus" 8 user = "cn=admin,dc=prognus" 9 password = "prognus" 10 -
trunk/prototype/config/PostgreSQL.srv
r7552 r7730 7 7 ;host = 127.0.0.1 8 8 port = 5432 9 dbname = expresso 10 user = postgres9 dbname = expresso24marcieli 10 user = expressodev 11 11 ; Caso o usuario tenha senha... 12 ;password= 12 password=prognus -
trunk/prototype/plugins/icalcreator/iCalcreator.class.php
r7660 r7730 1702 1702 foreach( $rows as $lix => $line ) { 1703 1703 if( 'BEGIN:VCALENDAR' == strtoupper( substr( $line, 0, 15 ))) { 1704 $calsync++;1704 ++$calsync; 1705 1705 continue; 1706 1706 } … … 1725 1725 elseif( 'BEGIN:VFREEBUSY' == strtoupper( substr( $line, 0, 15 ))) { 1726 1726 $comp = new vfreebusy( $config ); 1727 $compsync++;1727 ++$compsync; 1728 1728 } 1729 1729 elseif( 'BEGIN:VJOURNAL' == strtoupper( substr( $line, 0, 14 ))) { 1730 1730 $comp = new vjournal( $config ); 1731 $compsync++;1731 ++$compsync; 1732 1732 } 1733 1733 elseif( 'BEGIN:VTODO' == strtoupper( substr( $line, 0, 11 ))) { 1734 1734 $comp = new vtodo( $config ); 1735 $compsync++;1735 ++$compsync; 1736 1736 } 1737 1737 elseif( 'BEGIN:VTIMEZONE' == strtoupper( substr( $line, 0, 15 ))) { 1738 1738 $comp = new vtimezone( $config ); 1739 $compsync++;1739 ++$compsync; 1740 1740 } 1741 1741 else { /* update component with unparsed data */ … … 1769 1769 else 1770 1770 $propname .= $char; 1771 $cix++;1771 ++$cix; 1772 1772 } 1773 1773 /* skip non standard property names */ … … 1814 1814 else 1815 1815 $attr[$attrix] .= $line[$cix]; 1816 $cix++;1816 ++$cix; 1817 1817 } 1818 1818 /* make attributes in array format */ … … 1831 1831 while( FALSE !== substr( $line, $lix, 1 )) { 1832 1832 if(( 0 < $lix ) && ( ',' == $line[$lix] ) && ( "\\" != $line[( $lix - 1 )])) { 1833 $cix++;1833 ++$cix; 1834 1834 $content[$cix] = ''; 1835 1835 } 1836 1836 else 1837 1837 $content[$cix] .= $line[$lix]; 1838 $lix++;1838 ++$lix; 1839 1839 } 1840 1840 if( 1 < count( $content )) { … … 4372 4372 $length = 6; 4373 4373 $str = null; 4374 for( $p = 0; $p < $length; $p++)4374 for( $p = 0; $p < $length; ++$p ) 4375 4375 $unique .= $base{mt_rand( $start, $end )}; 4376 4376 $this->uid = array( 'params' => null ); … … 4789 4789 } 4790 4790 $content2 .= $content21.$content22; 4791 $bydaycnt++;4791 ++$bydaycnt; 4792 4792 } 4793 4793 else { … … 4797 4797 else { 4798 4798 $content22 .= $valuePart; 4799 $bydaycnt++;4799 ++$bydaycnt; 4800 4800 } 4801 4801 $content2 .= $content21.$content22; … … 5366 5366 $ak = ( is_array( $this->attach )) ? array_keys( $this->attach ) : array(); 5367 5367 while( is_array( $this->attach ) && !isset( $this->attach[$propix] ) && ( 0 < count( $this->attach )) && ( $propix < end( $ak ))) 5368 $propix++;5368 ++$propix; 5369 5369 $this->propix[$propName] = $propix; 5370 5370 if( !isset( $this->attach[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5374 5374 $ak = ( is_array( $this->attendee )) ? array_keys( $this->attendee ) : array(); 5375 5375 while( is_array( $this->attendee ) && !isset( $this->attendee[$propix] ) && ( 0 < count( $this->attendee )) && ( $propix < end( $ak ))) 5376 $propix++;5376 ++$propix; 5377 5377 $this->propix[$propName] = $propix; 5378 5378 if( !isset( $this->attendee[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5382 5382 $ak = ( is_array( $this->categories )) ? array_keys( $this->categories ) : array(); 5383 5383 while( is_array( $this->categories ) && !isset( $this->categories[$propix] ) && ( 0 < count( $this->categories )) && ( $propix < end( $ak ))) 5384 $propix++;5384 ++$propix; 5385 5385 $this->propix[$propName] = $propix; 5386 5386 if( !isset( $this->categories[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5393 5393 $ak = ( is_array( $this->comment )) ? array_keys( $this->comment ) : array(); 5394 5394 while( is_array( $this->comment ) && !isset( $this->comment[$propix] ) && ( 0 < count( $this->comment )) && ( $propix < end( $ak ))) 5395 $propix++;5395 ++$propix; 5396 5396 $this->propix[$propName] = $propix; 5397 5397 if( !isset( $this->comment[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5404 5404 $ak = ( is_array( $this->contact )) ? array_keys( $this->contact ) : array(); 5405 5405 while( is_array( $this->contact ) && !isset( $this->contact[$propix] ) && ( 0 < count( $this->contact )) && ( $propix < end( $ak ))) 5406 $propix++;5406 ++$propix; 5407 5407 $this->propix[$propName] = $propix; 5408 5408 if( !isset( $this->contact[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5415 5415 $ak = ( is_array( $this->description )) ? array_keys( $this->description ) : array(); 5416 5416 while( is_array( $this->description ) && !isset( $this->description[$propix] ) && ( 0 < count( $this->description )) && ( $propix < end( $ak ))) 5417 $propix++;5417 ++$propix; 5418 5418 $this->propix[$propName] = $propix; 5419 5419 if( !isset( $this->description[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5444 5444 $ak = ( is_array( $this->exdate )) ? array_keys( $this->exdate ) : array(); 5445 5445 while( is_array( $this->exdate ) && !isset( $this->exdate[$propix] ) && ( 0 < count( $this->exdate )) && ( $propix < end( $ak ))) 5446 $propix++;5446 ++$propix; 5447 5447 $this->propix[$propName] = $propix; 5448 5448 if( !isset( $this->exdate[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5452 5452 $ak = ( is_array( $this->exrule )) ? array_keys( $this->exrule ) : array(); 5453 5453 while( is_array( $this->exrule ) && !isset( $this->exrule[$propix] ) && ( 0 < count( $this->exrule )) && ( $propix < end( $ak ))) 5454 $propix++;5454 ++$propix; 5455 5455 $this->propix[$propName] = $propix; 5456 5456 if( !isset( $this->exrule[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5460 5460 $ak = ( is_array( $this->freebusy )) ? array_keys( $this->freebusy ) : array(); 5461 5461 while( is_array( $this->freebusy ) && !isset( $this->freebusy[$propix] ) && ( 0 < count( $this->freebusy )) && ( $propix < end( $ak ))) 5462 $propix++;5462 ++$propix; 5463 5463 $this->propix[$propName] = $propix; 5464 5464 if( !isset( $this->freebusy[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5486 5486 $ak = ( is_array( $this->rdate )) ? array_keys( $this->rdate ) : array(); 5487 5487 while( is_array( $this->rdate ) && !isset( $this->rdate[$propix] ) && ( 0 < count( $this->rdate )) && ( $propix < end( $ak ))) 5488 $propix++;5488 ++$propix; 5489 5489 $this->propix[$propName] = $propix; 5490 5490 if( !isset( $this->rdate[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5497 5497 $ak = ( is_array( $this->relatedto )) ? array_keys( $this->relatedto ) : array(); 5498 5498 while( is_array( $this->relatedto ) && !isset( $this->relatedto[$propix] ) && ( 0 < count( $this->relatedto )) && ( $propix < end( $ak ))) 5499 $propix++;5499 ++$propix; 5500 5500 $this->propix[$propName] = $propix; 5501 5501 if( !isset( $this->relatedto[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5508 5508 $ak = ( is_array( $this->requeststatus )) ? array_keys( $this->requeststatus ) : array(); 5509 5509 while( is_array( $this->requeststatus ) && !isset( $this->requeststatus[$propix] ) && ( 0 < count( $this->requeststatus )) && ( $propix < end( $ak ))) 5510 $propix++;5510 ++$propix; 5511 5511 $this->propix[$propName] = $propix; 5512 5512 if( !isset( $this->requeststatus[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5516 5516 $ak = ( is_array( $this->resources )) ? array_keys( $this->resources ) : array(); 5517 5517 while( is_array( $this->resources ) && !isset( $this->resources[$propix] ) && ( 0 < count( $this->resources )) && ( $propix < end( $ak ))) 5518 $propix++;5518 ++$propix; 5519 5519 $this->propix[$propName] = $propix; 5520 5520 if( !isset( $this->resources[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5524 5524 $ak = ( is_array( $this->rrule )) ? array_keys( $this->rrule ) : array(); 5525 5525 while( is_array( $this->rrule ) && !isset( $this->rrule[$propix] ) && ( 0 < count( $this->rrule )) && ( $propix < end( $ak ))) 5526 $propix++;5526 ++$propix; 5527 5527 $this->propix[$propName] = $propix; 5528 5528 if( !isset( $this->rrule[$propix] )) { unset( $this->propix[$propName] ); return FALSE; } … … 5676 5676 return FALSE; 5677 5677 $arglist[0] = strtoupper( $arglist[0] ); 5678 for( $argix=$numargs; $argix < 12; $argix++) {5678 for( $argix=$numargs; $argix < 12; ++$argix ) { 5679 5679 if( !isset( $arglist[$argix] )) 5680 5680 $arglist[$argix] = null; … … 5830 5830 elseif( 'BEGIN:VALARM' == strtoupper( substr( $line, 0, 12 ))) { 5831 5831 $comp = new valarm( $config); 5832 $subsync++;5832 ++$subsync; 5833 5833 } 5834 5834 elseif( 'BEGIN:STANDARD' == strtoupper( substr( $line, 0, 14 ))) { 5835 5835 $comp = new vtimezone( 'standard', $config ); 5836 $subsync++;5836 ++$subsync; 5837 5837 } 5838 5838 elseif( 'BEGIN:DAYLIGHT' == strtoupper( substr( $line, 0, 14 ))) { 5839 5839 $comp = new vtimezone( 'daylight', $config ); 5840 $subsync++;5840 ++$subsync; 5841 5841 } 5842 5842 elseif( 'BEGIN:' == strtoupper( substr( $line, 0, 6 ))) // begin:<component> 5843 $compsync++;5843 ++$compsync; 5844 5844 else 5845 5845 $comp->unparsed[] = $line; … … 5918 5918 break; 5919 5919 } 5920 $cix++;5920 ++$cix; 5921 5921 } 5922 5922 if( '"' == $line[$cix] ) … … 5926 5926 else 5927 5927 $attr[$attrix] .= $line[$cix]; 5928 $cix++;5928 ++$cix; 5929 5929 } 5930 5930 /* make attributes in array format */ … … 5959 5959 while( FALSE !== substr( $line, $lix, 1 )) { 5960 5960 if(( ',' == $line[$lix] ) && ( "\\" != $line[( $lix - 1 )])) { 5961 $cix++;5961 ++$cix; 5962 5962 $content[$cix] = ''; 5963 5963 } 5964 5964 else 5965 5965 $content[$cix] .= $line[$lix]; 5966 $lix++;5966 ++$lix; 5967 5967 } 5968 5968 if( 1 < count( $content )) { … … 6159 6159 return TRUE; 6160 6160 } 6161 $cix2dC++;6161 ++$cix2dC; 6162 6162 } 6163 6163 elseif( !$argType && ($arg1 == $component->getProperty( 'uid' ))) { … … 6210 6210 if( $index == $cix2gC ) 6211 6211 return $component->copy(); 6212 $cix2gC++;6212 ++$cix2gC; 6213 6213 } 6214 6214 elseif( !$argType && ( $arg1 == $component->getProperty( 'uid' ))) … … 6303 6303 return TRUE; 6304 6304 } 6305 $cix2sC++;6305 ++$cix2sC; 6306 6306 } 6307 6307 elseif( !$argType && ( $arg1 == $component2->getProperty( 'uid' ))) { // UID insert/replace … … 9144 9144 } 9145 9145 $name[$k] .= $char; 9146 $x++;9146 ++$x; 9147 9147 } 9148 9148 } -
trunk/reports/inc/class.uireports_logon.inc.php
r7681 r7730 394 394 function report_logon_group_setor_print() 395 395 { 396 $vnumacesso = trim($_POST[ nacesso]);396 $vnumacesso = trim($_POST['nacesso']); 397 397 $numacesso = abs(round($vnumacesso)); 398 398 -
trunk/workflow/inc/class.so_userinterface.inc.php
r7712 r7730 401 401 $cachedLDAP->setOperationMode($cachedLDAP->OPERATION_MODE_NORMAL); 402 402 403 for ($i = 0; $i < ount($employees); ++$i)403 for ($i = 0; $i < count($employees); ++$i) 404 404 { 405 405 /* remove numeric fields */ -
trunk/workflow/inc/phplot/phplot.php
r7655 r7730 3906 3906 // Draw the bars 3907 3907 $oldv = 0; 3908 for ($idx = 0; $record < $this->num_recs[$row]; $record++, ++$idx) {3908 for ($idx = 0; $record < $this->num_recs[$row]; ++$record, ++$idx) { 3909 3909 if (is_numeric($this->data[$row][$record])) { // Allow for missing Y data 3910 3910
Note: See TracChangeset
for help on using the changeset viewer.