summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-07 13:54:36 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-07 13:54:36 +0800
commitdfeb1a9e710617bb8b800ec0a11350d1c9f79489 (patch)
treef4d24b991bdf3004165fa8468710a38ab02ca21b
parentd4d7b4113cf03c906f9d408526b0dee082adde53 (diff)
downloadpttbbs-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
-rw-r--r--mbbsd/talk.c6
-rw-r--r--mbbsd/user.c7
2 files changed, 5 insertions, 8 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 5c906e9c..e807cf64 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -475,16 +475,10 @@ my_query(const char *uident)
// ------------------------------------------------------------
prints("《" STR_LOGINDAYS "》%d " STR_LOGINDAYS_QTY, muser.numlogindays);
-
- if (is_self && muser.old_numlogins)
- prints(" (舊值: %d) ", muser.old_numlogins);
- else
- {
#ifdef SHOW_LOGINOK
if (!(muser.userlevel & PERM_LOGINOK))
outs(" (尚未通過認證)");
#endif
- }
move(vgety(), 40);
prints("《有效文章》%d 篇", muser.numposts);
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",