/[LeafOK_CVS]/lbbs/src/section_list_display.c
ViewVC logotype

Diff of /lbbs/src/section_list_display.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.62 by sysadm, Sun Nov 2 15:11:47 2025 UTC Revision 1.63 by sysadm, Mon Nov 3 02:32:11 2025 UTC
# Line 31  Line 31 
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>
# Line 60  enum select_cmd_t Line 61  enum select_cmd_t
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)
# Line 407  static enum select_cmd_t section_list_se Line 409  static enum select_cmd_t section_list_se
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':
# Line 1048  int section_list_display(const char *sna Line 1052  int section_list_display(const char *sna
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);


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1