File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 181181 < tr >
182182 < td class ="vst-text step-top ">
183183 < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_ssl " < ?php if ($v_ssl == 'yes') echo "checked=yes" ?> onclick="javascript:elementHideShow('ssltable');"> < ?php print __('SSL Support');?> </ label > /
184- < a class ="generate " id =" generate-csr " target ="_blank " href ="/generate/ssl/?domain=<?php echo $v_domain ?> "> < ?php print __('Generate CSR') ?> </ a >
184+ < a class ="generate " target ="_blank " href ="/generate/ssl/?domain=<?php echo $v_domain ?> "> < ?php print __('Generate CSR') ?> </ a >
185185 </ td >
186186 </ tr >
187187 < tr >
235235 < textarea size ="20 " class ="vst-textinput " name ="v_ssl_ca "> < ?php if (!empty($v_ssl_ca)) echo htmlentities($v_ssl_ca); ?> </ textarea >
236236 </ td >
237237 </ tr >
238-
238+ < ?php $uname_arr=posix_uname(); $hostname=$uname_arr['nodename'];
239+ if ($v_ssl != 'no' ) { ?>
239240 < tr >
240241 < td >
241242 < table class ="additional-info ">
242- < ?php $uname_arr=posix_uname(); $hostname=$uname_arr['nodename']; ?>
243243 < tr >
244244 < td >
245245 < ?=__('SUBJECT')?> :
301301 </ table >
302302 </ td >
303303 </ tr >
304+ < ? } // if ssl is enabled ?>
304305 </ table >
305306 </ td >
306307 </ tr >
307- < tr >
308- < td class ="step-top vst-text ">
309- < label > < input type ="checkbox " size ="20 " class ="vst-checkbox " name ="v_letsencrypt " < ?php if($v_letencrypt == 'yes' || $v_letencrypt == 'on') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_letsencrypt(this)"> < ?php print __('Lets Encrypt Support');?> </ label >
310- </ td >
311- </ tr >
312308 < tr >
313309 < td class ="vst-text step-top ">
314310 < ?php print __('Web Statistics');?>
You can’t perform that action at this time.
0 commit comments