Revision 1572
Added by Dietmar over 12 years ago
setting.js | ||
---|---|---|
17 | 17 |
document.getElementById('row_wbmailer_smtp_auth_mode').style.display = ''; |
18 | 18 |
document.getElementById('row_wbmailer_smtp_username').style.display = ''; |
19 | 19 |
document.getElementById('row_wbmailer_smtp_password').style.display = ''; |
20 |
if( document.settings.wbmailer_smtp_auth.checked == true ) { |
|
21 |
document.getElementById('row_wbmailer_smtp_username').style.display = ''; |
|
22 |
document.getElementById('row_wbmailer_smtp_password').style.display = ''; |
|
23 |
} else { |
|
24 |
document.getElementById('row_wbmailer_smtp_username').style.display = 'none'; |
|
25 |
document.getElementById('row_wbmailer_smtp_password').style.display = 'none'; |
|
26 |
} |
|
27 | 20 |
} else if(type == 'phpmail') { |
28 | 21 |
document.getElementById('row_wbmailer_smtp_settings').style.display = 'none'; |
29 | 22 |
document.getElementById('row_wbmailer_smtp_host').style.display = 'none'; |
... | ... | |
32 | 25 |
document.getElementById('row_wbmailer_smtp_password').style.display = 'none'; |
33 | 26 |
} |
34 | 27 |
} |
35 |
|
|
28 |
/* */ |
|
36 | 29 |
function toggle_wbmailer_auth() { |
30 |
document.getElementById('row_wbmailer_smtp_username').style.display = ''; |
|
31 |
document.getElementById('row_wbmailer_smtp_password').style.display = ''; |
|
32 |
document.settings.wbmailer_smtp_auth.checked == true; |
|
33 |
/* |
|
37 | 34 |
if( document.settings.wbmailer_smtp_auth.checked == true ) { |
38 | 35 |
document.getElementById('row_wbmailer_smtp_username').style.display = ''; |
39 | 36 |
document.getElementById('row_wbmailer_smtp_password').style.display = ''; |
... | ... | |
41 | 38 |
document.getElementById('row_wbmailer_smtp_username').style.display = 'none'; |
42 | 39 |
document.getElementById('row_wbmailer_smtp_password').style.display = 'none'; |
43 | 40 |
} |
44 |
} |
|
41 |
*/ |
|
42 |
} |
Also available in: Unified diff
! security fix, force SMTP Authentifikation
! server and email settings only for superadmin