From: <var...@us...> - 2011-11-29 11:18:52
|
Revision: 8197 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8197&view=rev Author: vargenau Date: 2011-11-29 11:18:41 +0000 (Tue, 29 Nov 2011) Log Message: ----------- Whitespace only Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2011-11-29 11:13:40 UTC (rev 8196) +++ trunk/lib/stdlib.php 2011-11-29 11:18:41 UTC (rev 8197) @@ -451,10 +451,10 @@ || ($value == "top") || ($value == "left") || ($value == "right"))) { - if ($value == "center") { - $value = "middle"; - } - $link->setAttr($attr, $value); + if ($value == "center") { + $value = "middle"; + } + $link->setAttr($attr, $value); } // These attributes take a number (pixels): border, hspace, vspace elseif ((($attr == "border") || ($attr == "hspace") || ($attr == "vspace")) @@ -476,8 +476,7 @@ $link->setAttr('width',$m[1]); $link->setAttr('height',$m[2]); } - } - else { + } else { $url = substr(strrchr($ori_url, "/"), 1); $link = HTML::span(array('class' => 'error'), sprintf(_("Invalid attribute %s=%s for image %s"), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |