changeset 389 | da3bb3e99323 |
parent 387 | 92664d2efab8 |
child 390 | 9bcc185dc151 |
388:9829ca63b53a | 389:da3bb3e99323 |
---|---|
552 foreach ( $subs as $key => $value ) |
552 foreach ( $subs as $key => $value ) |
553 { |
553 { |
554 $subs[$key] = strval($value); |
554 $subs[$key] = strval($value); |
555 $string = str_replace("%{$key}%", "{$subs[$key]}", $string); |
555 $string = str_replace("%{$key}%", "{$subs[$key]}", $string); |
556 } |
556 } |
557 return $string . '*'; |
557 return $string; |
558 } |
558 } |
559 |
559 |
560 } // class Language |
560 } // class Language |
561 |
561 |
562 ?> |
562 ?> |