mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
#18729102 : support editor document style in easy installation
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7487 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d0c7dfcfaf
commit
c6440cb9aa
3 changed files with 7 additions and 3 deletions
|
|
@ -76,8 +76,10 @@
|
|||
case "component":
|
||||
$config_file = "/info.xml";
|
||||
break;
|
||||
case "skin":
|
||||
case "widgetstyle":
|
||||
case "style":
|
||||
$type = "skin";
|
||||
case "skin":
|
||||
case "widgetstyle":
|
||||
$config_file = "/skin.xml";
|
||||
break;
|
||||
case "drcomponent":
|
||||
|
|
|
|||
|
|
@ -304,6 +304,7 @@
|
|||
$xmlDoc = $xml->loadXmlFile(FileHandler::getRealPath($path).$config_file);
|
||||
if(!$xmlDoc) $this->stop("msg_invalid_request");
|
||||
if($type == "drcomponent") $type = "component";
|
||||
if($type == "style") $type = "skin";
|
||||
$title = $xmlDoc->{$type}->title->body;
|
||||
$installedPackage->title = $title;
|
||||
$installedPackage->type = $type;
|
||||
|
|
|
|||
|
|
@ -158,7 +158,8 @@
|
|||
$config_file = "/info.xml";
|
||||
break;
|
||||
case "skin":
|
||||
case "widgetstyle":
|
||||
case "widgetstyle":
|
||||
case "style":
|
||||
$config_file = "/skin.xml";
|
||||
break;
|
||||
case "drcomponent":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue