diff options
Diffstat (limited to 'mbbsd')
-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("準備交易。"); |