diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-07 13:54:36 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-07 13:54:36 +0800 |
commit | dfeb1a9e710617bb8b800ec0a11350d1c9f79489 (patch) | |
tree | f4d24b991bdf3004165fa8468710a38ab02ca21b /mbbsd/user.c | |
parent | d4d7b4113cf03c906f9d408526b0dee082adde53 (diff) | |
download | pttbbs-dfeb1a9e710617bb8b800ec0a11350d1c9f79489.tar pttbbs-dfeb1a9e710617bb8b800ec0a11350d1c9f79489.tar.gz pttbbs-dfeb1a9e710617bb8b800ec0a11350d1c9f79489.tar.bz2 pttbbs-dfeb1a9e710617bb8b800ec0a11350d1c9f79489.tar.lz pttbbs-dfeb1a9e710617bb8b800ec0a11350d1c9f79489.tar.xz pttbbs-dfeb1a9e710617bb8b800ec0a11350d1c9f79489.tar.zst pttbbs-dfeb1a9e710617bb8b800ec0a11350d1c9f79489.zip |
* move oldnumlogin display from talk=>query to user=>info.
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4817 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index e1d6dc26..8d93d95e 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -173,8 +173,11 @@ user_display(const userec_t * u, int adminmode) prints("\t\t認證資料: %s\n", u->justify); } - prints("\t\t上站文章: " STR_LOGINDAYS " %d " STR_LOGINDAYS_QTY "/ 文章 %d 篇\n", - u->numlogindays, u->numposts); + prints("\t\t使用記錄: " STR_LOGINDAYS " %d " STR_LOGINDAYS_QTY + ,u->numlogindays); + if (u->old_numlogins) + prints(" (轉換新制前: %d)", u->old_numlogins); + prints(" / 文章 %d 篇\n", u->numposts); sethomedir(genbuf, u->userid); prints("\t\t私人信箱: %d 封 (購買信箱: %d 封)\n", |