add extra_vars data type 'color'

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5835 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-11 02:28:02 +00:00
parent 12b3d32430
commit 5fc3ef700e
3 changed files with 11 additions and 2 deletions

View file

@ -301,7 +301,8 @@
$buff .= sprintf('$widgetStyle_info->license_link = "%s";', $xml_obj->license->attrs->link);
// preview
$preview_file = sprintf("%spreview.jpg", $widgetStyle_path);
if(!$xml_obj->preview->body) $xml_obj->preview->body = 'preview.jpg';
$preview_file = sprintf("%s%s", $widgetStyle_path,$xml_obj->preview->body);
if(file_exists($preview_file)) $buff .= sprintf('$widgetStyle_info->preview = "%s";', $preview_file);
// 작성자 정보