summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-21 09:42:44 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-21 09:42:44 +0800
commit8c247c7f016f3c4d00776b31e812189db9fce89b (patch)
tree6e06adae3d5d85ad2996cd511c03b3eabf0eea9b /mbbsd
parent457fd9457edb48999f2a238f6f93ea0b2cbe254e (diff)
downloadpttbbs-8c247c7f016f3c4d00776b31e812189db9fce89b.tar
pttbbs-8c247c7f016f3c4d00776b31e812189db9fce89b.tar.gz
pttbbs-8c247c7f016f3c4d00776b31e812189db9fce89b.tar.bz2
pttbbs-8c247c7f016f3c4d00776b31e812189db9fce89b.tar.lz
pttbbs-8c247c7f016f3c4d00776b31e812189db9fce89b.tar.xz
pttbbs-8c247c7f016f3c4d00776b31e812189db9fce89b.tar.zst
pttbbs-8c247c7f016f3c4d00776b31e812189db9fce89b.zip
- admin: add fields to change user career/phone
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/user.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 035f2fcc..00ddf1b8 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -649,6 +649,10 @@ uinfo_query(userec_t *u, int adminmode, int unum)
x.realname, sizeof(x.realname), DOECHO);
getdata_buf(y++, 0, "居住地址:",
x.address, sizeof(x.address), DOECHO);
+ getdata_buf(y++, 0, "學歷職業:", x.career,
+ sizeof(x.career), DOECHO);
+ getdata_buf(y++, 0, "電話號碼:", x.phone,
+ sizeof(x.phone), DOECHO);
}
buf[0] = 0;
if (x.mobile)
@@ -692,7 +696,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
if (x.myangel[0] == 0 || x.myangel[0] == '-' ||
(getuser(x.myangel, &the_angel) &&
the_angel.userlevel & PERM_ANGEL))
- prompt = "小天使:";
+ prompt = "小 天 使:";
else
prompt = "小天使(此帳號已無小天使資格):";
while (1) {
@@ -708,7 +712,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
break;
}
- prompt = "小天使:";
+ prompt = "小 天 使:";
}
}
#endif
@@ -771,7 +775,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
}
}
snprintf(genbuf, sizeof(genbuf), "%d", x.exmailbox);
- if (getdata_str(y++, 0, "購買信箱數:", buf, 6,
+ if (getdata_str(y++, 0, "購買信箱:", buf, 6,
DOECHO, genbuf))
if ((tmp = atoi(buf)) != 0)
x.exmailbox = (int)tmp;