From 3fb29022e04342c0a6c9112d578f44ae736c7e00 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 17 Dec 2007 08:25:17 +0000 Subject: - add "fix aloha" for users - general message finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 1 + mbbsd/bbs.c | 2 ++ mbbsd/friend.c | 73 ++++++++++++++++++++++++++++++++++++++++----------- mbbsd/menu.c | 1 + sample/etc/board.help | 9 +++---- 5 files changed, 66 insertions(+), 20 deletions(-) diff --git a/include/proto.h b/include/proto.h index cc69cda3..31d0b00a 100644 --- a/include/proto.h +++ b/include/proto.h @@ -284,6 +284,7 @@ void friend_edit(int type); void friend_load(int); int t_override(void); int t_reject(void); +int t_fix_aloha(); void friend_add(const char *uident, int type, const char *des); void friend_delete(const char *uident, int type); void friend_delete_all(const char *uident, int type); diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 8056ae55..bec7484c 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2496,7 +2496,9 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) int isGuest = (strcmp(cuser.userid, STR_GUEST) == EQUSTR); int logIP = 0; int ymsg = b_lines -1; +#ifdef ASSESS char oldrecom = fhdr->recommend; +#endif // ASSESS assert(0<=currbid-1 && currbid-1-+S) 主題式閱讀 (^P)/(y)/(X) 發表/回覆/推薦文章 (F/U)/(x) 轉寄至信箱/轉錄至其它看板 @@ -17,6 +17,5 @@ (M/o) 舉行投票/編輯投票名單 (m/c/g/^Z) 保留/選錄精華/文摘/置底 (D) 刪除一段範圍的文章 (Y) 取消推薦文章 (T/B) 重編文章標題/重編看板標題 (t/^D) 標記文章/砍除標記的文章 - (O)/(i) 發表注意事項/文章類別 (W)/(K)/(v) 編進板畫面/水桶/可見名單 - (^G) 舉辦賭盤/停止下注/開獎 (H) 切換看板隱藏 - (I) 看板設定(隱藏,推文,...) + (^G) 舉辦賭盤/停止下注/開獎 (W) 編進板畫面 + (I) 看板設定(隱藏,推文,...) -- cgit v1.2.3