mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
IconSelectorField (Design time !) can be read-only.
SVN:2.2.0[3872]
This commit is contained in:
@@ -1336,7 +1336,7 @@ EOF
|
||||
}
|
||||
else
|
||||
{
|
||||
$sValue = '<img src="'.$this->MakeFileUrl($this->defaultValue).'" />';
|
||||
$sValue = '<span style="display:inline-block;line-height:48px;height:48px;"><span><img style="vertical-align:middle" src="'.$this->aAllowedValues[$idx]['icon'].'" /> '.htmlentities($this->aAllowedValues[$idx]['label'], ENT_QUOTES, 'UTF-8').'</span></span>';
|
||||
}
|
||||
$sReadOnly = $this->IsReadOnly() ? 'disabled' : '';
|
||||
return array('label' => $this->sLabel, 'value' => $sValue);
|
||||
|
||||
Reference in New Issue
Block a user