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:
Hector Cortez
2012-10-03 10:06:20 -04:00
parent 4753d4d29e
commit 86c9953205
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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}