| 31 |
#include "screen.h" |
#include "screen.h" |
| 32 |
#include "str_process.h" |
#include "str_process.h" |
| 33 |
#include "user_info_display.h" |
#include "user_info_display.h" |
| 34 |
|
#include "user_list_display.h" |
| 35 |
#include "user_priv.h" |
#include "user_priv.h" |
| 36 |
#include <errno.h> |
#include <errno.h> |
| 37 |
#include <string.h> |
#include <string.h> |
| 61 |
SCAN_NEW_ARTICLE, |
SCAN_NEW_ARTICLE, |
| 62 |
VIEW_EX_DIR, |
VIEW_EX_DIR, |
| 63 |
SHOW_TOP10, |
SHOW_TOP10, |
| 64 |
|
SEARCH_USER, |
| 65 |
}; |
}; |
| 66 |
|
|
| 67 |
static int section_list_draw_items(int page_id, ARTICLE *p_articles[], int article_count, int display_nickname, int ontop_start_offset) |
static int section_list_draw_items(int page_id, ARTICLE *p_articles[], int article_count, int display_nickname, int ontop_start_offset) |
| 409 |
return SCAN_NEW_ARTICLE; |
return SCAN_NEW_ARTICLE; |
| 410 |
} |
} |
| 411 |
break; |
break; |
| 412 |
|
case 'u': |
| 413 |
|
return SEARCH_USER; |
| 414 |
case 'h': |
case 'h': |
| 415 |
return SHOW_HELP; |
return SHOW_HELP; |
| 416 |
case 'x': |
case 'x': |
| 1052 |
} |
} |
| 1053 |
} |
} |
| 1054 |
break; |
break; |
| 1055 |
|
case SEARCH_USER: |
| 1056 |
|
user_list_search(); |
| 1057 |
|
if (section_list_draw_screen(sname, stitle, master_list, display_nickname) < 0) |
| 1058 |
|
{ |
| 1059 |
|
log_error("section_list_draw_screen() error\n"); |
| 1060 |
|
return -2; |
| 1061 |
|
} |
| 1062 |
|
break; |
| 1063 |
case SHOW_HELP: |
case SHOW_HELP: |
| 1064 |
// Display help information |
// Display help information |
| 1065 |
display_file(DATA_READ_HELP, 1); |
display_file(DATA_READ_HELP, 1); |