summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 00:19:42 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 00:19:42 +0800
commit3a735279f626fa184d14c70da1e138d790bde5c4 (patch)
tree3f2ce5c4dddf356e64beca7cf88b08d419c312fd /mbbsd/board.c
parenta51aea7a5fee9ea81d7aa385074b9b7a2c107f87 (diff)
downloadpttbbs-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
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c16
1 files changed, 3 insertions, 13 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;
}