From ddd61fd2f899809944a2ba190be0853188735c2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?=
<93301500+xushubieli@users.noreply.github.com>
Date: Tue, 4 Apr 2023 15:25:24 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E6=8A=95=E7=A8=BF=E9=BB=98?=
=?UTF-8?q?=E8=AE=A4=E4=B8=8D=E5=AE=A1=E6=A0=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/user/album_add.php | 2 +-
src/user/album_edit.php | 2 +-
src/user/archives_add.php | 2 +-
src/user/archives_edit.php | 2 +-
src/user/archives_sg_add.php | 2 +-
src/user/archives_sg_edit.php | 2 +-
src/user/article_add.php | 2 +-
src/user/article_edit.php | 2 +-
src/user/inc/archives_check.php | 2 ++
9 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/user/album_add.php b/src/user/album_add.php
index 6b322270..a5e20c0a 100755
--- a/src/user/album_add.php
+++ b/src/user/album_add.php
@@ -29,7 +29,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0;
$menutype = 'content';
if (empty($formhtml)) $formhtml = 0;
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/album_edit.php b/src/user/album_edit.php
index f932671f..798cf483 100755
--- a/src/user/album_edit.php
+++ b/src/user/album_edit.php
@@ -28,7 +28,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0;
$menutype = 'content';
if (empty($formhtml)) $formhtml = 0;
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/archives_add.php b/src/user/archives_add.php
index f27c2012..545ee1c2 100755
--- a/src/user/archives_add.php
+++ b/src/user/archives_add.php
@@ -20,7 +20,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0;
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0;
$menutype = 'content';
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/archives_edit.php b/src/user/archives_edit.php
index 7300a5d5..934e53ed 100755
--- a/src/user/archives_edit.php
+++ b/src/user/archives_edit.php
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0;
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0;
$menutype = 'content';
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/archives_sg_add.php b/src/user/archives_sg_add.php
index 75f3f90d..4ac13205 100755
--- a/src/user/archives_sg_add.php
+++ b/src/user/archives_sg_add.php
@@ -20,7 +20,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0;
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0;
$menutype = 'content';
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/archives_sg_edit.php b/src/user/archives_sg_edit.php
index c17d0634..e43c9ab4 100755
--- a/src/user/archives_sg_edit.php
+++ b/src/user/archives_sg_edit.php
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0;
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0;
$menutype = 'content';
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/article_add.php b/src/user/article_add.php
index 6de219d8..ec6ab6eb 100755
--- a/src/user/article_add.php
+++ b/src/user/article_add.php
@@ -20,7 +20,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0;
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0;
$menutype = 'content';
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/article_edit.php b/src/user/article_edit.php
index 7be4fe9d..848c87b9 100755
--- a/src/user/article_edit.php
+++ b/src/user/article_edit.php
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0;
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0;
$menutype = 'content';
if ($cfg_ml->IsSendLimited()) {
- ShowMsg("投稿失败,剩余次数:{$cfg_ml->M_SendMax}次", "-1", "0", 5000);
+ ShowMsg("投稿失败,每天次数{$cfg_ml->M_SendMax}次,需要增加次数,请联系网站管理员", "-1", "0", 5000);
exit();
}
if (empty($dopost)) {
diff --git a/src/user/inc/archives_check.php b/src/user/inc/archives_check.php
index efa1a6c2..9193a50e 100755
--- a/src/user/inc/archives_check.php
+++ b/src/user/inc/archives_check.php
@@ -44,6 +44,8 @@ if ($cInfos['arcsta'] == 0) {
} else if ($cInfos['arcsta'] == 1) {
$ismake = -1;
$arcrank = 0;
+} else if ($cfg_ml->IsLogin()) {
+ $arcrank = 0;
} else {
$ismake = 0;
$arcrank = -1;