Update sites.inc

This commit is contained in:
2023-05-25 22:21:01 -05:00
parent f9faab0785
commit 240d96920b

View File

@@ -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