From 2ab37cf8e468fddf658897f6ef9c6391f8784b8f Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 27 Oct 2018 07:51:57 -0400 Subject: modified sensitive info warning, removed old text from language files. Authors have to readd it --- www/js/LogCtrl.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'www/js/LogCtrl.js') diff --git a/www/js/LogCtrl.js b/www/js/LogCtrl.js index c575b5fb..cba597ed 100644 --- a/www/js/LogCtrl.js +++ b/www/js/LogCtrl.js @@ -111,7 +111,15 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo if (isAvailable) { - + + var body = "zmNinja version:" + $scope.zmAppVersion + + " (" + $rootScope.platformOS + ")
" + + "ZoneMinder version:" + NVRDataModel.getCurrentServerVersion(); + + + body = ''+$translate.instant('kSensitiveBody')+'

'+body; + + $fileLogger.checkFile() .then (function (d) { @@ -120,7 +128,8 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo cordova.plugins.email.open({ to: zm.authoremail, subject: $rootScope.appName + ' logs attached', - body: 'logs are attached', + body: body, + attachments: url }); -- cgit v1.2.3