summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 19:12:43 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-08 19:12:43 +0800
commit524f96649436d3aa687c237a61c82cee5cf2e145 (patch)
tree801969e8c6c674f62977b7350d49b19b5073f705 /mbbsd
parent0a42448aae0891eb7623b12a7c3cac9b6d0b2151 (diff)
downloadpttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.gz
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.bz2
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.lz
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.xz
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.tar.zst
pttbbs-524f96649436d3aa687c237a61c82cee5cf2e145.zip
myfav update:
(1) Auto subscription to new forum is tooooo annoying. (2) We need "inverse" selection of myfav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2802 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c15
-rw-r--r--mbbsd/mbbsd.c2
2 files changed, 16 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 55b1f450..83470943 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -779,6 +779,21 @@ choose_board(int newflag)
if (num-- <= 0)
num = brdnum - 1;
break;
+ case '*':
+ {
+ int i = 0;
+ for (i = 0; i < brdnum; i++)
+ {
+ ptr = &nbrd[i];
+ if (IS_LISTING_FAV()){
+ if(get_fav_type(&nbrd[0]) != 0)
+ fav_tag(ptr->bid, get_fav_type(ptr), 2);
+ }
+ ptr->myattr ^= NBRD_TAG;
+ }
+ head = 9999;
+ }
+ break;
case 't':
ptr = &nbrd[num];
if (IS_LISTING_FAV()){
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 4b915a36..d9f48758 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1033,7 +1033,7 @@ user_login(void)
int num;
num = updatenewfav(1);
if (num > NEW_FAV_THRESHOLD &&
- getans("將新加入我的最愛的看板數達到 %d 個,確定要加入?[N/y]", num) != 'y') {
+ getans("找到 %d 個新看板,要加入我的最愛嗎?[N/y]", num) != 'y') {
fav_free();
fav_load();
}