diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-16 01:31:39 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-16 01:31:39 +0800 |
commit | abc6c1897ac5c424942693652750d08266b0fd2f (patch) | |
tree | 7b0ba8c1c73d2506892ba43f6e9fe6b773f7d298 /mbbsd | |
parent | e9d8d98773a699d4ede955f2f3259559a3084296 (diff) | |
download | pttbbs-abc6c1897ac5c424942693652750d08266b0fd2f.tar pttbbs-abc6c1897ac5c424942693652750d08266b0fd2f.tar.gz pttbbs-abc6c1897ac5c424942693652750d08266b0fd2f.tar.bz2 pttbbs-abc6c1897ac5c424942693652750d08266b0fd2f.tar.lz pttbbs-abc6c1897ac5c424942693652750d08266b0fd2f.tar.xz pttbbs-abc6c1897ac5c424942693652750d08266b0fd2f.tar.zst pttbbs-abc6c1897ac5c424942693652750d08266b0fd2f.zip |
- scroll for recommending articles
- confirm vote_admin
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2932 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 3 | ||||
-rw-r--r-- | mbbsd/vote.c | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 9c37f228..29a6e14c 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1788,6 +1788,9 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) } type = 0; + /* scroll down */ + move(b_lines-1, 0); + scroll(); scroll(); scroll(); /* clear screen */ move(b_lines-3, 0); diff --git a/mbbsd/vote.c b/mbbsd/vote.c index 2cbcb806..0bc47449 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -613,7 +613,6 @@ vote_maintain(const char *bname) if ((pos = getbnum(bname)) <= 0) return 0; - stand_title("羭快щ布"); fhp = bcache + pos - 1; if (fhp->bvote != 0) { @@ -665,6 +664,13 @@ vote_maintain(const char *bname) if (x >= MAX_VOTE_NR) return FULLUPDATE; + getdata(b_lines - 1, 0, + "絋﹚璶羭快щ布盾 [y/N]: ", + inbuf, 4, LCECHO); + if (inbuf[0] != 'y') + return FULLUPDATE; + + stand_title("羭快щ布"); snprintf(vbuf.ballots, sizeof(vbuf.ballots), "%s%d", STR_bv_ballots, x); snprintf(vbuf.control, sizeof(vbuf.control), "%s%d", STR_bv_control, x); snprintf(vbuf.desc, sizeof(vbuf.desc), "%s%d", STR_bv_desc, x); |