@@ 227-234 (lines=8) @@ | ||
224 | } |
|
225 | ||
226 | $addon_info->author = array(); |
|
227 | foreach($author_list as $author) |
|
228 | { |
|
229 | $author_obj = new stdClass(); |
|
230 | $author_obj->name = $author->name->body; |
|
231 | $author_obj->email_address = $author->attrs->email_address; |
|
232 | $author_obj->homepage = $author->attrs->link; |
|
233 | $addon_info->author[] = $author_obj; |
|
234 | } |
|
235 | ||
236 | // Expand the variable order |
|
237 | if($xml_obj->extra_vars) |
@@ 585-592 (lines=8) @@ | ||
582 | } |
|
583 | ||
584 | $theme_info->publisher = array(); |
|
585 | foreach($publisher_list as $publisher) |
|
586 | { |
|
587 | $publisher_obj = new stdClass(); |
|
588 | $publisher_obj->name = $publisher->name->body; |
|
589 | $publisher_obj->email_address = $publisher->attrs->email_address; |
|
590 | $publisher_obj->homepage = $publisher->attrs->link; |
|
591 | $theme_info->publisher[] = $publisher_obj; |
|
592 | } |
|
593 | ||
594 | $layout = $xml_obj->layout; |
|
595 | $layout_path = $layout->directory->attrs->path; |
@@ 776-783 (lines=8) @@ | ||
773 | if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
|
774 | else $author_list = $xml_obj->author; |
|
775 | ||
776 | foreach($author_list as $author) |
|
777 | { |
|
778 | $author_obj = new stdClass(); |
|
779 | $author_obj->name = $author->name->body; |
|
780 | $author_obj->email_address = $author->attrs->email_address; |
|
781 | $author_obj->homepage = $author->attrs->link; |
|
782 | $module_info->author[] = $author_obj; |
|
783 | } |
|
784 | } |
|
785 | else |
|
786 | { |
|
@@ 1161-1168 (lines=8) @@ | ||
1158 | if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
|
1159 | else $author_list = $xml_obj->author; |
|
1160 | ||
1161 | foreach($author_list as $author) |
|
1162 | { |
|
1163 | $author_obj = new stdClass(); |
|
1164 | $author_obj->name = $author->name->body; |
|
1165 | $author_obj->email_address = $author->attrs->email_address; |
|
1166 | $author_obj->homepage = $author->attrs->link; |
|
1167 | $skin_info->author[] = $author_obj; |
|
1168 | } |
|
1169 | // List extra vars |
|
1170 | if($xml_obj->extra_vars) |
|
1171 | { |