]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/bonus_filter.php
Bonus mails are now editable, duplicate message ids cleaned up:
[mailer.git] / inc / filter / bonus_filter.php
index 34ee4408088f4b53a315aaec6fb6d24aebb631fb..d4cf091b80c56faf4df7fa4a1b26906a9400160b 100644 (file)
@@ -84,5 +84,17 @@ LIMIT 1',
        return $data;
 }
 
+// Filter for generating admin mail links for bonus mails
+function FILTER_GENERATE_BONUS_MAIL_LINKS ($data) {
+       // Is the type 'bid'?
+       if ($data['type'] == 'bid') {
+               // Load template
+               $data['__output'] .= loadTemplate('admin_links_bonus_mail', true, $data);
+       } // END - if
+
+       // Return data
+       return $data;
+}
+
 // [EOF]
 ?>