| @@ 752-761 (lines=10) @@ | ||
| 749 | while (1) { |
|
| 750 | ||
| 751 | // Re-add the sequences |
|
| 752 | if (!empty($seqs)) { |
|
| 753 | foreach ($explode as $key => $value) { |
|
| 754 | if (strpos($value,'YAMLSeq') !== false) { |
|
| 755 | foreach ($seqs as $seqk => $seq) { |
|
| 756 | $explode[$key] = str_replace(('YAMLSeq'.$seqk.'s'),$seq,$value); |
|
| 757 | $value = $explode[$key]; |
|
| 758 | } |
|
| 759 | } |
|
| 760 | } |
|
| 761 | } |
|
| 762 | ||
| 763 | // Re-add the mappings |
|
| 764 | if (!empty($maps)) { |
|
| @@ 764-773 (lines=10) @@ | ||
| 761 | } |
|
| 762 | ||
| 763 | // Re-add the mappings |
|
| 764 | if (!empty($maps)) { |
|
| 765 | foreach ($explode as $key => $value) { |
|
| 766 | if (strpos($value,'YAMLMap') !== false) { |
|
| 767 | foreach ($maps as $mapk => $map) { |
|
| 768 | $explode[$key] = str_replace(('YAMLMap'.$mapk.'s'), $map, $value); |
|
| 769 | $value = $explode[$key]; |
|
| 770 | } |
|
| 771 | } |
|
| 772 | } |
|
| 773 | } |
|
| 774 | ||
| 775 | ||
| 776 | // Re-add the strings |
|