donate custom td colspan 2

This commit is contained in:
xiaomlove
2022-05-07 02:47:21 +08:00
parent 83c0a261db
commit 42bc88e53a
10 changed files with 15 additions and 11 deletions
+2
View File
@@ -10,11 +10,13 @@ Complete PT website building solution. Based on NexusPHP + Laravel Framework + E
- Subtitle - Subtitle
- Exam - Exam
- H&R - H&R
- Claim
- Attendance - Attendance
- Retroactive attendance card - Retroactive attendance card
- Medal - Medal
- Custom tags - Custom tags
- Forum - Forum
- Complain
- Multi-language - Multi-language
- Automatic backup - Automatic backup
- Backend management system - Backend management system
+2
View File
@@ -9,11 +9,13 @@
- 字幕 - 字幕
- 考核 - 考核
- H&R - H&R
- 认领
- 签到 - 签到
- 补签卡 - 补签卡
- 勋章 - 勋章
- 自定义标签 - 自定义标签
- 论坛 - 论坛
- 申诉
- 多语言 - 多语言
- 自动备份 - 自动备份
- 管理后台 - 管理后台
+2 -2
View File
@@ -14,9 +14,9 @@ class Setting extends NexusModel
* *
* @param null $name * @param null $name
* @param null $default * @param null $default
* @return array|\ArrayAccess|false|int|mixed|string|null * @return mixed
*/ */
public static function get($name = null, $default = null) public static function get($name = null, $default = null): mixed
{ {
$settings = NexusDB::remember("nexus_settings_in_laravel", 600, function () { $settings = NexusDB::remember("nexus_settings_in_laravel", 600, function () {
return self::getFromDb(); return self::getFromDb();
+1 -1
View File
@@ -1,6 +1,6 @@
<?php <?php
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.8'); defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.8');
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-05-06'); defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-05-07');
defined('IN_TRACKER') || define('IN_TRACKER', true); defined('IN_TRACKER') || define('IN_TRACKER', true);
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP"); defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org"); defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
+2 -2
View File
@@ -17,8 +17,8 @@ $lang_complains = [
'text_added' => '申诉时间', 'text_added' => '申诉时间',
'text_no_replies' => '当前暂无申诉跟踪内容', 'text_no_replies' => '当前暂无申诉跟踪内容',
'text_closed' => '该申诉已处理完毕,不能回复', 'text_closed' => '该申诉已处理完毕,不能回复',
'text_answer_it' => '关闭该申', 'text_answer_it' => '关闭该申',
'text_unanswer_it' => '重开该申', 'text_unanswer_it' => '重开该申',
'th_complain_at' => '申诉时间', 'th_complain_at' => '申诉时间',
'th_complain_account' => '申诉账号', 'th_complain_account' => '申诉账号',
'th_action_view' => '查看', 'th_action_view' => '查看',
+1 -1
View File
@@ -317,7 +317,7 @@ $lang_functions = array
'spoiler_expand_collapse' => '点击展开/收缩', 'spoiler_expand_collapse' => '点击展开/收缩',
'spoiler_default_title' => '折叠内容', 'spoiler_default_title' => '折叠内容',
'menu_claim' => '认领: ', 'menu_claim' => '认领: ',
'text_complains' => '有%s%u个待处理的申%s', 'text_complains' => '有%s%u个待处理的申%s',
); );
?> ?>
+2 -2
View File
@@ -17,8 +17,8 @@ $lang_complains = [
'text_added' => '申訴時間', 'text_added' => '申訴時間',
'text_no_replies' => '當前暫無申訴跟蹤內容', 'text_no_replies' => '當前暫無申訴跟蹤內容',
'text_closed' => '該申訴已處理完畢,不能回復', 'text_closed' => '該申訴已處理完畢,不能回復',
'text_answer_it' => '關閉該申', 'text_answer_it' => '關閉該申',
'text_unanswer_it' => '重開該申', 'text_unanswer_it' => '重開該申',
'th_complain_at' => '申訴時間', 'th_complain_at' => '申訴時間',
'th_complain_account' => '申訴賬號', 'th_complain_account' => '申訴賬號',
'th_action_view' => '查看', 'th_action_view' => '查看',
+1 -1
View File
@@ -324,7 +324,7 @@ $lang_functions = array
'spoiler_expand_collapse' => '點擊展開/收縮', 'spoiler_expand_collapse' => '點擊展開/收縮',
'spoiler_default_title' => '折疊內容', 'spoiler_default_title' => '折疊內容',
'menu_claim' => '認領: ', 'menu_claim' => '認領: ',
'text_complains' => '有%s%u個待處理的申%s', 'text_complains' => '有%s%u個待處理的申%s',
); );
?> ?>
+1 -1
View File
@@ -55,7 +55,7 @@ JS;
begin_main_frame(); begin_main_frame();
$total = (clone $query)->count(); $total = (clone $query)->count();
list($pagertop, $pagerbottom, $limit, $offset, $pageSize) = pager(50, $total, $pagerParam); list($pagertop, $pagerbottom, $limit, $offset, $pageSize) = pager(50, $total, $pagerParam);
$list = (clone $query)->with(['user', 'torrent', 'snatch'])->get(); $list = (clone $query)->with(['user', 'torrent', 'snatch'])->offset($offset)->limit($pageSize)->orderBy('id', 'desc')->get();
print("<table id='claim-table' width='100%'>"); print("<table id='claim-table' width='100%'>");
print("<tr> print("<tr>
<td class='colhead' align='center'>".nexus_trans('claim.th_id')."</td> <td class='colhead' align='center'>".nexus_trans('claim.th_id')."</td>
+1 -1
View File
@@ -39,7 +39,7 @@ else
print("<table width=100%>"); print("<table width=100%>");
print("<tr><td colspan=2 class=text align=left>".$lang_donate['text_donation_note']."</td></tr>"); print("<tr><td colspan=2 class=text align=left>".$lang_donate['text_donation_note']."</td></tr>");
if ($custom) { if ($custom) {
echo sprintf('<tr><td class="text" align="left">%s</td></tr>', format_comment($custom)); echo sprintf('<tr><td class="text" align="left" colspan="2">%s</td></tr>', format_comment($custom));
} }
print("<tr>"); print("<tr>");
if ($showpaypal){ if ($showpaypal){