summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-29 09:44:41 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-29 09:44:41 +0800
commit4ddf389fb92b92887e3c65f0d26261be3b387708 (patch)
treef6b2bf59ed7fb5a2b5c98ccfe9eb11fd406b10e0
parent4d7c07102c653dadbd57903a046d358931185b83 (diff)
downloadpttbbs-4ddf389fb92b92887e3c65f0d26261be3b387708.tar
pttbbs-4ddf389fb92b92887e3c65f0d26261be3b387708.tar.gz
pttbbs-4ddf389fb92b92887e3c65f0d26261be3b387708.tar.bz2
pttbbs-4ddf389fb92b92887e3c65f0d26261be3b387708.tar.lz
pttbbs-4ddf389fb92b92887e3c65f0d26261be3b387708.tar.xz
pttbbs-4ddf389fb92b92887e3c65f0d26261be3b387708.tar.zst
pttbbs-4ddf389fb92b92887e3c65f0d26261be3b387708.zip
- bbs: change default cursor location to "end of .DIR records" excluding .DIR.bottom
- general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c4
-rw-r--r--mbbsd/user.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 27b623e0..f77c8310 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1961,7 +1961,7 @@ editLimits(unsigned char *pregtime, unsigned char *plogins,
sprintf(genbuf, "%u", logins*10);
do {
getdata_buf(b_lines - 1, 0,
- "上站次數下限 (0~2550,以10為單位):", genbuf, 5, LCECHO);
+ "上站次數下限 (0~2550,以10為單位,個位數字將自動捨去):", genbuf, 5, LCECHO);
temp = atoi(genbuf);
} while (temp < 0 || temp > 2550);
logins = (unsigned char)(temp / 10);
@@ -1969,7 +1969,7 @@ editLimits(unsigned char *pregtime, unsigned char *plogins,
sprintf(genbuf, "%u", posts*10);
do {
getdata_buf(b_lines - 1, 0,
- "文章篇數下限 (0~2550,以10為單位):", genbuf, 5, LCECHO);
+ "文章篇數下限 (0~2550,以10為單位,個位數字將自動捨去):", genbuf, 5, LCECHO);
temp = atoi(genbuf);
} while (temp < 0 || temp > 2550);
posts = (unsigned char)(temp / 10);
diff --git a/mbbsd/user.c b/mbbsd/user.c
index c58e2472..21140b7c 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -698,8 +698,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
case 'm':
do {
- getdata_str(y, 0, adminmode ? "電子信箱 (站長可設為 x ): "
- : "電子信箱 [變動要重新認證]:", buf,
+ getdata_str(y, 0, "電子信箱 [變動要重新認證]:", buf,
sizeof(x.email), DOECHO, x.email);
} while (!isvalidemail(buf) && vmsg("認證信箱不能用使用免費信箱"));
y++;