mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
Generate_lang_file : Added support of LSformElement_valueWithUnit's units configuration
This commit is contained in:
parent
a3fdebd362
commit
88221346a5
1 changed files with 7 additions and 0 deletions
|
@ -105,6 +105,13 @@ if (loadDir('../'.LS_OBJECTS_DIR)) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// LSattr_html_valueWithUnit
|
||||
if ($attr['html_type']=='valueWithUnit' && is_array($attr['html_options']['units'])) {
|
||||
foreach($attr['html_options']['units'] as $pname) {
|
||||
add($pname);
|
||||
}
|
||||
}
|
||||
|
||||
// Check data
|
||||
if (is_array($attr['check_data'])) {
|
||||
|
|
Loading…
Reference in a new issue