diff --git a/inc/certs.inc b/inc/certs.inc index 971b6488..a910eb71 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -294,7 +294,7 @@ LISTCERTS(){ echo -e "\033[K" exit 0 - elif [ "${certid^}" == "C" ]; then + elif [ "${certid^}" == "A" ]; then echo -en "\033[1A\033[K\r" NEWCERT [ "${SEARCH}" != "0" ] && LISTCERTS -edit -search ${SEARCH} || LISTCERTS -edit diff --git a/inc/sites.inc b/inc/sites.inc index 8dceb678..a0ea0bf5 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -741,7 +741,7 @@ SITEINFO(){ while [ "${editc^}" != "E" ]; do echo -e "\033[K" echo -e "\033[K" - echo -e "\033[K (${idsCL[Green]}R${idsCL[Default]})eload, (${idsCL[Yellow]}E${idsCL[Default]})xit" + echo -e "\033[K (${idsCL[Green]}A${idsCL[Default]})dd New Site, (${idsCL[Green]}R${idsCL[Default]})eload, (${idsCL[Yellow]}E${idsCL[Default]})xit" echo -e "\033[K" echo -e "\033[K" echo -e "\033[K" @@ -754,6 +754,12 @@ SITEINFO(){ echo -e "\033[K" exit 0 + elif [ "${certid^}" == "A" ]; then + echo -en "\033[1A\033[K\r" + NEWSITE + [ "${SEARCH}" != "0" ] && SITEINFO -edit -search ${SEARCH} || SITEINFO -edit + exit 0 + elif [ "${siteid^}" == "R" ]; then [ "${SEARCH}" != "0" ] && SITEINFO -edit -search ${SEARCH} || SITEINFO -edit exit 0