From f4a389e36464e2465b636f035c658882fe3254c2 Mon Sep 17 00:00:00 2001 From: necro-nemsis Date: Sat, 30 Apr 2022 18:11:23 -0400 Subject: [PATCH] Add exit node info and form clear --- includes/functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 includes/functions.php diff --git a/includes/functions.php b/includes/functions.php old mode 100644 new mode 100755 index 28fa55e..c0e089f --- a/includes/functions.php +++ b/includes/functions.php @@ -308,11 +308,13 @@ function DisplayLokinetConfig() const data = await response.json(); for (var i = 0; i < data['exits'].length; i++) { if (data['exits'][i]['exit'] == selection) { - const { exit, auth, geo } = data['exits'][i]; + const { exit, auth, geo, rate } = data['exits'][i]; console.log('Exit name : ' + exit); console.log('Exit token : '+ auth); console.log('Exit location : ' + geo); + console.log('Exit rate : ' + rate); console.log('Dropdown selection : ' + selection); + alert('EXIT NODE INFORMATION\r\rExit Address : ' + exit + '\rExit Location : ' + geo + '\rExit Autorization Key : ' + auth + '\rMonthly Rate : ' + rate); document.getElementById("auth").value = auth; break; } @@ -323,8 +325,8 @@ function DisplayLokinetConfig() -
+ ', PHP_EOL;