summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-05 21:53:36 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-05 21:53:36 +0800
commit113ce755bf96bb52e5e6336be82363d79582aca0 (patch)
tree1d7c44bd44e5cdafa44a7341385e46b684a1372f
parent0b05ffe0a27cf1c9e7fa65d6bfe7276560a747ba (diff)
downloadpttbbs-113ce755bf96bb52e5e6336be82363d79582aca0.tar
pttbbs-113ce755bf96bb52e5e6336be82363d79582aca0.tar.gz
pttbbs-113ce755bf96bb52e5e6336be82363d79582aca0.tar.bz2
pttbbs-113ce755bf96bb52e5e6336be82363d79582aca0.tar.lz
pttbbs-113ce755bf96bb52e5e6336be82363d79582aca0.tar.xz
pttbbs-113ce755bf96bb52e5e6336be82363d79582aca0.tar.zst
pttbbs-113ce755bf96bb52e5e6336be82363d79582aca0.zip
- pmore/common: prompt message finetune for recommendation
- register: alert user that only 8 characters of password are valid. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3965 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--include/common.h10
-rw-r--r--mbbsd/pmore.c4
-rw-r--r--mbbsd/register.c5
3 files changed, 11 insertions, 8 deletions
diff --git a/include/common.h b/include/common.h
index f03eb38d..1b51aced 100644
--- a/include/common.h
+++ b/include/common.h
@@ -101,12 +101,12 @@
#define MSG_POSTER_LEN (78)
#define MSG_POSTER ANSI_COLOR(34;46) " 文章選讀 "\
- ANSI_COLOR(31;47) " (y)" ANSI_COLOR(30) "回信"\
- ANSI_COLOR(31) "(X%)" ANSI_COLOR(30) "推文"\
+ ANSI_COLOR(31;47) " (y)" ANSI_COLOR(30) "回應"\
+ ANSI_COLOR(31) "(X)" ANSI_COLOR(30) "推文"\
ANSI_COLOR(31) "(x)" ANSI_COLOR(30) "轉錄 "\
- ANSI_COLOR(31) "(=[]<>)" ANSI_COLOR(30) "相關主題 "\
- ANSI_COLOR(31) "(/?a)" ANSI_COLOR(30) "搜尋標題/作者 "\
- ANSI_COLOR(31) "(V)" ANSI_COLOR(30) "投票 "\
+ ANSI_COLOR(31) "(=[]<>)" ANSI_COLOR(30) "相關主題"\
+ ANSI_COLOR(31) "(/?a)" ANSI_COLOR(30) "搜尋標題/作者 "\
+ ANSI_COLOR(31) "(i)" ANSI_COLOR(30) "看板設定"\
""
#define MSG_MAILER_LEN (78)
#define MSG_MAILER \
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index f8dcefab..a7db6488 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -2063,7 +2063,7 @@ pmore(char *fpath, int promptend)
postfix1len = 12; // check msg below
postfix2len = 10;
- if(mf_viewedAll()) postfix1len = 16;
+ if(mf_viewedAll()) postfix1len = 17;
if (prefixlen + postfix1len + postfix2len + 1 > t_columns)
{
@@ -2080,7 +2080,7 @@ pmore(char *fpath, int promptend)
outs(
mf_viewedAll() ?
ANSI_COLOR(0;31;47)"(y)" ANSI_COLOR(30) "回信"
- ANSI_COLOR(31) "(X%)" ANSI_COLOR(30) "推文 "
+ ANSI_COLOR(31) "(X/%)" ANSI_COLOR(30) "推文 "
:
ANSI_COLOR(0;31;47) "(h)"
ANSI_COLOR(30) "按鍵說明 "
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 75e05287..8ec38316 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -278,7 +278,10 @@ new_register(void)
exit(1);
}
move(19, 0); clrtoeol();
- outs(ANSI_COLOR(1;33) "為避免被偷看,您的密碼並不會顯示在畫面上,直接輸入完後按 Enter 鍵即可。" ANSI_RESET);
+ outs(ANSI_COLOR(1;33)
+ "為避免被偷看,您的密碼並不會顯示在畫面上,直接輸入完後按 Enter 鍵即可。\n"
+ "另外請注意密碼只有前八個字元有效,超過的將自動忽略。"
+ ANSI_RESET);
if ((getdata(18, 0, "請設定密碼:", passbuf,
sizeof(passbuf), NOECHO) < 3) ||
!strcmp(passbuf, newuser.userid)) {