From 60ae4324e24c2aca0eb8d6d50563ca1261376122 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 11 Nov 2023 19:55:29 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 132aded8..2124d43d 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -583,7 +583,11 @@ SITEINFO(){ DIVIDER false yellow ${dl} [ "${1}" == "edit" ] && msg1='##) Site Address' || msg1='Site Address' echo -en "${idsST[Bold]}${idsCL[LightCyan]}" - printf "%-32s %-8s %-6s %-6s %-6s %-6s %-6s %-8s\n" "${msg1}" "Type" "SSL" "HSTS" "WBSKT" "EXPLT" "LOCK" "Proxy Connection" + if [ "${1}" == "edit" ]; then + printf "%-32s %-8s %-6s %-6s %-6s %-6s %-6s %-8s\n" "${msg1}" "Type" "SSL" "HSTS" "WBSKT" "EXPLT" "LOCK" "Proxy Connection" + else + printf "%-28s %-8s %-6s %-6s %-6s %-6s %-6s %-8s\n" "${msg1}" "Type" "SSL" "HSTS" "WBSKT" "EXPLT" "LOCK" "Proxy Connection" + fi echo -en "${idsST[Reset]}${idsCL[Default]}" DIVIDER false yellow ${dl} else @@ -612,7 +616,11 @@ SITEINFO(){ [ ${i} -lt 10 ] && ii=" ${i}" || ii=${i} [ "${1}" == "edit" ] && msg1="${ii}) ${site}" || msg1="${site}" - printf "%-32s %-8s %-6s %-6s %-6s %-6s %-6s %-14s\n" "${msg1}" "${type}" "${ssl}" "${hsts}" "${wbskt}" "${explt}" "${lock}" "${proxyhost}" + if [ "${1}" == "edit" ]; then + printf "%-32s %-8s %-6s %-6s %-6s %-6s %-6s %-14s\n" "${msg1}" "${type}" "${ssl}" "${hsts}" "${wbskt}" "${explt}" "${lock}" "${proxyhost}" + else + printf "%-28s %-8s %-6s %-6s %-6s %-6s %-6s %-14s\n" "${msg1}" "${type}" "${ssl}" "${hsts}" "${wbskt}" "${explt}" "${lock}" "${proxyhost}" + fi SITELIST[${i}]=${site} i=`expr $i + 1`