mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-18 02:41:01 +00:00
3e3b91b527
Also remove references to "two words" from ReCaptcha labels. The captcha image doesn't always contain two words. Bug: T110302 Change-Id: I544656289480056152a1db195babb6dadf29bc71
32 lines
535 B
PHP
32 lines
535 B
PHP
<?php
|
|
|
|
/**
|
|
* Do not generate any input element, just accept a value. How that value gets submitted is someone
|
|
* else's responsibility.
|
|
*/
|
|
class HTMLSubmittedValueField extends HTMLFormField {
|
|
public function getTableRow( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function getDiv( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function getRaw( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function getInputHTML( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function canDisplayErrors() {
|
|
return false;
|
|
}
|
|
|
|
public function hasVisibleOutput() {
|
|
return false;
|
|
}
|
|
}
|