From: <var...@us...> - 2011-09-26 14:15:28
|
Revision: 8125 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8125&view=rev Author: vargenau Date: 2011-09-26 14:15:18 +0000 (Mon, 26 Sep 2011) Log Message: ----------- More explicit error message Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2011-09-26 14:10:17 UTC (rev 8124) +++ trunk/lib/stdlib.php 2011-09-26 14:15:18 UTC (rev 8125) @@ -386,7 +386,7 @@ function LinkURL($url, $linktext = '') { // FIXME: Is this needed (or sufficient?) if(! IsSafeURL($url)) { - $link = HTML::span(array('class' => 'error'), _("BAD URL -- remove all of <, >, \"")); + $link = HTML::span(array('class' => 'error'), _('Bad URL -- remove all of <, >, "')); return $link; } else { @@ -420,7 +420,7 @@ if (empty($alt)) $alt = ""; if (! IsSafeURL($url)) { - $link = HTML::span(array('class' => 'error'), _("BAD URL -- remove all of <, >, \"")); + $link = HTML::span(array('class' => 'error'), _('Bad URL for image -- remove all of <, >, "')); return $link; } // spaces in inline images must be %20 encoded! This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |