Update sites.inc
This commit is contained in:
@@ -560,7 +560,7 @@ SITEINFO(){
|
|||||||
[ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='-'
|
[ "$(grep include/websocket-support.conf ${sitefile})" != "" ] && wbskt='Yes' || wbskt='-'
|
||||||
[ "$(grep include/block-exploits.conf ${sitefile})" != "" ] && explt='Yes' || explt='-'
|
[ "$(grep include/block-exploits.conf ${sitefile})" != "" ] && explt='Yes' || explt='-'
|
||||||
[ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-'
|
[ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-'
|
||||||
|
f=0
|
||||||
until [ "${edit}" = "c" ]; do
|
until [ "${edit}" = "c" ]; do
|
||||||
echo -e "\033[K${idsCL[Cyan]}0) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}"
|
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]}"
|
echo -e "\033[K${idsCL[Cyan]}1) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}"
|
||||||
@@ -579,6 +579,12 @@ SITEINFO(){
|
|||||||
echo -e "\033[K"
|
echo -e "\033[K"
|
||||||
fi
|
fi
|
||||||
if [ "${edit}" != "s" ]; then
|
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]}"
|
echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}"
|
||||||
read -n 1 edit
|
read -n 1 edit
|
||||||
|
|
||||||
@@ -626,7 +632,7 @@ SITEINFO(){
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
f=1
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user