mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
adjust medal and rainbow ID style
This commit is contained in:
@@ -25,6 +25,13 @@ Complete PT website building solution. Based on NexusPHP + Laravel + Filament.
|
||||
- Backend management system
|
||||
- Json API
|
||||
- ....
|
||||
|
||||
#### The following functions are provided by the plugin
|
||||
- Post like
|
||||
- Post reward
|
||||
- Sticky promotion
|
||||
- Custom menu
|
||||
- Lucky draw
|
||||
|
||||
## 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
|
||||
|
||||
@@ -25,6 +25,13 @@
|
||||
- Json API
|
||||
- ....
|
||||
|
||||
#### 以下功能由插件提供
|
||||
- 帖子点赞
|
||||
- 帖子奖励
|
||||
- 置顶促销
|
||||
- 自定义菜单
|
||||
- 幸运大转盘
|
||||
|
||||
## 系统要求
|
||||
- PHP: 8.0,必须扩展:bcmath, ctype, curl, fileinfo, json, mbstring, openssl, pdo_mysql, tokenizer, xml, mysqli, gd, redis, pcntl, sockets, posix, gmp
|
||||
- Mysql: 5.7 最新版或以上版本
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.21');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-08-10');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-08-11');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -3736,7 +3736,7 @@ function get_username($id, $big = false, $link = true, $bold = true, $target = f
|
||||
//medal
|
||||
$medalHtml = '';
|
||||
foreach ($arr['wearing_medals'] as $medal) {
|
||||
$medalHtml .= sprintf('<img src="%s" title="%s" class="preview" style="vertical-align: middle;max-height: 16px;max-width: 16px;margin-right: 2px"/>', $medal['image_large'], $medal['name']);
|
||||
$medalHtml .= sprintf('<img src="%s" title="%s" class="preview" style="vertical-align: sub;max-height: 16px;max-width: 16px;margin-right: 2px"/>', $medal['image_large'], $medal['name']);
|
||||
}
|
||||
|
||||
$href = getSchemeAndHttpHost() . "/userdetails.php?id=$id";
|
||||
|
||||
2
public/styles/sprites.css
vendored
2
public/styles/sprites.css
vendored
@@ -511,7 +511,7 @@ img.hitandrun {
|
||||
text-align: center;
|
||||
text-decoration: underline;
|
||||
/*font-size: 32px;*/
|
||||
font-family: monospace;
|
||||
/*font-family: monospace;*/
|
||||
/*letter-spacing: 5px;*/
|
||||
background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
|
||||
-webkit-background-clip: text;
|
||||
|
||||
Reference in New Issue
Block a user