summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-07 01:45:59 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-07 01:45:59 +0800
commitf8a7f95627c6a4de713bb527c9cc1fd15be5e1c0 (patch)
tree4940acf6fba4b5bb8f95a1eb6b5df4697a1583b7
parent86df7f565bf829f31b18525c7f2579e4d00f99ee (diff)
downloadpttbbs-f8a7f95627c6a4de713bb527c9cc1fd15be5e1c0.tar
pttbbs-f8a7f95627c6a4de713bb527c9cc1fd15be5e1c0.tar.gz
pttbbs-f8a7f95627c6a4de713bb527c9cc1fd15be5e1c0.tar.bz2
pttbbs-f8a7f95627c6a4de713bb527c9cc1fd15be5e1c0.tar.lz
pttbbs-f8a7f95627c6a4de713bb527c9cc1fd15be5e1c0.tar.xz
pttbbs-f8a7f95627c6a4de713bb527c9cc1fd15be5e1c0.tar.zst
pttbbs-f8a7f95627c6a4de713bb527c9cc1fd15be5e1c0.zip
recommendation compatible mode
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2913 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 85bd457c..baae1cc7 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1746,10 +1746,14 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
ANSI_COLOR(1;33),
ANSI_COLOR(1;31),
ANSI_COLOR(1;37),
+ }, *ctype_attr2[3] = {
+ ANSI_COLOR(1;37),
+ ANSI_COLOR(1;31),
+ ANSI_COLOR(1;31),
}, *ctype_long[3] = {
"值得推薦",
"給它噓聲",
- "鄉民加註解"
+ "只加註解"
};
int type, maxlength;
boardheader_t *bp;
@@ -1843,7 +1847,7 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
snprintf(buf, sizeof(buf),
"%s%s " ANSI_COLOR(33) "%s" ANSI_RESET ANSI_COLOR(33)
":%-*s" ANSI_RESET "%15s %02d/%02d\n",
- ctype_attr[type], ctype[type],
+ ctype_attr2[type], ctype[type],
cuser.userid,
maxlength,
msg,