}
}
+ // Suppress e-notices for tag fields if not set...
+ $form->addOptionalQuickFormElement('tag_types_text');
+ $form->addOptionalQuickFormElement('tag_set');
+ $form->addOptionalQuickFormElement('all_tag_types');
if ($form->_searchOptions['tags']) {
// multiselect for categories
$contactTags = CRM_Core_BAO_Tag::getTags();
$showAllTagTypes = TRUE;
}
}
- $tagTypesText = implode(" or ", $tagsTypes);
+ $tagTypesText = implode(' or ', $tagsTypes);
if ($showAllTagTypes) {
$form->add('checkbox', 'all_tag_types', ts('Include tags used for %1', [1 => $tagTypesText]));
$form->add('hidden', 'tag_types_text', $tagTypesText);
{$field.label}
{if !empty($fieldSpec.help)}
{assign var=help value=$fieldSpec.help}
- {capture assign=helpFile}{if $fieldSpec.help}{$fieldSpec.help}{else}''{/if}{/capture}
{help id=$help.id file=$help.file}
{/if}
<br />