====== Format des fichiers template ====== http://www.tt2.org ===== Syntaxe ===== [%|loc(list.name,list.host)%]Welcome to list %1 %2[%END%] ===== variables sympa ===== http://www.sympa.org/manual/customizing#mail_template_files|Listes des variables | [% boundary %] | MIME parts separator calculated for service messages | | [% conf.domain %] | Sympa's robot domain name | | [% conf.email %] | Sympa email address local part | | [% conf.host %] | sympa default host domain name | | [% conf.listmaster %] | listmasters' email addresses | | [% conf.listmaster_email %] | listmaster'e-mail address local part | | [% conf.request %] | return address for bounces (sympa-request) | | [% conf.sympa %] | Sympa's complete email address | | [% conf.title %] | Host web page title | | [% conf.version %] | for global messages only! Sympa version number | | [% conf.wwsympa_url %] | WWSympa's root URL | | [% execution_date %] | the date when the scenario is executed. | [% fromlist %] | From SMTP header of the message | | [% list.dir %] | The absolute path to the list's configuration directory | | [% list.domain %] | the domain the list is hosted by | | [% list.host %] | list hostname (default is Sympa robot domain name) | | [% list.lang %] | list language | | [% list.name %] ou [% list %] | list name | | [% list.owner %] | list owners table hash | | [% list.subject %] | list subject | | [% listname %] | the listname; always available. | | [% original_msg.full %] | the full original message | | [% original_msg.body %] | the body of the original message | | [% original_msg.from %] | the From header field of the original message | | [% original_msg.subject %] | the Subject header field of the original message | | [% original_msg.message_id %] | the Message-id header field of the original message | | [% replyto %] | Reply-To SMTP header of the message | | [% return_path %] | Return-Path SMTP header of the message | | [% robot %] | the name of the host the list is intalled on; always available. | | [% robot_domain %] | domain of a virtual host as defined in the host parameter | | [% sender %] | e-mail address of the sender | | [% user.custom_attribute.name.value %] | can be anything you like; available if you defined a user custom attribute named “name”. | | [% user.custom_attribute.organization.value %] | can be anything you like; available if you defined a user custom attribute named “organization”. | | [% user.custom_attribute.title.value %] | can be anything you like; available if you defined a user custom attribute named “title” (see the list configuration, section “Miscellaneous”). | | [% user.email %] | user email address | | [% user.friendly_date %] | the - human readable - user's subscription date; always available. | | [% user.gecos %] | user gecos field (usually his/her name); the user name associated to her email; always available. | | [% user.lang %] | user language | | [% user.password %] | user password | | [% subscriber.bounce %] | subscriber's bounce rate | | [% subscriber.date %] | date when the user subscribed to this list | | [% subscriber.first_bounce %] | date when this subscriber had her/his first bounce | | [% subscriber.update_date %] | date when the user last updated her/his profile |