}
}
-// ----------------------------------------------------------------------------
-// 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;
-}
-
// Send mails for del/edit/lock build modes
// @TODO $rawUserId is currently unused
function sendGenericBuildMails ($mode, $tableName, $content, $id, $subjectPart = '', $userIdColumn = array('userid'), $rawUserId = array('userid')) {
}
}
+// ----------------------------------------------------------------------------
+// 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;
+}
+
// [EOF]
?>