diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 12:56:42 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 12:56:42 +0800 |
commit | b384cc82423ed1e451b2109d2bd3ad22dd8e15cb (patch) | |
tree | dadd3a2d9b22f39d31e2fd5ec22cadb2c4bcb217 /mbbsd/bbs.c | |
parent | 008f29d6b5dd32a4c0f178b4398fdb08ec4ffb5d (diff) | |
download | pttbbs-b384cc82423ed1e451b2109d2bd3ad22dd8e15cb.tar pttbbs-b384cc82423ed1e451b2109d2bd3ad22dd8e15cb.tar.gz pttbbs-b384cc82423ed1e451b2109d2bd3ad22dd8e15cb.tar.bz2 pttbbs-b384cc82423ed1e451b2109d2bd3ad22dd8e15cb.tar.lz pttbbs-b384cc82423ed1e451b2109d2bd3ad22dd8e15cb.tar.xz pttbbs-b384cc82423ed1e451b2109d2bd3ad22dd8e15cb.tar.zst pttbbs-b384cc82423ed1e451b2109d2bd3ad22dd8e15cb.zip |
- bbs: alert push_bottom for the relationship with original files
- register: explain on being revoked for registration.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4215 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index c8134c3d..d843afdb 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -3698,6 +3698,11 @@ push_bottom(int ent, fileheader_t *fhdr, const char *direct) return DONOTHING; setbottomtotal(currbid); // <- Ptt : will be remove when stable num = getbottomtotal(currbid); + if (!(fhdr->filemode & FILE_BOTTOM)) + { + move(b_lines-1, 0); clrtoeol(); + outs(ANSI_COLOR(1;33) "提醒您置底與原文目前互為連結,刪掉原文也會導致置底消失。" ANSI_RESET); + } if( vans(fhdr->filemode & FILE_BOTTOM ? "取消置底公告?(y/N)": "加入置底公告?(y/N)") != 'y' ) |