mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
pass array of params to formField instead of string
This commit is contained in:
parent
1e40adfd30
commit
7c4538193a
|
@ -123,11 +123,26 @@ $(document).ready( function() {
|
|||
}
|
||||
$this->formField(
|
||||
getMLText("user_login"),
|
||||
'<input type="text" id="login" name="login" placeholder="login" autocomplete="off" required>'
|
||||
array(
|
||||
'element'=>'input',
|
||||
'type'=>'text',
|
||||
'id'=>'login',
|
||||
'name'=>'login',
|
||||
'placeholder'=>'login',
|
||||
'autocomplete'=>'off',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
$this->formField(
|
||||
getMLText("password"),
|
||||
'<input type="Password" id="pwd" name="pwd" autocomplete="off" required>'
|
||||
array(
|
||||
'element'=>'input',
|
||||
'type'=>'password',
|
||||
'id'=>'pwd',
|
||||
'name'=>'pwd',
|
||||
'autocomplete'=>'off',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
if($enableLanguageSelector) {
|
||||
$html = "<select id=\"languageselector\" name=\"lang\">";
|
||||
|
|
Loading…
Reference in New Issue
Block a user