|
@@ -27,13 +27,13 @@ |
|
|
block discarded – undo |
|
27
|
27
|
|
|
28
|
28
|
class DataType_URL extends DataType_Base { |
|
29
|
29
|
|
|
30
|
|
- public function getFormCode(): string { |
|
31
|
|
- return "<input type=\"url\" name=\"" . $this->getInputName() . "\" value=\"" . $this->getValue() . "\" pattern=\"(https?:\/\/.*|#)\" placeholder=\"https://example.com\" />"; |
|
32
|
|
- } |
|
|
30
|
+ public function getFormCode(): string { |
|
|
31
|
+ return "<input type=\"url\" name=\"" . $this->getInputName() . "\" value=\"" . $this->getValue() . "\" pattern=\"(https?:\/\/.*|#)\" placeholder=\"https://example.com\" />"; |
|
|
32
|
+ } |
|
33
|
33
|
|
|
34
|
|
- public function validate(): bool { |
|
35
|
|
- // TODO: Implement validate() method. |
|
36
|
|
- } |
|
|
34
|
+ public function validate(): bool { |
|
|
35
|
+ // TODO: Implement validate() method. |
|
|
36
|
+ } |
|
37
|
37
|
|
|
38
|
38
|
} |
|
39
|
39
|
|
Please login to merge, or discard this patch.