Skip to content

Commit a5a972e

Browse files
author
Kristan Kenney
committed
Rearrange SSL options in UI
1 parent 64892c3 commit a5a972e

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

web/templates/admin/edit_web.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,11 @@
246246
<tr>
247247
<td class="step-left">
248248
<table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
249+
<tr>
250+
<td class="input-label vst-text">
251+
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_letsencrypt" <?php if($v_letsencrypt == 'yes' || $v_letencrypt == 'on') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_letsencrypt(this)"> <?php print __('Lets Encrypt Support');?></label>
252+
</td>
253+
</tr>
249254
<tr>
250255
<td class="input-label vst-text">
251256
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ssl_forcessl" <?php if($v_ssl_forcessl == 'yes') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_forcessl(this)"> <?php print __('Force SSL/HTTPS');?></label>
@@ -256,11 +261,6 @@
256261
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ssl_hsts" <?php if($v_ssl_hsts == 'yes') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_hsts(this)"> <?php print __('Enable SSL HSTS');?></label>
257262
</td>
258263
</tr>
259-
<tr>
260-
<td class="input-label vst-text">
261-
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_letsencrypt" <?php if($v_letsencrypt == 'yes' || $v_letencrypt == 'on') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_letsencrypt(this)"> <?php print __('Lets Encrypt Support');?></label>
262-
</td>
263-
</tr>
264264
<tr style="display: none;">
265265
<td class="vst-text input-label">
266266
<?php print __('Home Directory');?>

web/templates/user/edit_web.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,11 @@
246246
<tr>
247247
<td class="step-left">
248248
<table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
249+
<tr>
250+
<td class="input-label vst-text">
251+
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_letsencrypt" <?php if($v_letsencrypt == 'yes' || $v_letencrypt == 'on') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_letsencrypt(this)"> <?php print __('Lets Encrypt Support');?></label>
252+
</td>
253+
</tr>
249254
<tr>
250255
<td class="input-label vst-text">
251256
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ssl_forcessl" <?php if($v_ssl_forcessl == 'yes') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_forcessl(this)"> <?php print __('Force SSL/HTTPS');?></label>
@@ -256,11 +261,7 @@
256261
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ssl_hsts" <?php if($v_ssl_hsts == 'yes') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_hsts(this)"> <?php print __('Enable SSL HSTS');?></label>
257262
</td>
258263
</tr>
259-
<tr>
260-
<td class="input-label vst-text">
261-
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_letsencrypt" <?php if($v_letsencrypt == 'yes' || $v_letencrypt == 'on') echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_letsencrypt(this)"> <?php print __('Lets Encrypt Support');?></label>
262-
</td>
263-
</tr>
264+
264265
<tr style="display: none;">
265266
<td class="vst-text input-label">
266267
<?php print __('Home Directory');?>

0 commit comments

Comments
 (0)