donate button update
This commit is contained in:
+4
-2
@@ -3124,7 +3124,9 @@ DNS-over-HTTPS with IP:
|
||||
|
||||
public function menu($type = false, $arg = false, $return = false)
|
||||
{
|
||||
$menu = [
|
||||
$domain = $this->getPacConf()['domain'] ?: $this->ip;
|
||||
$scheme = empty($this->nginxGetTypeCert()) ? 'http' : 'https';
|
||||
$menu = [
|
||||
'main' => [
|
||||
'text' => 'v' . getenv('VER'),
|
||||
'data' => [
|
||||
@@ -3192,7 +3194,7 @@ DNS-over-HTTPS with IP:
|
||||
[
|
||||
'text' => $this->i18n('donate'),
|
||||
'web_app' => [
|
||||
'url' => "https://www.donationalerts.com/r/mercurykd",
|
||||
'url' => "$scheme://$domain/donate.html",
|
||||
]
|
||||
],
|
||||
],
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<div style="position:relative;width:100%;height:100%">
|
||||
<img style="position:absolute;top:0;right:0;width:35%" src="toncoin.png" alt="">
|
||||
<iframe style="width:100%;height:100%" src="https://www.donationalerts.com/r/mercurykd" frameborder="0"></iframe>
|
||||
</div>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user