From a81f4e49f033649840b90555ed84c60739fcd520 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 21:02:26 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index f62aeddb..ce92d450 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -569,15 +569,15 @@ SITEINFO(){ [ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-' until [ "${edit}" = "s" ]; do - echo -e "${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}" - echo -e "${idsCL[Cyan]}!) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}" - echo -e "${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}" - echo -e "${idsCL[Cyan]}4) HSTS Enabled ${idsST[Bold]}${hsts}${idsST[Reset]}" - echo -e "${idsCL[Cyan]}5) Web Sockets: ${idsST[Bold]}${wbskt}${idsST[Reset]}" - echo -e "${idsCL[Cyan]}6) Secured: ${idsST[Bold]}${lock}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}!) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}" + echo -e "\033[K${idsCL[Cyan]}4) HSTS Enabled ${idsST[Bold]}${hsts}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}5) Web Sockets: ${idsST[Bold]}${wbskt}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}6) Secured: ${idsST[Bold]}${lock}${idsST[Reset]}" if [ "${type}" == "Proxy" ]; then - echo -e "${idsCL[Cyan]}7) Proxy Server: ${idsST[Bold]}${server}${idsST[Reset]}" - echo -e "${idsCL[Cyan]}8) Proxy Port: ${idsST[Bold]}${port}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}7) Proxy Server: ${idsST[Bold]}${server}${idsST[Reset]}" + echo -e "\033[K${idsCL[Cyan]}8) Proxy Port: ${idsST[Bold]}${port}${idsST[Reset]}" fi echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}" read edit