mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +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
|
@ -106,6 +106,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
|
// Check data
|
||||||
if (is_array($attr['check_data'])) {
|
if (is_array($attr['check_data'])) {
|
||||||
foreach($attr['check_data'] as $check) {
|
foreach($attr['check_data'] as $check) {
|
||||||
|
|
Loading…
Reference in a new issue