This commit is contained in:
root
2025-11-13 19:52:28 +03:00
parent 8aeeb05b7d
commit 807dec3b6c
4646 changed files with 163445 additions and 626017 deletions

View File

@@ -183,7 +183,7 @@ BX.rest.Marketplace = (function(){
BX("mp_tos_license") && !BX("mp_tos_license").checked
)
{
BX("mp_detail_error").innerHTML = BX.message("MARKETPLACE_LICENSE_TOS_ERROR_2");
BX("mp_detail_error").innerHTML = BX.message("MARKETPLACE_LICENSE_TOS_ERROR_2_MSGVER_1");
return;
}
@@ -462,6 +462,18 @@ BX.rest.Marketplace = (function(){
);
}
var isRenamedMarket = BX.message("IS_RENAMED_MARKET");
var marketSubscriptionText3 = '';
if (isRenamedMarket === 'Y')
{
marketSubscriptionText3 = BX.message("REST_MP_SUBSCRIPTION_TEXT_3_MSGVER_1");
}
else
{
marketSubscriptionText3 = BX.message("REST_MP_SUBSCRIPTION_TEXT_3_MSGVER_2");
}
var oPopup = BX.PopupWindowManager.create('marketplace_buy_subscription', null, {
content: BX.create(
'div',
@@ -508,7 +520,7 @@ BX.rest.Marketplace = (function(){
props: {
className: 'rest-marketplace-popup-text'
},
html: BX.message("REST_MP_SUBSCRIPTION_TEXT_3").replace(
html: marketSubscriptionText3.replace(
'#ONCLICK#',
'BX.rest.Marketplace.open(null,\'subscription\')'
)
@@ -679,6 +691,19 @@ BX.rest.Marketplace = (function(){
this
)
});
var isRenamedMarket = BX.message("IS_RENAMED_MARKET");
var marketDemoSubscriptionText1 = '';
if (isRenamedMarket === 'Y')
{
marketDemoSubscriptionText1 = BX.message("REST_MP_SUBSCRIPTION_DEMO_TEXT_1_MSGVER_1");
}
else
{
marketDemoSubscriptionText1 = BX.message("REST_MP_SUBSCRIPTION_DEMO_TEXT_1_MSGVER_2");
}
var popupDemo = BX.PopupWindowManager.create('marketplace_demo_subscription', null, {
content: BX.create(
'div',
@@ -710,7 +735,7 @@ BX.rest.Marketplace = (function(){
props: {
className: 'rest-marketplace-popup-text'
},
html: BX.message("REST_MP_SUBSCRIPTION_DEMO_TEXT_1").replace(
html: marketDemoSubscriptionText1.replace(
'#ONCLICK#',
'BX.rest.Marketplace.open(null,\'subscription\')'
)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long