mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +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(
|
$this->formField(
|
||||||
getMLText("user_login"),
|
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(
|
$this->formField(
|
||||||
getMLText("password"),
|
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) {
|
if($enableLanguageSelector) {
|
||||||
$html = "<select id=\"languageselector\" name=\"lang\">";
|
$html = "<select id=\"languageselector\" name=\"lang\">";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user