diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 22:31:41 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 22:31:41 +0800 |
commit | b35ae20a364942ab97ff2d53226f613518fc07eb (patch) | |
tree | ed7a3e8ee3df81d3e7c8d5c432f8a14706ad10f6 /include | |
parent | e2edcb13a0eb21598f99ecc7a4e2627aa1c79bae (diff) | |
download | pttbbs-b35ae20a364942ab97ff2d53226f613518fc07eb.tar pttbbs-b35ae20a364942ab97ff2d53226f613518fc07eb.tar.gz pttbbs-b35ae20a364942ab97ff2d53226f613518fc07eb.tar.bz2 pttbbs-b35ae20a364942ab97ff2d53226f613518fc07eb.tar.lz pttbbs-b35ae20a364942ab97ff2d53226f613518fc07eb.tar.xz pttbbs-b35ae20a364942ab97ff2d53226f613518fc07eb.tar.zst pttbbs-b35ae20a364942ab97ff2d53226f613518fc07eb.zip |
- 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
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 11 | ||||
-rw-r--r-- | include/proto.h | 4 |
2 files changed, 7 insertions, 8 deletions
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); |