#IF(#DELETE)
{Warning}
{AcceptAction}
#LOOP(#DeleteObjects)
#ENDLOOP
#ELSIF(#FeatureMaxValueReached)
{Notification}
{CouldNotCreateObject}
{FeatureMaxValue} #Shop.FeatureMaxValue.Currencies
#INCLUDE("FeaturePromotion")
#ELSIF(#Shop.FeatureCurrentValue.Currencies NGE #Shop.FeatureMaxValue.Currencies)
{Notification}
{FeatureMaxValueReached}
{FeatureMaxValue} #Shop.FeatureMaxValue.Currencies
#INCLUDE("FeaturePromotion")
#ENDIF
#LOCAL("VisibleCurrencies", 0)
#LOOP(#Shop.Currencies)
#IF(#IsActivated)
#SET("VisibleCurrencies", #VisibleCurrencies+1)
#ENDIF
#ENDLOOP
#IF((NOT(#DELETE))AND(NOT(#DELETE_LAST))AND(NOT(#INVISIBLE_DEFAULT)))
#IF ((#VisibleCurrencies NGE 2)AND(NOT(#Shop.DefaultStyle.Child.NavBarElements.Child.Coins))AND(NOT(#Shop.DefaultStyle.Child.NavBarElements.Child.CurrencyBox)))
#ENDIF
#IF ((#VisibleCurrencies NEQ 1)AND(#Shop.DefaultStyle.Child.NavBarElements.Child.Coins OR #Shop.DefaultStyle.Child.NavBarElements.Child.CurrencyBox))
#ENDIF
#ENDIF
#ENDLOCAL
#IF(#DELETE_LAST)
{InputError}
{DeleteLast}
#ENDIF
#IF(#INVISIBLE_DEFAULT)
{InputError}
{InvisibleDefault}
#ENDIF
#IF(#DELETE)
#ELSE
#IF(#COUNT(#Shop.Currencies) NNE 1)
#ENDIF
#ENDIF
#IF(NOT #DELETE AND #FUNCTION("MENU_COUNT", "RelatedTopic") > 0)