summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/params
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-03-14 06:05:34 +0100
committerlpsolit%gmail.com <>2008-03-14 06:05:34 +0100
commit05a0cfc3eeb0b738c7e00840df7b49e162692044 (patch)
tree277eb6b7d9583963dcb0ecee1150efc4bb1f77cf /template/en/default/admin/params
parent7c6954f9189af00752c59112b79c79d8bef49390 (diff)
downloadbugzilla-05a0cfc3eeb0b738c7e00840df7b49e162692044.tar.gz
bugzilla-05a0cfc3eeb0b738c7e00840df7b49e162692044.tar.xz
Bug 304005: Implement SMTP authentication support for email notifications - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'template/en/default/admin/params')
-rw-r--r--template/en/default/admin/params/common.html.tmpl5
-rw-r--r--template/en/default/admin/params/mta.html.tmpl6
2 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl
index 7502c909d..4fd792194 100644
--- a/template/en/default/admin/params/common.html.tmpl
+++ b/template/en/default/admin/params/common.html.tmpl
@@ -30,8 +30,11 @@
<dd>[% panel.param_descs.${param.name} FILTER none %]
<p>
[% IF param.type == "t" %]
- <input size="80" name="[% param.name FILTER html %]"
+ <input type="text" size="80" name="[% param.name FILTER html %]"
value="[% Param(param.name) FILTER html %]">
+ [% ELSIF param.type == "p" %]
+ <input type="password" size="80" name="[% param.name FILTER html %]"
+ value="[% Param(param.name) FILTER html %]" autocomplete="off">
[% ELSIF param.type == "l" %]
<textarea name="[% param.name FILTER html %]" rows="10" cols="80">
[% Param(param.name) FILTER html %]</textarea>
diff --git a/template/en/default/admin/params/mta.html.tmpl b/template/en/default/admin/params/mta.html.tmpl
index 904aa2a1c..800fbad9b 100644
--- a/template/en/default/admin/params/mta.html.tmpl
+++ b/template/en/default/admin/params/mta.html.tmpl
@@ -55,6 +55,12 @@
smtpserver => "The SMTP server address (if using SMTP for mail delivery).",
+ smtp_username => "The username to pass to the SMTP server for SMTP authentication. " _
+ "Leave this field empty if your SMTP server doesn't require authentication.",
+
+ smtp_password => "The password to pass to the SMTP server for SMTP authentication. " _
+ "This field has no effect if the smtp_username parameter is left empty.",
+
smtp_debug => "If enabled, this will print detailed information to your" _
" web server's error log about the communication between" _
" $terms.Bugzilla and your SMTP server. You can use this to" _