mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
LSformElement::supannRoleEntite : Fixed display problems
This commit is contained in:
parent
fb82854f8c
commit
fb7172d3bd
3 changed files with 8 additions and 2 deletions
|
@ -51,7 +51,7 @@ class LSformElement_supannRoleEntite extends LSformElement {
|
||||||
foreach($this -> values as $val) {
|
foreach($this -> values as $val) {
|
||||||
$keyValue=supannParseCompositeValue($val);
|
$keyValue=supannParseCompositeValue($val);
|
||||||
if ($keyValue) {
|
if ($keyValue) {
|
||||||
$parseValue=array();
|
$parseValue=array('value' => $val);
|
||||||
foreach($keyValue as $key => $value) {
|
foreach($keyValue as $key => $value) {
|
||||||
$parseValue[$key]=array(
|
$parseValue[$key]=array(
|
||||||
'value' => $value
|
'value' => $value
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<li>{include file=$fieldTemplate}</li>
|
<li>{include file=$fieldTemplate}</li>
|
||||||
{foreachelse}
|
{foreachelse}
|
||||||
{assign var=value value=""}
|
{assign var=value value=""}
|
||||||
|
{assign var=parseValue value=""}
|
||||||
<li>{include file=$fieldTemplate}</li>
|
<li>{include file=$fieldTemplate}</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{else}
|
{else}
|
||||||
|
@ -17,6 +18,7 @@
|
||||||
<li>{include file=$fieldTemplate}</li>
|
<li>{include file=$fieldTemplate}</li>
|
||||||
{foreachelse}
|
{foreachelse}
|
||||||
{assign var=value value=""}
|
{assign var=value value=""}
|
||||||
|
{assign var=parseValue value=""}
|
||||||
<li>{include file=$fieldTemplate}</li>
|
<li>{include file=$fieldTemplate}</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
{else}
|
{else}
|
||||||
{$noValueTxt}
|
{$noValueTxt}
|
||||||
{/if}
|
{/if}
|
||||||
|
{else}
|
||||||
|
{if $parseValue}
|
||||||
|
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$parseValue.value}" autocomplete="off"/>
|
||||||
{else}
|
{else}
|
||||||
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$value}" autocomplete="off"/>
|
<input type='text' name='{$attr_name}[]' class='LSformElement_text' value="{$value}" autocomplete="off"/>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue