Update sites.inc

This commit is contained in:
2023-07-20 22:53:27 -05:00
parent deb7fe7856
commit d8cc130e4f

View File

@@ -610,6 +610,9 @@ SITEINFO(){
fi
if [ "${1}" == "edit" ]; then
while [ "${edit^}" != "E" ]; do
if [ "${2}" == "" ]; then
echo -en "\n${idsCL[LightCyan]}Enter the site number you want to edit: ${idsCL[Default]}"
read siteid
@@ -677,7 +680,6 @@ SITEINFO(){
echo -e "\033[7A"
fi
while [ "${edit^}" != "E" ]; do
echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit: ${idsCL[Default]}"
read -n 1 edit
@@ -720,7 +722,6 @@ SITEINFO(){
;;
esac
done
# [ "$edit" = "7" ] && echo -e "\033[5A"; 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 -e "\033[12A"
else
@@ -751,6 +752,7 @@ SITEINFO(){
fi
f=1
done
done
echo