Update sites.inc

This commit is contained in:
2023-05-24 23:12:56 -05:00
parent a8ce2ad000
commit 3b35f4ef1d

View File

@@ -454,7 +454,7 @@ VIEWSITEINFO(){
site=${sitefile##*/}; site=${site/.conf/}
if (( i % 12 == 0 )) || [ $i = 0 ]; then
DIVIDER false yellow 90
DIVIDER false yellow 94
msg1="Site Address"; c=0; spc1=''; spct=$((${cw_spc1}-${#msg1})); until [ $c = ${spct} ]; do spc1="${spc1} "; c=`expr $c + 1`; done
msg2="Type"; c=0; spc2=''; spct=$((${cw_spc2}-${#msg2})); until [ $c = ${spct} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
msg3="SSL"; c=0; spc3=''; spct=$((${cw_spc3}-${#msg3})); until [ $c = ${spct} ]; do spc3="${spc3} "; c=`expr $c + 1`; done
@@ -463,12 +463,10 @@ VIEWSITEINFO(){
msg6="LOCK"; c=0; spc6=''; spct=$((${cw_spc6}-${#msg6})); until [ $c = ${spct} ]; do spc6="${spc6} "; c=`expr $c + 1`; done
msg7="Proxy Address & Port";
echo -e "${idsST[Bold]}${idsCL[LightCyan]}${msg1}${spc1}${msg2}${spc2}${msg3}${spc3}${msg4}${spc4}${msg5}${spc5}${msg6}${spc6}${msg7}${idsST[Reset]}${idsCL[Default]}"
DIVIDER false yellow 90
DIVIDER false yellow 94
else
DIVIDER false darkGray 90
fi
DIVIDER false darkGray 94
fi
if [ "$(grep include/proxy.conf ${sitefile})" != "" ]; then
type='Proxy'
server=$(grep 'set $server' ${sitefile})
@@ -479,6 +477,7 @@ VIEWSITEINFO(){
proxyhost="${server}${spc7}: ${port}"
else
type='HTTP'
proxyhost=''
fi
[ "$(grep ssl_certificate ${sitefile})" != "" ] && ssl='Yes' || ssl=''
[ "$(grep include/hsts-support.conf ${sitefile})" != "" ] && hsts='Yes' || hsts=''