mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 23:01:41 +09:00
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:
parent
13402bfc76
commit
4a81dd4c09
17 changed files with 513 additions and 663 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue