From 6e78479b5255ba895065cba041cda3837e4adcf7 Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Fri, 27 Nov 2009 16:34:28 +0000 Subject: [PATCH] new prefix tags for serial letters --- addressbook/inc/class.addressbook_merge.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addressbook/inc/class.addressbook_merge.inc.php b/addressbook/inc/class.addressbook_merge.inc.php index 91a6deb3dc..9b59af4c0d 100644 --- a/addressbook/inc/class.addressbook_merge.inc.php +++ b/addressbook/inc/class.addressbook_merge.inc.php @@ -165,6 +165,8 @@ class addressbook_merge extends bo_merge 'IF fieldname' => lang('Example $$IF n_prefix~Mr~Hello Mr.~Hello Ms.$$ - search the field "n_prefix", for "Mr", if found, write Hello Mr., else write Hello Ms.'), 'NELF' => lang('Example $$NELF role$$ - if field role is not empty, you will get a new line with the value of field role'), 'NENVLF' => lang('Example $$NELFNV role$$ - if field role is not empty, set a LF without any value of the field'), + 'LETTERPREFIX' => lang('Example $$LETTERPREFIX$$ - Gives a letter prefix without double spaces, if the title is emty for example'), + 'LETTERPREFIXCUSTOM' => lang('Example $$LETTERPREFIXCUSTOM n_prefix title n_family$$ - Example: Mr Dr. James Miller'), ) as $name => $label) { echo '$$'.$name.'$$'.$label."\n";