Ok i've find the problem (sorry for my english...)
When you use newsletter manager (newsletter.php) you can chose the module to use (newsletter/newsletter_subscriber/products_notification).
If you use newsletter_subscriber you use the function :
function newsletter_subscribers($header, $title, $contenta, $unsubscribea, $unsubscribeb, $footer)
(in admin/modules/newsletters/newsletter_subscribers.php)
If you use another module you use this function :
function newsletter($title, $content)
(in admin/modules/newsletters/newsletter.php)
So, you can see that some parameters are missing...
Change that :
in admin/modules/newsletters/newsletter.php
change :
function newsletter($title, $content)
in
function newsletter_subscribers($header, $title, $content, $unsubscribea, $unsubscribeb, $footer)
idem in products_notification.php
in admin/newsletter.php
next elseif ($HTTP_GET_VARS['action'] == 'send') {
replace :
$newsletter_query = tep_db_query("select title, content, module from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . tep_db_input($nID) . "'");
$newsletter = tep_db_fetch_array($newsletter_query);
by
$newsletter_query = tep_db_query("select p.title, p.content, p.module, q.header, q.footer, q.unsubscribea, q.unsubscribeb from " . TABLE_NEWSLETTERS . " p, " . TABLE_SUBSCRIBERS_INFOS . " q where p.newsletters_id = '" . tep_db_input($nID) . "' ");
$newsletter = tep_db_fetch_array($newsletter_query);
after...
replace
$module = new $module_name($nInfo->title, $nInfo->content);
by
$module = new $module_name($nInfo->header, $nInfo->title, $nInfo->content, $nInfo->unsubscribea, $nInfo->unsubscribeb, $nInfo->footer);
inthe same file find
} elseif ($HTTP_GET_VARS['action'] == 'confirm') {
and make the same changes as below..