From 240d96920b631da7bca3f0c4e7344257586bdb02 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 22:21:01 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 3e3ee28f..dc6df5f2 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -560,7 +560,7 @@ SITEINFO(){ [ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='-' [ "$(grep include/block-exploits.conf ${sitefile})" != "" ] && explt='Yes' || explt='-' [ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-' - + f=0 until [ "${edit}" = "c" ]; do echo -e "\033[K${idsCL[Cyan]}0) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}" echo -e "\033[K${idsCL[Cyan]}1) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}" @@ -579,6 +579,12 @@ SITEINFO(){ echo -e "\033[K" fi if [ "${edit}" != "s" ]; then + echo -e "\033[K" + echo -e "\033[K" + echo -e "\033[K" + echo -e "\033[K" + echo -e "\033[K" + echo -e "\033[5A" echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}" read -n 1 edit @@ -626,7 +632,7 @@ SITEINFO(){ esac fi - + f=1 done echo