projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc1d45
)
Fix SSL option setting
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 22 Dec 2009 19:58:18 +0000
(11:58 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 22 Dec 2009 19:58:18 +0000
(11:58 -0800)
dovecot/edit_net.cgi
patch
|
blob
|
history
diff --git
a/dovecot/edit_net.cgi
b/dovecot/edit_net.cgi
index
216cd54
..
16cd6c3
100755
(executable)
--- a/
dovecot/edit_net.cgi
+++ b/
dovecot/edit_net.cgi
@@
-18,7
+18,12
@@
print &ui_table_row($text{'net_protocols'},
# SSL supported?
$sslopt = &find("ssl_disable", $conf, 2) ? "ssl_disable" : "ssl";
$dis = &find_value($sslopt, $conf);
-@opts = ( [ "no", $text{'yes'} ], [ "yes", $text{'no'} ] );
+if ($sslopt eq "ssl") {
+ @opts = ( [ "yes", $text{'yes'} ], [ "no", $text{'no'} ] );
+ }
+else {
+ @opts = ( [ "no", $text{'yes'} ], [ "yes", $text{'no'} ] );
+ }
print &ui_table_row($text{'net_ssl_disable'},
&ui_radio($sslopt, $dis,
[ @opts,