summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-08 00:56:22 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-08 00:56:22 +0800
commit832362c47fd3aa11394ebeedeb8ee9111294adc7 (patch)
tree648c92ee0873fb22248cc95057b8fbe9ac5dbc98
parent2ac1cc9e0c58dd7bfb6f4c15f69ab360a11c8f5e (diff)
downloadpttbbs-832362c47fd3aa11394ebeedeb8ee9111294adc7.tar
pttbbs-832362c47fd3aa11394ebeedeb8ee9111294adc7.tar.gz
pttbbs-832362c47fd3aa11394ebeedeb8ee9111294adc7.tar.bz2
pttbbs-832362c47fd3aa11394ebeedeb8ee9111294adc7.tar.lz
pttbbs-832362c47fd3aa11394ebeedeb8ee9111294adc7.tar.xz
pttbbs-832362c47fd3aa11394ebeedeb8ee9111294adc7.tar.zst
pttbbs-832362c47fd3aa11394ebeedeb8ee9111294adc7.zip
pretty format
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c2
-rw-r--r--mbbsd/menu.c14
-rw-r--r--mbbsd/var.c31
3 files changed, 27 insertions, 20 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 46a52e74..2256c6f4 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -507,7 +507,7 @@ show_brdlist(int head, int clsflag, int newflag)
outs( newflag ?
"總數 未讀 看 板 " :
" 編號 看 板 ");
- outs( " 類別 轉信 中 文 敘 述 人氣 板 主");
+ outs( " 類別 轉信 中 文 敘 述 人氣 板 主");
outslr("", 72, ANSI_RESET, 0);
move(b_lines, 0);
brdlist_foot();
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index 32c27da9..3d5bd4ac 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -589,12 +589,12 @@ static const commands_t playlist[] = {
/* XXX 壞掉了 */
/* {x_stock,0 , "SStock 【 股市行情 】"},*/
{forsearch,PERM_LOGINOK, "SSearchEngine【" ANSI_COLOR(1;35) " Ptt搜尋器 " ANSI_RESET "】"},
- {topsong,PERM_LOGINOK, "TTop Songs 【" ANSI_COLOR(1;32) "歐桑點歌排行榜" ANSI_RESET "】"},
+ {topsong,PERM_LOGINOK, "TTop Songs 【" ANSI_COLOR(1;32) " 點歌排行榜 " ANSI_RESET "】"},
{p_money,PERM_LOGINOK, "PPay 【" ANSI_COLOR(1;31) " Ptt量販店 " ANSI_RESET "】"},
{chicken_main,PERM_LOGINOK, "CChicken "
"【" ANSI_COLOR(1;34) " Ptt養雞場 " ANSI_RESET "】"},
{playground,PERM_LOGINOK, "AAmusement 【" ANSI_COLOR(1;33) " Ptt遊樂場 " ANSI_RESET "】"},
- {chessroom, PERM_LOGINOK, "BBhineseChess【" ANSI_COLOR(1;34) " Ptt棋院 " ANSI_RESET "】"},
+ {chessroom, PERM_LOGINOK, "BBChess 【" ANSI_COLOR(1;34) " Ptt棋院 " ANSI_RESET "】"},
{NULL, 0, NULL}
};
@@ -620,13 +620,13 @@ static const commands_t plist[] = {
{alive, PERM_LOGINOK, "00Alive 【 訂票雞 】"},
*/
{ticket_main, PERM_LOGINOK, "11Gamble 【 Ptt賭場 】"},
- {guess_main, PERM_LOGINOK, "22Guess number【 猜數字 】"},
- {othello_main, PERM_LOGINOK, "33Othello 【 黑白棋 】"},
+ {guess_main, PERM_LOGINOK, "22Guess number【 猜數字 】"},
+ {othello_main, PERM_LOGINOK, "33Othello 【 黑白棋 】"},
// {dice_main, PERM_LOGINOK, "44Dice 【 玩骰子 】"},
{vice_main, PERM_LOGINOK, "44Vice 【 發票對獎 】"},
- {g_card_jack, PERM_LOGINOK, "55Jack 【 黑傑克 】"},
- {g_ten_helf, PERM_LOGINOK, "66Tenhalf 【 十點半 】"},
- {card_99, PERM_LOGINOK, "77Nine 【 九十九 】"},
+ {g_card_jack, PERM_LOGINOK, "55Jack 【 黑傑克 】"},
+ {g_ten_helf, PERM_LOGINOK, "66Tenhalf 【 十點半 】"},
+ {card_99, PERM_LOGINOK, "77Nine 【 九十九 】"},
{NULL, 0, NULL}
};
diff --git a/mbbsd/var.c b/mbbsd/var.c
index a52f7757..16f3096f 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -604,18 +604,25 @@ word_t *toplev;
#ifndef _BBS_UTIL_C_
/* menu.c */
const commands_t cmdlist[] = {
- {admin, PERM_SYSOP|PERM_ACCOUNTS|PERM_BOARD|PERM_VIEWSYSOP|PERM_ACCTREG, "00Admin 【 系統維護區 】"},
- {Announce, 0, "AAnnounce 【 精華公佈欄 】"},
- {Boards, 0, "FFavorite 【 我 的 最愛 】"},
- {root_board, 0, "CClass 【 分組討論區 】"},
- {Mail, PERM_BASIC, "MMail 【 私人信件區 】"},
- {Talk, 0, "TTalk 【 休閒聊天區 】"},
- {User, 0, "UUser 【 個人設定區 】"},
- {Xyz, 0, "XXyz 【 系統工具區 】"},
- {Play_Play, PERM_BASIC, "PPlay 【 娛樂/休閒生活】"},
- {Name_Menu, PERM_LOGINOK, "NNamelist 【 編特別名單 】"},
- {Goodbye, 0, "GGoodbye 離開,再見……"},
- {NULL, 0, NULL}
+ {admin, PERM_SYSOP|PERM_ACCOUNTS|PERM_BOARD|PERM_VIEWSYSOP|PERM_ACCTREG,
+ "00Admin 【 系統維護區 】"},
+ {Announce, 0, "AAnnounce 【 精華公佈欄 】"},
+#ifdef DEBUG
+ /* this is the real code name */
+ {Boards, 0, "FFavorite 【 我的最不愛 】"},
+#else
+ /* this is for normal users */
+ {Boards, 0, "FFavorite 【 我的最愛 】"},
+#endif
+ {root_board,0, "CClass 【 分組討論區 】"},
+ {Mail, PERM_BASIC, "MMail 【 私人信件區 】"},
+ {Talk, 0, "TTalk 【 休閒聊天區 】"},
+ {User, 0, "UUser 【 個人設定區 】"},
+ {Xyz, 0, "XXyz 【 系統工具區 】"},
+ {Play_Play, PERM_BASIC, "PPlay 【 娛樂與休閒 】"},
+ {Name_Menu, PERM_LOGINOK, "NNamelist 【 編特別名單 】"},
+ {Goodbye, 0, "GGoodbye 離開,再見……"},
+ {NULL, 0, NULL}
};
#endif