[Comoblog-commit] comoblog/modules/mod_markup/include mod_markup.inc.php,1.4,1.5
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 08:30:37
|
Update of /cvsroot/comoblog/comoblog/modules/mod_markup/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25379 Modified Files: mod_markup.inc.php Log Message: Fix graphic resizing bug in mod_markup Index: mod_markup.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_markup/include/mod_markup.inc.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mod_markup.inc.php 9 Oct 2005 07:00:33 -0000 1.4 +++ mod_markup.inc.php 9 Oct 2005 08:30:29 -0000 1.5 @@ -12,9 +12,7 @@ $start = $pos; $end = strpos( $body, "]]", $start + 1); $url = substr($body, $start+8, $end-$start-8); - $html = "<table width='".CFG_IMG_MAX_W."' height='".CFG_IMG_MAX_H."'><tr><td height='100%' width='100%'>"; - $html .= "<img height='100%' width='100%' src='".$url."'>"; - $html .= "</td></tr></table>"; + $html .= "<img src='".$url."'>"; $body = substr($body, 0, $start).$html.substr($body, $end+2); $pos = strpos( $body, "[[Image:"); } |