diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-11 01:14:01 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-11 01:14:01 +0800 |
commit | 63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10 (patch) | |
tree | 9697bb9abe6159648a8afb5839a2db44fab81d56 /mbbsd/user.c | |
parent | b0f507a8e1e368a31ab45baff849a5d064350527 (diff) | |
download | pttbbs-63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10.tar pttbbs-63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10.tar.gz pttbbs-63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10.tar.bz2 pttbbs-63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10.tar.lz pttbbs-63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10.tar.xz pttbbs-63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10.tar.zst pttbbs-63543835c8a092b0bf8e6d8dc0d9f29eed0e5c10.zip |
- user: display over18 evalulation result
- register: reject invalid (in future) birthday input.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index c077280a..47cfb674 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -146,10 +146,10 @@ user_display(const userec_t * u, int adminmode) sethomedir(genbuf, u->userid); prints(" 私人信箱: %d 封 (購買信箱: %d 封)\n" " 手機號碼: %010d\n" - " 生 日: %04i/%02i/%02i\n", + " 生 日: %04i/%02i/%02i (%s滿18歲)\n", get_num_records(genbuf, sizeof(fileheader_t)), u->exmailbox, u->mobile, - u->year + 1900, u->month, u->day + u->year + 1900, u->month, u->day, over18 ? "已" : "未" ); #ifdef ASSESS |