mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
fix medal save btn
This commit is contained in:
@@ -613,6 +613,7 @@ class UserRepository extends BaseRepository
|
||||
];
|
||||
}
|
||||
UserBanLog::query()->insert($userBanLogs);
|
||||
do_action("user_delete", $id);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.0');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-02-09');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-02-10');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -5901,7 +5901,7 @@ function build_medal_image(\Illuminate\Support\Collection $medals, $maxHeight =
|
||||
$medalImages[] = $html;
|
||||
}
|
||||
if ($withActions) {
|
||||
$medalImages[] = sprintf('<div style="display: flex;flex-direction: column;justify-content: space-between;margin-right: 10px"><span></span><input type="button" id="save-user-medal-btn" value="%s"/></div>', nexus_trans('label.save'));
|
||||
$medalImages[] = sprintf('<div style="display: flex;flex-direction: column;justify-content: space-between;margin-right: 10px"><div></div><div><input type="button" id="save-user-medal-btn" value="%s"/></div></div>', nexus_trans('label.save'));
|
||||
}
|
||||
return $wrapBefore . implode('', $medalImages) . $wrapAfter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user