improve NaiveProxy menu

This commit is contained in:
mercury
2024-02-19 13:13:42 +04:00
parent 51cf14b209
commit f2f6d12abd
+5 -4
View File
@@ -2928,8 +2928,8 @@ DNS-over-HTTPS with IP:
],
[
[
'text' => $this->i18n('config'),
'callback_data' => "/menu config",
'text' => $this->i18n('naive'),
'callback_data' => "/menu naive",
],
[
'text' => $this->i18n('pac'),
@@ -2938,8 +2938,8 @@ DNS-over-HTTPS with IP:
],
[
[
'text' => $this->i18n('naive'),
'callback_data' => "/menu naive",
'text' => $this->i18n('config'),
'callback_data' => "/menu config",
],
],
[
@@ -3011,6 +3011,7 @@ DNS-over-HTTPS with IP:
{
$pac = $this->getPacConf();
$text[] = "Menu -> NaiveProxy";
$text[] = "<code>https://np.{$pac['domain']}</code>";
$text[] = "user: <span class='tg-spoiler'>{$pac['naive']['user']}</span>";
$text[] = "password: <span class='tg-spoiler'>{$pac['naive']['pass']}</span>";
$data[] = [