From 3b35f4ef1d347a3885a537e4ec63b22cdf8af96f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 24 May 2023 23:12:56 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 47429765..42c7a2a1 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -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=''