From: JKingsnorth Date: Tue, 21 Apr 2015 13:50:13 +0000 (+0100) Subject: CRM-16328: Add pre and post classes for help text X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8669266ddab5b81c102bbabff70931a5f1bafaa6;p=civicrm-core.git CRM-16328: Add pre and post classes for help text --- diff --git a/templates/CRM/Profile/Form/Dynamic.tpl b/templates/CRM/Profile/Form/Dynamic.tpl index 6a04f5191c..1ee050ecbd 100644 --- a/templates/CRM/Profile/Form/Dynamic.tpl +++ b/templates/CRM/Profile/Form/Dynamic.tpl @@ -107,7 +107,7 @@
{/if} {if $field.help_pre && $action neq 4 && $form.$n.html} -
+
{$field.help_pre}
{/if} @@ -195,7 +195,7 @@ {* Show explanatory text for field if not in 'view' mode *} {if $field.help_post && $action neq 4 && $form.$n.html} -
+
{$field.help_post}
{/if} diff --git a/templates/CRM/UF/Form/Block.tpl b/templates/CRM/UF/Form/Block.tpl index b18c2d5f33..85f4d8d60a 100644 --- a/templates/CRM/UF/Form/Block.tpl +++ b/templates/CRM/UF/Form/Block.tpl @@ -66,7 +66,7 @@ {elseif $n} {* Show explanatory text for field if not in 'view' or 'preview' modes *} {if $field.help_pre && $action neq 4 && $action neq 1028} -
+
{$field.help_pre}
{/if} @@ -147,7 +147,7 @@ {/if} {* Show explanatory text for field if not in 'view' or 'preview' modes *} {if $field.help_post && $action neq 4 && $action neq 1028} -
+
{$field.help_post}
{/if}