|
@@ 666-672 (lines=7) @@
|
| 663 |
|
"multipart/related", "multipart/related", $this->references["related"], "related", "mixed", "_related"); |
| 664 |
|
} |
| 665 |
|
break; |
| 666 |
|
case (!empty($this->references["mixed"]) && !empty($this->references["alternative"])): |
| 667 |
|
if (!isset($this->references["mixed"]["_alternative"])) |
| 668 |
|
{ |
| 669 |
|
$this->moveBranchIn( |
| 670 |
|
"multipart/alternative", null, $this->references["alternative"], "alternative", "mixed", "_alternative"); |
| 671 |
|
} |
| 672 |
|
break; |
| 673 |
|
case (!empty($this->references["related"]) && !empty($this->references["alternative"])): |
| 674 |
|
if (!isset($this->references["related"]["_alternative"])) |
| 675 |
|
{ |
|
@@ 754-759 (lines=6) @@
|
| 751 |
|
$this->detach("_alternative"); |
| 752 |
|
} |
| 753 |
|
break; |
| 754 |
|
case (!empty($this->references["mixed"]) && !empty($this->references["alternative"])): |
| 755 |
|
if (array_keys($this->references["mixed"]) == array("_alternative")) |
| 756 |
|
{ |
| 757 |
|
$this->moveBranchOut($this->references["alternative"], "alternative", "mixed", "_alternative"); |
| 758 |
|
} |
| 759 |
|
break; |
| 760 |
|
case (!empty($this->references["related"]) && !empty($this->references["alternative"])): |
| 761 |
|
if (array_keys($this->references["related"]) == array("_alternative")) |
| 762 |
|
{ |
|
@@ 760-765 (lines=6) @@
|
| 757 |
|
$this->moveBranchOut($this->references["alternative"], "alternative", "mixed", "_alternative"); |
| 758 |
|
} |
| 759 |
|
break; |
| 760 |
|
case (!empty($this->references["related"]) && !empty($this->references["alternative"])): |
| 761 |
|
if (array_keys($this->references["related"]) == array("_alternative")) |
| 762 |
|
{ |
| 763 |
|
$this->moveBranchOut($this->references["alternative"], "alternative", "related", "_alternative"); |
| 764 |
|
} |
| 765 |
|
break; |
| 766 |
|
case (!empty($this->references["mixed"])): |
| 767 |
|
if (isset($this->references["mixed"]["_related"])) $this->detach("_related"); |
| 768 |
|
case (!empty($this->references["related"])): |