Skip to content

Commit 3de4893

Browse files
author
Kristan Kenney
committed
Hide SSL home directory field
Default to public_html
1 parent 8691340 commit 3de4893

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

web/templates/admin/edit_web.html

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -187,31 +187,27 @@
187187
<tr>
188188
<td class="step-left">
189189
<table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
190-
<tr>
191-
<td class="input-label vst-text">
192-
<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>
193-
</td>
194-
</tr>
195190
<tr>
196191
<td class="input-label vst-text">
197192
<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>
198193
</td>
199194
</tr>
200195
<tr>
196+
<td class="input-label vst-text">
197+
<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>
198+
</td>
199+
</tr>
200+
<tr style="display: none;">
201201
<td class="vst-text input-label">
202-
<?php print __('SSL Home Directory');?>
202+
<?php print __('Home Directory');?>
203203
</td>
204204
</tr>
205-
<tr>
205+
<tr style="display: none;">
206206
<td>
207207
<select class="vst-list" name="v_ssl_home">
208-
209-
<option value='same' <?php if ($v_ssl_home == 'same') echo "selected";?>>
208+
<option value='same'>
210209
public_html
211210
</option>
212-
<option value='single' <?php if ($v_ssl_home == 'single') echo "selected";?>>
213-
public_shtml
214-
</option>
215211
</select>
216212
</td>
217213
</tr>

0 commit comments

Comments
 (0)