mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
output additional attributes in formField()
This commit is contained in:
parent
2fd21064c7
commit
a133226bbe
|
@ -882,7 +882,11 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
(!empty($value['placeholder']) ? ' placeholder="'.$value['placeholder'].'"' : '').
|
||||
(!empty($value['autocomplete']) ? ' autocomplete="'.$value['autocomplete'].'"' : '').
|
||||
(!empty($value['checked']) ? ' checked' : '').
|
||||
(!empty($value['required']) ? ' required' : '').">";
|
||||
(!empty($value['required']) ? ' required' : '');
|
||||
if(!empty($value['attributes']) && is_array($value['attributes']))
|
||||
foreach($vauel['attributes'] as $a)
|
||||
echo ' '.$a[0].'="'.$a[1].'"';
|
||||
echo ">";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user