mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 02:47:27 +08:00
fix userdetails page BT client SeedBox icon
This commit is contained in:
@@ -34,6 +34,7 @@ Complete PT website building solution. Based on NexusPHP + Laravel + Filament.
|
||||
- Custom menu
|
||||
- Lucky draw
|
||||
- Custom role permission
|
||||
- Section H&R
|
||||
## System Requirements
|
||||
- PHP: 8.0, must have extensions: bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix, gmp
|
||||
- Mysql: 5.7 latest version or above
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
- 自定义菜单
|
||||
- 幸运大转盘
|
||||
- 自定义角色权限
|
||||
- 分区 H&R
|
||||
|
||||
## 系统要求
|
||||
- PHP: 8.0,必须扩展:bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix, gmp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.28');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-10-07');
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.29');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-10-09');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -241,7 +241,7 @@ if (mysql_num_rows($res) > 0)
|
||||
$clientselect .= "<tr>";
|
||||
$clientselect .= sprintf('<td>%s</td>', get_agent($arr['peer_id'], $arr['agent']));
|
||||
if (user_can('userprofile') || $user["id"] == $CURUSER["id"]) {
|
||||
$clientselect .= sprintf('<td>%s</td><td>%s</td><td>%s</td>', $arr['ipv4'].$seedBoxRep->renderIcon($arr['ipv4'], $CURUSER['id']), $arr['ipv6'].$seedBoxRep->renderIcon($arr['ipv6'], $CURUSER['id']), $arr['port']);
|
||||
$clientselect .= sprintf('<td>%s</td><td>%s</td><td>%s</td>', $arr['ipv4'].$seedBoxRep->renderIcon($arr['ipv4'], $user['id']), $arr['ipv6'].$seedBoxRep->renderIcon($arr['ipv6'], $user['id']), $arr['port']);
|
||||
} else {
|
||||
$clientselect .= sprintf('<td>%s</td><td>%s</td><td>%s</td>', '---', '---', '---');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user