summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-30 18:21:35 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-30 18:21:35 +0800
commitdedfbc13da505a9566928dd8777c16a2032ebe90 (patch)
tree2ee1600bfd703d87e23651e8ac460a7206c01733
parent6976ce2aebefebdd725b64d0d5ce143003a6990b (diff)
downloadpttbbs-dedfbc13da505a9566928dd8777c16a2032ebe90.tar
pttbbs-dedfbc13da505a9566928dd8777c16a2032ebe90.tar.gz
pttbbs-dedfbc13da505a9566928dd8777c16a2032ebe90.tar.bz2
pttbbs-dedfbc13da505a9566928dd8777c16a2032ebe90.tar.lz
pttbbs-dedfbc13da505a9566928dd8777c16a2032ebe90.tar.xz
pttbbs-dedfbc13da505a9566928dd8777c16a2032ebe90.tar.zst
pttbbs-dedfbc13da505a9566928dd8777c16a2032ebe90.zip
some hints
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index faa50d43..54aa5dee 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.18 2002/05/16 21:51:23 in2 Exp $ */
+/* $Id: user.c,v 1.19 2002/05/30 10:21:35 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -992,7 +992,8 @@ int u_register(void)
getfield(5, "請用中文", "真實姓名", rname, 20);
}while(!removespace(rname) || rname[0] > 0);
do{
- getfield(7, "學校系級或單位職稱", "服務單位", career, 40);
+ getfield(7, "學校(含\033[1;33m系所\033[m)或單位職稱",
+ "服務單位", career, 40);
}while( !removespace(career) || career[0] > 0 || strlen(career) < 4 );
do{
getfield(9, "包括寢室或門牌號碼", "目前住址", addr, 50);
@@ -1000,7 +1001,8 @@ int u_register(void)
do{
getfield(11, "包括長途撥號區域碼", "連絡電話", phone, 11);
}while( !removespace(phone) || phone[0] != '0' || strlen(phone) < 9 );
- getfield(13, "只輸入數字 如:0912345678", "手機號碼", mobile, 20);
+ getfield(13, "只輸入數字 如:0912345678 (可不填)",
+ "手機號碼", mobile, 20);
while(1) {
int len;