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;', var_export($layout_type, true)); |
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/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 |
|
{ |
|
@@ 308-309 (lines=2) @@
|
305 |
|
if(file_exists($preview_file)) $buff[] = sprintf('$widgetStyle_info->preview = %s;', var_export($preview_file, true)); |
306 |
|
|
307 |
|
// Author information |
308 |
|
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
309 |
|
else $author_list = $xml_obj->author; |
310 |
|
|
311 |
|
foreach($author_list as $idx => $author) |
312 |
|
{ |
modules/module/module.model.php 2 locations
|
@@ 772-773 (lines=2) @@
|
769 |
|
$module_info->license = $xml_obj->license->body; |
770 |
|
$module_info->license_link = $xml_obj->license->attrs->link; |
771 |
|
|
772 |
|
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
773 |
|
else $author_list = $xml_obj->author; |
774 |
|
|
775 |
|
foreach($author_list as $author) |
776 |
|
{ |
|
@@ 1160-1161 (lines=2) @@
|
1157 |
|
$skin_info->license_link = $xml_obj->license->attrs->link; |
1158 |
|
$skin_info->description = $xml_obj->description->body; |
1159 |
|
|
1160 |
|
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author; |
1161 |
|
else $author_list = $xml_obj->author; |
1162 |
|
|
1163 |
|
foreach($author_list as $author) |
1164 |
|
{ |