From b35ae20a364942ab97ff2d53226f613518fc07eb Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 6 Mar 2008 14:31:41 +0000 Subject: - user/chicken: enable sysop toggle chicken-death - mail: UI message finetune, prevent 'mail-folder' for non-authorized users git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3970 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/common.h | 11 +++++------ include/proto.h | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 24193642..825f4852 100644 --- a/include/common.h +++ b/include/common.h @@ -112,12 +112,11 @@ #define MSG_MAILER_LEN (78) #define MSG_MAILER \ ANSI_COLOR(34;46) " 鴻雁往返 " \ - ANSI_COLOR(31;47) " (R)" ANSI_COLOR(30) "回信" \ - ANSI_COLOR(31) "(x)" ANSI_COLOR(30) "轉寄" \ - ANSI_COLOR(31) "(y)" ANSI_COLOR(30) "回群組信 " \ - ANSI_COLOR(31) "(D)" ANSI_COLOR(30) "刪除 " \ - ANSI_COLOR(31) "(c)" ANSI_COLOR(30) "收入信件夾" \ - ANSI_COLOR(31) "(z)" ANSI_COLOR(30) "信件夾 " \ + ANSI_COLOR(31;47) " (R)" ANSI_COLOR(30) "回信 " \ + ANSI_COLOR(31) "(x)" ANSI_COLOR(30) "站內轉寄 " \ + ANSI_COLOR(31) "(y)" ANSI_COLOR(30) "回群組信 " \ + ANSI_COLOR(31) "(d/D)" ANSI_COLOR(30) "刪信 " \ + ANSI_COLOR(31) "(m)" ANSI_COLOR(30) "避免誤刪 " \ ANSI_COLOR(31) "←[q]" ANSI_COLOR(30) "離開 " \ "" diff --git a/include/proto.h b/include/proto.h index 705992cd..84c2ae5a 100644 --- a/include/proto.h +++ b/include/proto.h @@ -210,11 +210,11 @@ ChessInfo* chc_replay(FILE* fp); /* chicken */ int chicken_main(void); int chickenpk(int fd); -int reload_chicken(void); +int load_chicken(const char *uid, chicken_t *mychicken); void chicken_query(const char *userid); void ch_buyitem(int money, const char *picture, int *item, int haveticket); void show_chicken_data(chicken_t *thechicken, chicken_t *pkchicken); -int load_chicken(const char *uid, chicken_t *mychicken); +void chicken_toggle_death(const char *uid); /* dark */ int main_dark(int fd,userinfo_t *uin); -- cgit v1.2.3