#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#DELETE)

{Warning}

{AcceptAction}

#IF(#ActiveShopCount>0)
{ActiveShops}
#ENDIF
#ELSIF(#FormError)
#IF(#FormErrors.Reason.LicenseDatabases)

{LicenseError}

{LicenseDatabases}

#ELSE

{InputError}

#IF(#FormErrors.Reason.PASSWORD_WRONG)

{WrongPassword}

#ELSE

{PleaseCorrectErrors}

#ENDIF #ENDIF
#ENDIF #IF(#TESTED) #IF(#ERR_CONNECT)

{TestResult}

{DBConnectionFailed}
#ERR_CONNECT

#ELSE

{TestResult}

{DBConnectionSuccess}

#ENDIF #ENDIF #WITH(#Connection)#WITH_ERROR(#FormError) #ENDWITH_ERROR#ENDWITH
{Provider} #IF(#ShopRefCount==0 AND #Alias NE "Site") #LOCAL("StoreProvider", #Provider) #ENDLOCAL #ELSE #IF(#Provider) #Provider.Alias #ELSE - #ENDIF #ENDIF
{DatabaseState} {IsActive}
{ConnectionString} #IF(#datasource)#datasource#ENDIF
{Database} #IF(#Database)#Database#ENDIF
{DBUser} #IF(#login)#login#ENDIF
#ENDBLOCK