diff --git a/apps/documenteditor/mobile/app/template/Settings.template b/apps/documenteditor/mobile/app/template/Settings.template index a3e6bc4b63..cde8bf0fd1 100644 --- a/apps/documenteditor/mobile/app/template/Settings.template +++ b/apps/documenteditor/mobile/app/template/Settings.template @@ -633,21 +633,21 @@

DOCUMENT EDITOR

-

<%= scope.textVersion %> {{PRODUCT_VERSION}}

+

<%= scope.textVersion %> <%= prodversion %>

-

{{PUBLISHER_NAME}}

-

{{PUBLISHER_ADDRESS}}

-

{{SUPPORT_EMAIL}}

-

{{PUBLISHER_PHONE}}

-

<% print(/^(?:https?:\/{2})?(\S+)/.exec('{{PUBLISHER_URL}}')[1]); %>

+

<%= publishername %>

+

<%= publisheraddr %>

+

<%= supportemail %>

+

<%= phonenum %>

+

<%= printed_url %>

diff --git a/apps/documenteditor/mobile/app/view/Settings.js b/apps/documenteditor/mobile/app/view/Settings.js index 84dbd7bcb0..16c8fb0c79 100644 --- a/apps/documenteditor/mobile/app/view/Settings.js +++ b/apps/documenteditor/mobile/app/view/Settings.js @@ -91,7 +91,14 @@ define([ phone : Common.SharedSettings.get('phone'), orthography: Common.SharedSettings.get('sailfish'), scope : this, - width : $(window).width() + width : $(window).width(), + prodversion: '{{PRODUCT_VERSION}}', + publishername: '{{PUBLISHER_NAME}}', + publisheraddr: '{{PUBLISHER_ADDRESS}}', + publisherurl: '{{PUBLISHER_URL}}', + printed_url: ("{{PUBLISHER_URL}}").replace(/https?:\/{2}/, "").replace(/\/$/,""), + supportemail: '{{SUPPORT_EMAIL}}', + phonenum: '{{PUBLISHER_PHONE}}' })); return this; diff --git a/apps/presentationeditor/mobile/app/template/Settings.template b/apps/presentationeditor/mobile/app/template/Settings.template index d9b90cb1b5..13dfa79933 100644 --- a/apps/presentationeditor/mobile/app/template/Settings.template +++ b/apps/presentationeditor/mobile/app/template/Settings.template @@ -386,21 +386,21 @@

PRESENTATION EDITOR

-

<%= scope.textVersion %> {{PRODUCT_VERSION}}

+

<%= scope.textVersion %> <%= prodversion %>

-

Ascensio System SIA

-

{{PUBLISHER_ADDRESS}}

-

{{SUPPORT_EMAIL}}

-

{{PUBLISHER_PHONE}}

-

<% print(/^(?:https?:\/{2})?(\S+)/.exec('{{PUBLISHER_URL}}')[1]); %>

+

<%= publishername %>

+

<%= publisheraddr %>

+

<%= supportemail %>

+

<%= phonenum %>

+

<%= printed_url %>

diff --git a/apps/presentationeditor/mobile/app/view/Settings.js b/apps/presentationeditor/mobile/app/view/Settings.js index dc92402466..e9986f8e33 100644 --- a/apps/presentationeditor/mobile/app/view/Settings.js +++ b/apps/presentationeditor/mobile/app/view/Settings.js @@ -92,7 +92,14 @@ define([ android: Common.SharedSettings.get('android'), phone: Common.SharedSettings.get('phone'), scope: this, - width: $(window).width() + width: $(window).width(), + prodversion: '{{PRODUCT_VERSION}}', + publishername: '{{PUBLISHER_NAME}}', + publisheraddr: '{{PUBLISHER_ADDRESS}}', + publisherurl: '{{PUBLISHER_URL}}', + printed_url: ("{{PUBLISHER_URL}}").replace(/https?:\/{2}/, "").replace(/\/$/,""), + supportemail: '{{SUPPORT_EMAIL}}', + phonenum: '{{PUBLISHER_PHONE}}' })); return this; diff --git a/apps/spreadsheeteditor/mobile/app/template/Settings.template b/apps/spreadsheeteditor/mobile/app/template/Settings.template index a87da94884..0852487a33 100644 --- a/apps/spreadsheeteditor/mobile/app/template/Settings.template +++ b/apps/spreadsheeteditor/mobile/app/template/Settings.template @@ -436,21 +436,21 @@

SPREADSHEET EDITOR

-

<%= scope.textVersion %> {{PRODUCT_VERSION}}

+

<%= scope.textVersion %> <%= prodversion %>

-

{{PUBLISHER_NAME}}

-

{{PUBLISHER_ADDRESS}}

-

{{SUPPORT_EMAIL}}

-

{{PUBLISHER_PHONE}}

-

<% print(/^(?:https?:\/{2})?(\S+)/.exec('{{PUBLISHER_URL}}')[1]); %>

+

<%= publishername %>

+

<%= publisheraddr %>

+

<%= supportemail %>

+

<%= phonenum %>

+

<%= printed_url %>

diff --git a/apps/spreadsheeteditor/mobile/app/view/Settings.js b/apps/spreadsheeteditor/mobile/app/view/Settings.js index a385fcaafe..a8471525ff 100644 --- a/apps/spreadsheeteditor/mobile/app/view/Settings.js +++ b/apps/spreadsheeteditor/mobile/app/view/Settings.js @@ -101,7 +101,14 @@ define([ xltx: Asc.c_oAscFileType.XLTX, ots: Asc.c_oAscFileType.OTS }, - width : $(window).width() + width : $(window).width(), + prodversion: '{{PRODUCT_VERSION}}', + publishername: '{{PUBLISHER_NAME}}', + publisheraddr: '{{PUBLISHER_ADDRESS}}', + publisherurl: '{{PUBLISHER_URL}}', + printed_url: ("{{PUBLISHER_URL}}").replace(/https?:\/{2}/, "").replace(/\/$/,""), + supportemail: '{{SUPPORT_EMAIL}}', + phonenum: '{{PUBLISHER_PHONE}}' })); return this;