Changeset 324
- Timestamp:
- Feb 15, 2010, 12:38:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/create_addon.php
r323 r324 24 24 $Man = substr($Man, 0, strpos($Man, ':')); 25 25 $Woman = substr($Woman, 0, strpos($Woman, ';')); 26 str_replace(' ', '', $Man);27 str_replace(' ', '', $Woman);26 $Man = str_replace(' ', '', $Man); 27 $Woman = str_replace(' ', '', $Woman); 28 28 $string = $Before.'"..gsub(gsub(UnitSex("player"), "^2$", "'. 29 29 $Man.'"), "^3$", "'.$Woman.'").."'.$After; … … 38 38 $Man = substr($Man, 0, strpos($Man, ':')); 39 39 $Woman = substr($Woman, 0, strpos($Woman, ';')); 40 str_replace(' ', '', $Man);41 str_replace(' ', '', $Woman);40 $Man = str_replace(' ', '', $Man); 41 $Woman = str_replace(' ', '', $Woman); 42 42 $string = $Before.'"..gsub(gsub(UnitSex("player"), "^2$", "'.$Man.'"), "^3$", "'.$Woman.'").."'.$After; 43 43 } … … 58 58 $string = str_replace('$b $b', ' ', $string); 59 59 $string = str_replace('$b', ' ', $string); 60 $string = $this->ReplaceVarInText($string); 60 61 while(strpos($string, ' ')) 61 62 $string = str_replace(' ', ' ', $string); 62 $string = $this->ReplaceVarInText($string);63 63 return($string); 64 64 }
Note:
See TracChangeset
for help on using the changeset viewer.