From: Antoine Musso Date: Sun, 30 Jan 2005 19:17:22 +0000 (+0000) Subject: some double quotes X-Git-Tag: 1.5.0alpha1~814 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=b2597e226f7056db9b4b22e6ba06a10182c27e2b;p=lhc%2Fweb%2Fwiklou.git some double quotes --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 567954b325..8e4937f9d6 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -625,7 +625,7 @@ function wfCheckLimits( $deflimit = 50, $optionname = 'rclimit' ) { */ function wfEscapeWikiText( $text ) { $text = str_replace( - array( '[', '|', "'", 'ISBN ' , '://' , "\n=", '{{' ), + array( '[', '|', '\'', 'ISBN ' , '://' , "\n=", '{{' ), array( '[', '|', ''', 'ISBN ', '://' , "\n=", '{{' ), htmlspecialchars($text) ); return $text; @@ -833,7 +833,7 @@ function wfHttpError( $code, $label, $desc ) { # Don't send content if it's a HEAD request. if( $_SERVER['REQUEST_METHOD'] == 'HEAD' ) { header( 'Content-type: text/plain' ); - print "$desc\n"; + print $desc."\n"; } } @@ -1042,7 +1042,7 @@ function wfTimestamp($outputtype=TS_UNIX,$ts=0) { case TS_DB: return gmdate( 'Y-m-d H:i:s', $uts ); case TS_RFC2822: - return gmdate( "D, d M Y H:i:s", $uts ) . ' GMT'; + return gmdate( 'D, d M Y H:i:s', $uts ) . ' GMT'; default: wfDebugDieBacktrace( 'wfTimestamp() called with illegal output type.'); }