-// ----------------------------------------------------------------------------
-// Template helper functions
-// ----------------------------------------------------------------------------
-
-// Helper function to add extra headers to text mails
-function doTemplateAddExtraTextMailHeaders ($templateName, $clear, $extraHeaders = '') {
- // Run the header through the filter
- $extraHeaders = runFilterChain('add_extra_text_mail_headers', $extraHeaders);
-
- // And return it
- return $extraHeaders;
-}
-
-// Helper function to add extra headers to HTML mails
-function doTemplateAddExtraHtmlMailHeaders ($templateName, $clear, $extraHeaders = '') {
- // Run the header through the filter
- $extraHeaders = runFilterChain('add_extra_html_mail_headers', $extraHeaders);
-
- // And return it
- return $extraHeaders;
-}
-