From 9da50835e383bfa15faca0a01033cff0327cfcce Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 18:54:59 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 793b9900..c819bcba 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -535,6 +535,7 @@ SITEINFO(){ if [ "${2}" == "" ]; then echo -en "\n${idsCL[LightCyan]}Enter the site number you want to edit: ${idsCL[Default]}" read siteid + echo else siteid=${2} fi @@ -545,9 +546,12 @@ SITEINFO(){ [ "$(grep include/hsts-support.conf ${sitefile})" != "" ] && hsts='Yes' || hsts='' [ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='' [ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='' - echo - echo -e "${idsCL[Cyan]}Site: ${idsST[Bold]}${site}${idsST[Reset]}${idsCL[LightCyan]}" - echo -e "${idsCL[LightCyan]}" + + echo -e "${idsCL[Cyan]}Site: ${idsST[Bold]}${site}${idsST[Reset]}${idsCL[LightCyan]}" + echo -e "${idsCL[Cyan]}SSL: ${idsST[Bold]}${ssl}${idsST[Reset]}${idsCL[LightCyan]}" + echo -e "${idsCL[Cyan]}HSTS ${idsST[Bold]}${hsts}${idsST[Reset]}${idsCL[LightCyan]}" + echo -e "${idsCL[Cyan]}WbSkt: ${idsST[Bold]}${wbskt}${idsST[Reset]}${idsCL[LightCyan]}" + echo -e "${idsCL[Cyan]}Lock: ${idsST[Bold]}${lock}${idsST[Reset]}${idsCL[LightCyan]}" fi