]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Fixes/rewrites for ext-surfbar:
[mailer.git] / inc / filters.php
index ae2bc37ccd762365e36138c8cb5833061c7e71f1..c6c27638b724cf956058d515ee9eff3dbf63457b 100644 (file)
@@ -1087,5 +1087,17 @@ function FILTER_EXTENSION_MARK_INSTALLED ($data) {
        $GLOBALS['ext_is_installed'][$data['ext_name']] = true;
 }
 
+// Filter for generating mails links for 'pool' mails
+function FILTER_GENERATE_POOL_MAIL_LINKS ($data) {
+       // Is type 'mid'?
+       if ($data['type'] == 'mid') {
+               // Load template
+               $data['__output'] .= loadTemplate('admin_links_' . strtolower($data['mail_status']) . '_pool_mail', true, $data);
+       } // END - if
+
+       // Return data
+       return $data;
+}
+
 // [EOF]
 ?>