Revision 568
Added by doc almost 17 years ago
index.php | ||
---|---|---|
364 | 364 |
// Work-out which wbmailer routine should be checked |
365 | 365 |
if(WBMAILER_ROUTINE == 'phpmail') { |
366 | 366 |
$template->set_var('PHPMAIL_SELECTED', ' checked'); |
367 |
$template->set_var('SMTP_VISIBILITY', 'hidden');
|
|
368 |
$template->set_var('SMTP_VISIBILITY_AUTH', 'hidden');
|
|
367 |
$template->set_var('SMTP_VISIBILITY', 'none');
|
|
368 |
$template->set_var('SMTP_VISIBILITY_AUTH', 'none');
|
|
369 | 369 |
} elseif(WBMAILER_ROUTINE == 'smtp') { |
370 | 370 |
$template->set_var('SMTPMAIL_SELECTED', ' checked'); |
371 |
$template->set_var('SMTP_VISIBILITY', 'visible');
|
|
371 |
$template->set_var('SMTP_VISIBILITY', ''); |
|
372 | 372 |
} |
373 | 373 |
|
374 | 374 |
// Work-out if SMTP authentification should be checked |
375 | 375 |
if(WBMAILER_SMTP_AUTH) { |
376 | 376 |
$template->set_var('SMTP_AUTH_SELECTED', ' checked'); |
377 | 377 |
if(WBMAILER_ROUTINE == 'smtp') { |
378 |
$template->set_var('SMTP_VISIBILITY_AUTH', 'visible');
|
|
378 |
$template->set_var('SMTP_VISIBILITY_AUTH', ''); |
|
379 | 379 |
} else { |
380 |
$template->set_var('SMTP_VISIBILITY_AUTH', 'hidden');
|
|
380 |
$template->set_var('SMTP_VISIBILITY_AUTH', 'none');
|
|
381 | 381 |
} |
382 | 382 |
} else { |
383 |
$template->set_var('SMTP_VISIBILITY_AUTH', 'hidden');
|
|
383 |
$template->set_var('SMTP_VISIBILITY_AUTH', 'none');
|
|
384 | 384 |
} |
385 | 385 |
|
386 | 386 |
// Work-out if intro feature is enabled |
... | ... | |
600 | 600 |
'TEXT_SEPARATE' => $TEXT['SEPARATE'], |
601 | 601 |
'TEXT_HOME_FOLDERS' => $TEXT['HOME_FOLDERS'], |
602 | 602 |
'TEXT_WYSIWYG_STYLE' => $TEXT['WYSIWYG_STYLE'], |
603 |
'TEXT_SERVER_EMAIL' => $TEXT['SERVER_EMAIL'], |
|
604 | 603 |
'TEXT_WORLD_WRITEABLE_FILE_PERMISSIONS' => $TEXT['WORLD_WRITEABLE_FILE_PERMISSIONS'], |
604 |
'TEXT_WBMAILER_DEFAULT_SETTINGS_NOTICE' => $TEXT['WBMAILER_DEFAULT_SETTINGS_NOTICE'], |
|
605 |
'TEXT_WBMAILER_DEFAULT_SENDER_MAIL' => $TEXT['WBMAILER_DEFAULT_SENDER_MAIL'], |
|
606 |
'TEXT_WBMAILER_DEFAULT_SENDER_NAME' => $TEXT['WBMAILER_DEFAULT_SENDER_NAME'], |
|
605 | 607 |
'TEXT_WBMAILER_NOTICE' => $TEXT['WBMAILER_NOTICE'], |
606 | 608 |
'TEXT_WBMAILER_FUNCTION' => $TEXT['WBMAILER_FUNCTION'], |
607 | 609 |
'TEXT_WBMAILER_SMTP_HOST' => $TEXT['WBMAILER_SMTP_HOST'], |
Also available in: Unified diff
Added support to configure the mailer settings via the backend