modules/addon/addon.admin.model.php 1 location
|
@@ 216-224 (lines=9) @@
|
| 213 |
|
$addon_info->license = $xml_obj->license->body; |
| 214 |
|
$addon_info->license_link = $xml_obj->license->attrs->link; |
| 215 |
|
|
| 216 |
|
if(!is_array($xml_obj->author)) |
| 217 |
|
{ |
| 218 |
|
$author_list = array(); |
| 219 |
|
$author_list[] = $xml_obj->author; |
| 220 |
|
} |
| 221 |
|
else |
| 222 |
|
{ |
| 223 |
|
$author_list = $xml_obj->author; |
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
$addon_info->author = array(); |
| 227 |
|
foreach($author_list as $author) |
modules/layout/layout.model.php 1 location
|
@@ 543-544 (lines=2) @@
|
| 540 |
|
$buff[] = sprintf('$layout_info->layout_type = "%s";', $layout_type); |
| 541 |
|
|
| 542 |
|
// Author information |
| 543 |
|
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
| 544 |
|
else $author_list = $xml_obj->author; |
| 545 |
|
|
| 546 |
|
$buff[] = '$layout_info->author = array();'; |
| 547 |
|
for($i=0, $c=count($author_list); $i<$c; $i++) |
modules/module/module.model.php 2 locations
|
@@ 773-774 (lines=2) @@
|
| 770 |
|
$module_info->license = $xml_obj->license->body; |
| 771 |
|
$module_info->license_link = $xml_obj->license->attrs->link; |
| 772 |
|
|
| 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 |
|
{ |
|
@@ 1155-1156 (lines=2) @@
|
| 1152 |
|
$skin_info->license_link = $xml_obj->license->attrs->link; |
| 1153 |
|
$skin_info->description = $xml_obj->description->body; |
| 1154 |
|
|
| 1155 |
|
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
| 1156 |
|
else $author_list = $xml_obj->author; |
| 1157 |
|
|
| 1158 |
|
foreach($author_list as $author) |
| 1159 |
|
{ |
modules/widget/widget.model.php 2 locations
|
@@ 164-165 (lines=2) @@
|
| 161 |
|
$buff .= sprintf('$widget_info->widget_srl = $widget_srl;'); |
| 162 |
|
$buff .= sprintf('$widget_info->widget_title = $widget_title;'); |
| 163 |
|
// Author information |
| 164 |
|
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
| 165 |
|
else $author_list = $xml_obj->author; |
| 166 |
|
|
| 167 |
|
for($i=0; $i < count($author_list); $i++) |
| 168 |
|
{ |
|
@@ 307-308 (lines=2) @@
|
| 304 |
|
if(file_exists($preview_file)) $buff[] = sprintf('$widgetStyle_info->preview = "%s";', $preview_file); |
| 305 |
|
|
| 306 |
|
// Author information |
| 307 |
|
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
| 308 |
|
else $author_list = $xml_obj->author; |
| 309 |
|
|
| 310 |
|
foreach($author_list as $idx => $author) |
| 311 |
|
{ |