diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-18 00:19:42 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-18 00:19:42 +0800 |
commit | 3a735279f626fa184d14c70da1e138d790bde5c4 (patch) | |
tree | 3f2ce5c4dddf356e64beca7cf88b08d419c312fd | |
parent | a51aea7a5fee9ea81d7aa385074b9b7a2c107f87 (diff) | |
download | pttbbs-3a735279f626fa184d14c70da1e138d790bde5c4.tar pttbbs-3a735279f626fa184d14c70da1e138d790bde5c4.tar.gz pttbbs-3a735279f626fa184d14c70da1e138d790bde5c4.tar.bz2 pttbbs-3a735279f626fa184d14c70da1e138d790bde5c4.tar.lz pttbbs-3a735279f626fa184d14c70da1e138d790bde5c4.tar.xz pttbbs-3a735279f626fa184d14c70da1e138d790bde5c4.tar.zst pttbbs-3a735279f626fa184d14c70da1e138d790bde5c4.zip |
- give_money: message refine
- (internal) board: code and message refine
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 16 | ||||
-rw-r--r-- | mbbsd/cal.c | 6 |
2 files changed, 7 insertions, 15 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 4cb8fe58..f0d0f4e7 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -310,12 +310,8 @@ b_config(void) move(ytitle-1, 0); clrtobot(); // outs(MSG_SEPERATOR); // deprecated by grayout - move(ytitle, 0); - outs(ANSI_COLOR(7) " " ); outs(bp->brdname); outs(" 看板設定"); - i = t_columns - strlen(bp->brdname) - strlen(" 看板設定") - 2; - for (; i>0; i--) - outc(' '); - outs(ANSI_RESET); + outs("\n" ANSI_COLOR(7)); // now (ytitle, 0); + vbarf(" 《%s》看板設定", bp->brdname); move(ytitle +2, 0); clrtobot(); @@ -339,8 +335,6 @@ b_config(void) " - %s "ANSI_RESET "非板友發文\n", (bp->brdattr & BRD_RESTRICTEDPOST) ? ANSI_COLOR(1)"不開放" : "開放" - //,(!(bp->brdattr & BRD_RESTRICTEDPOST) && !canpost) ? - // CANTPOSTMSG : "" ); prints( " " ANSI_COLOR(1;36) "y" ANSI_RESET @@ -348,16 +342,12 @@ b_config(void) " 回應文章\n", (bp->brdattr & BRD_NOREPLY) ? ANSI_COLOR(1)"不開放" : "開放" - //,(!(bp->brdattr & BRD_NOREPLY) && !canpost) ? - // CANTPOSTMSG : "" ); prints( " " ANSI_COLOR(1;36) "r" ANSI_RESET " - %s " ANSI_RESET "推薦文章\n", (bp->brdattr & BRD_NORECOMMEND) ? ANSI_COLOR(31)"不開放":"開放" - //,(!(bp->brdattr & BRD_NORECOMMEND) && !canpost) ? - // CANTPOSTMSG : "" ); #ifndef OLDRECOMMEND @@ -539,7 +529,7 @@ b_config(void) move(b_lines, 0); if (!isBM) { - vmsg("您對此板無管理權限"); + pressanykey(); return FULLUPDATE; } diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 7cf8c671..a3b259bc 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -476,12 +476,14 @@ give_money_ui(const char *userid) lastauth = now; break; } + // if we show '%d chances left', some user may think + // they will be locked out... if (tries > 0) - vmsgf("密碼錯誤,還有 %d 次機會。", tries); + vmsg("密碼錯誤,請重試。"); } if (tries < 0) { - vmsg("交易取消!"); + vmsg("錯誤次數過多,交易取消!"); return -1; } // vmsg("準備交易。"); |