21493 Posts in 5784 Topics by 2622 members
| Go to End | ||
| Author | Topic: | 571 Views |
-
Re: i18n 99% there

22 March 2012 at 8:32am
Ok i'll help you out a little bit more:
function SigninForm(){
$form = new Form(
$this,
"SigninForm",
new FieldSet(
$email = new TextField("Email", _t('CustomLoginForm.ENTEREMAIL')),
$password = new PasswordField("password", _t('CustomLoginForm.ENTERPASSWORD', 'Enter Password'))
),
new FieldSet(
$dosignin = new FormAction("doLogin", _t("CustomLoginForm.SIGNINBUTTON", "Sign In"))
),
new RequiredFields(
array(
'password'
)
)
);
return $form;
}
| 571 Views | ||
| Go to Top |


