diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-12 19:55:00 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-12 19:55:00 +0800 |
commit | 728e27e6f357fa2e00177f949ffed0d830fd004d (patch) | |
tree | 527bde4005feb7ab777751f1626f082447a88fed /mbbsd/admin.c | |
parent | 0c4c72121c0afc0cca3a4cac6ac70b120cd235c3 (diff) | |
download | pttbbs-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/admin.c')
-rw-r--r-- | mbbsd/admin.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 66f415e1..c813b0e3 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -779,7 +779,7 @@ x_file(void) const int rows = t_lines-2; // display. - clear(); stand_title("編輯系統檔案"); + clear(); showtitle("系統檔案", "編輯系統檔案"); for (i = page*rows; i < min(centries, (page+1)*rows); i++) { // parse entry @@ -796,10 +796,8 @@ x_file(void) ANSI_RESET "\n", i+1, v, fn); } - move(b_lines, 0); - outs(ANSI_COLOR(31;47)); - prints("%-*s " ANSI_RESET, t_columns-2, - " ★請按方向鍵或數字鍵選擇,[ENTER/→]編輯,[q/←] 跳出: "); + vfooter(" 編輯系統檔案 ", + " 請按方向鍵或數字鍵選擇 (Enter/→)編輯\t(q/←)跳出"); cursor_show(1+sel-page*rows, 0); switch((i = vkey())) { |