Projekt

Obecné

Profil

« Předchozí | Další » 

Revize fe31be1a

Přidáno uživatelem Ondřej Fibich před více než 7 roky(ů)

Ref #1068: add support connecting to encrypted SMTP servers.

Zobrazit rozdíly:

application/views/js/settings_email.php
var driver = $("#email_driver option:selected").val();
if (driver != "smtp")
{
$("#email_hostname,#email_port,#email_username,#email_password").attr("disabled", true);
$("#email_hostname,#email_port,#email_encryption,#email_username,#email_password").attr("disabled", true);
}
$("#email_driver").live("change", function()
......
var driver = $("#email_driver option:selected").val();
if (driver != "smtp")
$("#email_hostname,#email_port,#email_username,#email_password").attr("disabled", true);
$("#email_hostname,#email_port,#email_encryption,#email_username,#email_password").attr("disabled", true);
else
$("#email_hostname,#email_port,#email_username,#email_password").removeAttr("disabled");
$("#email_hostname,#email_port,#email_encryption,#email_username,#email_password").removeAttr("disabled");
});

Také k dispozici: Unified diff