diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 01:37:20 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 01:37:20 +0800 |
commit | 2d9324e29de2b225a53e90f558606a0579fc7481 (patch) | |
tree | 53b1c386e9512afcb88ee21d4e4d34f66ae1d740 /mbbsd/menu.c | |
parent | 15c5c61f826858f81502122106a9ac9b14f95c07 (diff) | |
download | pttbbs-2d9324e29de2b225a53e90f558606a0579fc7481.tar pttbbs-2d9324e29de2b225a53e90f558606a0579fc7481.tar.gz pttbbs-2d9324e29de2b225a53e90f558606a0579fc7481.tar.bz2 pttbbs-2d9324e29de2b225a53e90f558606a0579fc7481.tar.lz pttbbs-2d9324e29de2b225a53e90f558606a0579fc7481.tar.xz pttbbs-2d9324e29de2b225a53e90f558606a0579fc7481.tar.zst pttbbs-2d9324e29de2b225a53e90f558606a0579fc7481.zip |
- add 'top boards' in ZA selection.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4211 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/menu.c')
-rw-r--r-- | mbbsd/menu.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index c1f2186f..4e2d3e20 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -128,6 +128,8 @@ showtitle(const char *title, const char *mid) } +int TopBoards(void); + /* Ctrl-Z Anywhere Fast Switch, not ZG. */ static char zacmd = 0; @@ -146,13 +148,13 @@ ZA_Select(void) // TODO refresh status bar? vs_footer(VCLR_ZA_CAPTION " ★快速切換: ", - " (b)文章列表 (c)分類看板 (f)我的最愛 (m)信箱 (u)使用者名單"); + " (b)文章列表 (c)分類 (t)熱門 (f)我的最愛 (m)信箱 (u)使用者名單"); k = vkey(); if (k < ' ' || k >= 'z') return 0; k = tolower(k); - if(strchr("bcfmu", k) == NULL) + if(strchr("bcfmut", k) == NULL) return 0; zacmd = k; @@ -177,6 +179,9 @@ ZA_Enter(void) case 'c': Class(); break; + case 't': + TopBoards(); + break; case 'f': Favorite(); break; |