From 86c99532054f40a1a66250738c1fb723b0ccbeef Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Wed, 3 Oct 2012 10:06:20 -0400 Subject: [PATCH] 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. --- gulliver/system/class.xmlform.php | 1 + workflow/engine/templates/grid.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 703f5fb88..16b0cb3e9 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -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' ) . ''; + $html .= $this->renderHint(); return $html; } diff --git a/workflow/engine/templates/grid.html b/workflow/engine/templates/grid.html index 758a4f215..10c054256 100755 --- a/workflow/engine/templates/grid.html +++ b/workflow/engine/templates/grid.html @@ -21,7 +21,7 @@ {foreach from=$form->fields item=field} - {if (isset($field->required)&&$field->required&&$field->mode==='edit')}* {/if}{$field->label} + {if (isset($field->required)&&$field->required&&$field->mode==='edit')}* {/if}{$field->label}{$field->renderHint()} {/foreach} {literal}