1: <?php
2:
3: namespace ModHelper;
4:
5: 6: 7: 8: 9: 10:
11: class Verify
12: {
13: private $id;
14:
15: public function __construct($id)
16: {
17: $this->id = $id;
18: }
19:
20: private function initialize($do_test)
21: {
22: global $sourcedir;
23: require_once($sourcedir . '/Subs-Editor.php');
24: $options = array(
25: 'id' => $this->id,
26: );
27:
28: return create_control_verification($options, $do_test);
29: }
30:
31: public function output()
32: {
33: global $txt;
34: echo '
35: <strong>', $txt['verification'], ':</strong>', template_control_verification($this->id, 'quick_reply'), '<br />';
36: }
37: }
38:
39: ?>