BUG 8510 Hints are not displayed next to link fields.No hint icon appears SOLVED
- Hints are not displayed next to link fields. No hint icon appears. - Added hints to the link element and grids title.
This commit is contained in:
@@ -2264,6 +2264,7 @@ class XmlForm_Field_Link extends XmlForm_Field {
|
||||
$html .= (($this->onclick) ? ' onclick="' . htmlentities ( $onclick, ENT_QUOTES, 'utf-8' ) . '"' : '') ;
|
||||
$html .= (($this->target) ? ' target="' . htmlentities ( $target, ENT_QUOTES, 'utf-8' ) . '"' : '') . '>';
|
||||
$html .= $this->htmlentities ( $this->value === '' ? $label : $value, ENT_QUOTES, 'utf-8' ) . '</a>';
|
||||
$html .= $this->renderHint();
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<tr>
|
||||
<td> </td>
|
||||
{foreach from=$form->fields item=field}
|
||||
<td class='vFormTitle'>{if (isset($field->required)&&$field->required&&$field->mode==='edit')}<font color="red">* </font>{/if}{$field->label}</td>
|
||||
<td class='vFormTitle'>{if (isset($field->required)&&$field->required&&$field->mode==='edit')}<font color="red">* </font>{/if}{$field->label}{$field->renderHint()}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{literal}
|
||||
|
||||
Reference in New Issue
Block a user