summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-12 19:55:00 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-12 19:55:00 +0800
commit728e27e6f357fa2e00177f949ffed0d830fd004d (patch)
tree527bde4005feb7ab777751f1626f082447a88fed /mbbsd/board.c
parent0c4c72121c0afc0cca3a4cac6ac70b120cd235c3 (diff)
downloadpttbbs-728e27e6f357fa2e00177f949ffed0d830fd004d.tar
pttbbs-728e27e6f357fa2e00177f949ffed0d830fd004d.tar.gz
pttbbs-728e27e6f357fa2e00177f949ffed0d830fd004d.tar.bz2
pttbbs-728e27e6f357fa2e00177f949ffed0d830fd004d.tar.lz
pttbbs-728e27e6f357fa2e00177f949ffed0d830fd004d.tar.xz
pttbbs-728e27e6f357fa2e00177f949ffed0d830fd004d.tar.zst
pttbbs-728e27e6f357fa2e00177f949ffed0d830fd004d.zip
- (internal) use new visio/vfooter() API to display footers
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 5f344f88..1f6c34de 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1058,18 +1058,10 @@ get_fav_type(boardstat_t *ptr)
static void
brdlist_foot(void)
{
- outs( ANSI_COLOR(34;46) " 選擇看板 "
- ANSI_COLOR(31;47) " (c)" ANSI_COLOR(30) "新文章模式 "
- ANSI_COLOR(31) "(v/V)" ANSI_COLOR(30) "標為已讀/未讀 "
- ANSI_COLOR(31) "(y)" ANSI_COLOR(30));
- if(IS_LISTING_FAV())
- outs("列出全部");
- else if (IS_LISTING_BRD())
- outs("篩選列表");
- else outs("篩選列表"); // never reach here?
-
- outslr(" " ANSI_COLOR(31) "(m)" ANSI_COLOR(30) "切換最愛",
- 73, ANSI_RESET, 0);
+ vfooter(" 選擇看板 ",
+ IS_LISTING_FAV() ?
+ " (c)新文章模式 (v/V)標為已讀/未讀 (y)列出全部 (m)切換最愛" :
+ " (c)新文章模式 (v/V)標為已讀/未讀 (y)篩選列表 (m)切換最愛");
}