r105371 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105370‎ | r105371 | r105372 >
Date:22:27, 6 December 2011
Author:kaldari
Status:ok
Tags:
Comment:
I dont think this code is actually in use, but just to be safe...
Modified paths:
  • /trunk/extensions/DonationInterface/gateway_forms/Form.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/gateway_forms/Form.php
@@ -455,7 +455,7 @@
456456 $return .= ' <td><label><input type="radio" name="amountRadio" value="250" ' . ( $amount == '250' ? $checked : '' ) . '/> 250</label></td>';
457457 $return .= ' <td>';
458458 $return .= ' <input type="radio" name="amountRadio" id="input_amount_other" value="other" ' . ( $isOther ? $checked : '' ) . ' />';
459 - $return .= ' <label><input type="text" class="txt-sm hint" name="amountGiven" size="4" id="other-amount" title="Other..." onfocus="" value="' . $amountOther . '" /></label>';
 459+ $return .= ' <label><input type="text" class="txt-sm hint" name="amountGiven" size="4" id="other-amount" title="Other..." onfocus="" value="' . htmlspecialchars( $amountOther ) . '" /></label>';
460460
461461 // Add hidden amount field for validation
462462 $return .= Html::hidden( 'amount', $amount );

Follow-up revisions

RevisionCommit summaryAuthorDate
r105401MFT r105361, r105371, r105392khorn01:11, 7 December 2011

Status & tagging log