Changeset 6057 for trunk/listAdmin
- Timestamp:
- 04/27/12 09:17:30 (12 years ago)
- Location:
- trunk/listAdmin/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/listAdmin/inc/class.functions.inc.php
r3514 r6057 398 398 399 399 $first_sector_ufn = ldap_dn2ufn($context); 400 $first_sector_string = split(",", $first_sector_ufn);400 $first_sector_string = preg_split('/,/', $first_sector_ufn); 401 401 402 402 $s = CreateObject('phpgwapi.sector_search_ldap'); … … 503 503 // Cria a primeira entrada na combo 504 504 $first_sector_ufn = ldap_dn2ufn($context); 505 $first_sector_string = split(",", $first_sector_ufn);505 $first_sector_string = preg_split('/,/', $first_sector_ufn); 506 506 $options = "<option value='$context'>" . strtoupper($first_sector_string[0]) . "</option>" . $options; 507 507 -
trunk/listAdmin/inc/sieve-php.lib.php
r5912 r6057 121 121 122 122 $this->line=fgets($this->fp,1024); 123 $this->token = split(" ", $this->line, 2);123 $this->token = preg_split('/ /', $this->line, 2); 124 124 125 125 if($this->token[0] == "NO"){ … … 127 127 NO ("yyyyy") "zzzzzzz" or, two, NO {yyyyy} "zzzzzzzzzzz" */ 128 128 $this->x = 0; 129 list($this->ltoken, $this->mtoken, $this->rtoken) = split(" ", $this->line." ", 3);129 list($this->ltoken, $this->mtoken, $this->rtoken) = preg_split('/ /', $this->line." ", 3); 130 130 if($this->mtoken[0] == "{"){ 131 131 while($this->mtoken[$this->x] != "}" or $this->err_len < 1){ … … 389 389 $this->cap_type="auth"; 390 390 391 $this->modules = split(" ", $this->item[1]);391 $this->modules = preg_split('/ /', $this->item[1]); 392 392 if(is_array($this->modules)){ 393 393 foreach($this->modules as $this->module) … … 422 422 423 423 //then split again at the ", " stuff. 424 $this->modules = split($this->modules, ", ");424 $this->modules = preg_split("/$this->modules/", ", "); 425 425 426 426 //fill up our $this->modules property … … 784 784 $this->cap_type="auth"; 785 785 786 $this->modules = split(" ", $this->item[1]);786 $this->modules = preg_split('/ /', $this->item[1]); 787 787 if(is_array($this->modules)){ 788 788 foreach($this->modules as $this->module) … … 814 814 815 815 //then split again at the ", " stuff. 816 $this->modules = split($this->modules, ", ");816 $this->modules = preg_split("/$this->modules/", ", "); 817 817 818 818 //fill up our $this->modules property
Note: See TracChangeset
for help on using the changeset viewer.