Skip to content

Commit c330742

Browse files
authored
Fix letsencrypt variable name causing error (hestiacp#2857)
1 parent 712de8d commit c330742

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/templates/pages/edit_web.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
<?=$v_ssl_issuer?>
338338
</td>
339339
</tr>
340-
<tr id="letsinfo" style="display:<?php if ($v_letsencrypt == 'yes' || $v_letencrypt == 'on' ) { echo 'block';} else {echo 'none';} ?>">
340+
<tr id="letsinfo" style="display:<?php if ($v_letsencrypt == 'yes' || $v_letsencrypt == 'on' ) { echo 'block';} else {echo 'none';} ?>">
341341
<td><a href="#" onclick="elementHideShow('ssl-details'); return false;" class="generate"><?=_('Show Certificate');?></a></td>
342342
</tr>
343343
</table>
@@ -517,7 +517,7 @@
517517
</table>
518518
</td>
519519
</tr>
520-
<?php if (in_array($_SESSION['FTP_SYSTEM'], array('vsftpd', 'proftpd'))) { ?>
520+
<?php if (in_array($_SESSION['FTP_SYSTEM'], array('vsftpd', 'proftpd'))) { ?>
521521
<tr>
522522
<td class="vst-text input-label">
523523
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ftp" <?php if (!empty($v_ftp_user)) echo "checked=yes" ?> onclick="App.Actions.WEB.toggle_additional_ftp_accounts(this)"><?=_('Additional FTP Account');?></label>
@@ -671,4 +671,4 @@
671671
</div>
672672
<script>
673673
GLOBAL.FTP_USER_PREFIX = "<?=$user_plain.'_';?>";
674-
</script>
674+
</script>

0 commit comments

Comments
 (0)