Revision: 48557
Author: nad
Date: 2009-03-19 00:23:24 +0000 (Thu, 19 Mar 2009)
Log Message:
-----------
oops remove debugging output
Modified Paths:
--------------
trunk/extensions/RecordAdmin/RecordAdmin_body.php
Modified: trunk/extensions/RecordAdmin/RecordAdmin_body.php
===================================================================
--- trunk/extensions/RecordAdmin/RecordAdmin_body.php 2009-03-19 00:19:05 UTC
(rev 48556)
+++ trunk/extensions/RecordAdmin/RecordAdmin_body.php 2009-03-19 00:23:24 UTC
(rev 48557)
@@ -416,7 +416,7 @@
case 'list':
$html =
preg_replace_callback("|\{\{.+\}\}|s", array($this, 'parsePart'), $html); #
parse any braces
$html = preg_replace( "|(<option[^<>]*)
selected|", "$1", $html ); # remove the currently selected option
- if ( $v ) { print "\"$v\"";
+ if ( $v ) {
$html = preg_match(
"|<option[^>]+value\s*=|s", $html )
? preg_replace(
"|(<option)([^>]+value\s*=\s*[\"']{$v}['\"])|s", "$1 selected$2", $html )
: preg_replace(
"|(<option[^>]*)(?=>$v</option>)|s", "$1 selected", $html );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs