mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 10:49:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@617 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
085eac5258
commit
052f5bd2b3
9 changed files with 38 additions and 23 deletions
|
|
@ -54,6 +54,7 @@
|
|||
$border_thickness = $xml_obj->attrs->border_thickness;
|
||||
$border_color = $xml_obj->attrs->border_color;
|
||||
$bg_color = $xml_obj->attrs->bg_color;
|
||||
$body = $xml_obj->body;
|
||||
|
||||
$output = "";
|
||||
$style = sprintf('margin:%spx;padding:%spx;background-color:#%s;', $margin, $padding, $bg_color);
|
||||
|
|
@ -97,10 +98,9 @@
|
|||
$output .= sprintf('<div id="folder_open_%s" style="margin:%s;display:block;"><a class="%s" href="#" onclick="zbxe_folder_open(\'%s\');return false;">%s</a></div>', $folder_id, $folder_margin, $class, $folder_id, $folder_opener);
|
||||
$output .= sprintf('<div id="folder_close_%s" style="margin:%s;display:none;"><a class="%s" href="#" onclick="zbxe_folder_close(\'%s\');return false;">%s</a></div>', $folder_id, $folder_margin, $class, $folder_id, $folder_closer);
|
||||
|
||||
$output .= sprintf('<div style="%s" id="folder_%s">', $style, $folder_id);
|
||||
debugPrint($output);
|
||||
$output .= sprintf('<div style="%s" id="folder_%s">%s</div>', $style, $folder_id,$body);
|
||||
} else {
|
||||
$output .= sprintf('<div style="%s">', $style);
|
||||
$output .= sprintf('<div style="%s">%s</div>', $style, $body);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue