Merge pull request #648 from hector-cortez/BUG-8510
BUG 8510 Hints are not displayed next to link fields. SOLVED
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}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<td> </td>
|
||||
{foreach from=$form->fields item=field}
|
||||
<!--td class='vFormTitle'>{$field->label}</td-->
|
||||
<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