git-svn-id: http://xe-core.googlecode.com/svn/trunk@1044 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-09 05:42:07 +00:00
parent 7142f18d07
commit e543d58f81
18 changed files with 38 additions and 44 deletions

View file

@ -40,7 +40,12 @@
**/
function transHTML($xml_obj) {
$poll_srl = $xml_obj->attrs->poll_srl;
$style = preg_replace("/height([^;]*)/i", "", $xml_obj->attrs->style);
preg_match('/width([^[:digit:]]+)([0-9]+)/i',$xml_obj->attrs->style,$matches);
$width = $matches[2];
if(!$width) $width = 400;
$style = sprintf('width:%dpx', $width);
debugPrint($style);
// poll model 객체 생성해서 html 얻어와서 return
$oPollModel = &getModel('poll');