mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1044 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7142f18d07
commit
e543d58f81
18 changed files with 38 additions and 44 deletions
|
|
@ -41,13 +41,13 @@
|
|||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
$src = $xml_obj->attrs->src;
|
||||
$src = $xml_obj->attrs->multimedia_src;
|
||||
|
||||
$width = $xml_obj->attrs->width;
|
||||
if(!$width) $width = 640;
|
||||
|
||||
$height = $xml_obj->attrs->height;
|
||||
if(!$height) $height = 480;
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$style,$matches);
|
||||
$width = $matches[3][0];
|
||||
$height = $matches[3][1];
|
||||
if(!$width) $width = 400;
|
||||
if(!$height) $height = 400;
|
||||
|
||||
$auto_start = $xml_obj->attrs->auto_start;
|
||||
if($auto_start!="true") $auto_start = "false";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue