| @@ 8031-8041 (lines=11) @@ | ||
| 8028 | $thumbnails = array_values(array_unique($thumbnails)); |
|
| 8029 | } |
|
| 8030 | } |
|
| 8031 | elseif (isset($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['thumbnail'])) |
|
| 8032 | { |
|
| 8033 | foreach ($group['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['thumbnail'] as $thumbnail) |
|
| 8034 | { |
|
| 8035 | $thumbnails[] = $this->sanitize($thumbnail['attribs']['']['url'], SIMPLEPIE_CONSTRUCT_IRI); |
|
| 8036 | } |
|
| 8037 | if (is_array($thumbnails)) |
|
| 8038 | { |
|
| 8039 | $thumbnails = array_values(array_unique($thumbnails)); |
|
| 8040 | } |
|
| 8041 | } |
|
| 8042 | else |
|
| 8043 | { |
|
| 8044 | $thumbnails = $thumbnails_parent; |
|
| @@ 8426-8440 (lines=15) @@ | ||
| 8423 | $restrictions = $restrictions_parent; |
|
| 8424 | } |
|
| 8425 | // THUMBNAILS |
|
| 8426 | if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['thumbnail'])) |
|
| 8427 | { |
|
| 8428 | foreach ($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['thumbnail'] as $thumbnail) |
|
| 8429 | { |
|
| 8430 | $thumbnails[] = $this->sanitize($thumbnail['attribs']['']['url'], SIMPLEPIE_CONSTRUCT_IRI); |
|
| 8431 | } |
|
| 8432 | if (is_array($thumbnails)) |
|
| 8433 | { |
|
| 8434 | $thumbnails = array_values(array_unique($thumbnails)); |
|
| 8435 | } |
|
| 8436 | } |
|
| 8437 | else |
|
| 8438 | { |
|
| 8439 | $thumbnails = $thumbnails_parent; |
|
| 8440 | } |
|
| 8441 | // TITLES |
|
| 8442 | if (isset($content['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['title'])) |
|
| 8443 | { |
|