summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/ConfirmEdit/ReCaptcha/HTMLSubmittedValueField.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/ConfirmEdit/ReCaptcha/HTMLSubmittedValueField.php')
-rw-r--r--www/wiki/extensions/ConfirmEdit/ReCaptcha/HTMLSubmittedValueField.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/wiki/extensions/ConfirmEdit/ReCaptcha/HTMLSubmittedValueField.php b/www/wiki/extensions/ConfirmEdit/ReCaptcha/HTMLSubmittedValueField.php
new file mode 100644
index 00000000..2c8d3cdf
--- /dev/null
+++ b/www/wiki/extensions/ConfirmEdit/ReCaptcha/HTMLSubmittedValueField.php
@@ -0,0 +1,31 @@
+<?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;
+ }
+}