issue 1348 fixed. Make enough widget's width/height.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10273 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-02-29 13:56:58 +00:00
parent 13402bfc76
commit 4a81dd4c09
17 changed files with 513 additions and 663 deletions

View file

@ -65,7 +65,7 @@ class pageMobile extends pageView {
preg_match_all('!(<img)([^\>]*)(widget=)([^\>]*?)(\>)!is', $this->module_info->content, $matches);
$page_content = '';
for($i=0,$c=count($matches[0]);$i<$c;$i++) {
$page_content .= preg_replace('/ style\=\"([^\"]+)\" /i',' style="overflow:hidden;clear:both;margin:0 0 20px 0; _margin-right:10px;" ',$matches[0][$i])."\n\n";
$page_content .= preg_replace('/ style\=\"([^\"]+)\" /i',$matches[0][$i])."\n\n";
}
}
return $page_content;