diff --git a/apps/documenteditor/mobile/app/template/Settings.template b/apps/documenteditor/mobile/app/template/Settings.template
index a3e6bc4b6..cde8bf0fd 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 84dbd7bcb..16c8fb0c7 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 d9b90cb1b..13dfa7993 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 dc9240246..e9986f8e3 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 a87da9488..0852487a3 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 a385fcaaf..a8471525f 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;