public static function g0(Field\PasswordConfirm $q1) { $b2 = []; if ($q1->k3()) { $b2[] = "xtype: 'hiddenfield'"; } else { $b2[] = "xtype: 'textfield'"; } $b2[] = "name: '" . $q1->y4() . "'"; $b2[] = "inputType: 'password'"; $b2[] = "allowBlank: " . ($q1->t5() ? "false" : "true"); $e6 = $q1->e7(); if ($e6) { $b2[] = "fieldLabel: '" . $e6 . "'"; } $g8 = $q1->n9(); if ($g8) { $b2[] = "boxLabel: '" . $g8 . "'"; } $y10 = $q1->j11(); if ($y10) { $b2[] = "width: " . $y10; } $i12 = $q1->n13(); $b2[] = "validator: function(value) {\n var password1 = this.previousSibling('[name=" . $i12 . "]');\n return (value === password1.getValue()) ? true : 'Passwords do not match.'\n }"; return forward_static_call(['self', '_implode'], $b2); }
11

Зрозумив

Ответить
1
Ответить