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

Diff of /lbbs/src/menu_proc.c

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

Revision 1.29 by sysadm, Tue Jun 24 12:32:16 2025 UTC Revision 1.31 by sysadm, Mon Oct 13 02:23:27 2025 UTC
# Line 37  Line 37 
37    
38  int list_section(void *param)  int list_section(void *param)
39  {  {
40          section_list_display(param);          section_list_display(param, 0);
41    
42          return REDRAW;          return REDRAW;
43  }  }
# Line 81  int exec_mbem(void *param) Line 81  int exec_mbem(void *param)
81                  else                  else
82                  {                  {
83                          clearscr();                          clearscr();
84                          prints("ؿļ [%s] ʧ!!\r\n", s + 5);                          prints("加载库文件 [%s] 失败!!\r\n", s + 5);
85                          prints("ʧԭ:%s\r\n", dlerror());                          prints("失败原因:%s\r\n", dlerror());
86                          press_any_key();                          press_any_key();
87                  }                  }
88          }          }
# Line 117  int reload_bbs_conf(void *param) Line 117  int reload_bbs_conf(void *param)
117          {          {
118                  log_error("Send SIGHUP signal failed (%d)\n", errno);                  log_error("Send SIGHUP signal failed (%d)\n", errno);
119    
120                  prints("ָʧ\r\n");                  prints("发送指令失败\r\n");
121          }          }
122          else          else
123          {          {
124                  prints("ѷָ\r\n");                  prints("已发送指令\r\n");
125          }          }
126    
127          press_any_key();          press_any_key();
# Line 154  static int display_ex_article_key_handle Line 154  static int display_ex_article_key_handle
154          {          {
155          case 0: // Set msg          case 0: // Set msg
156                  snprintf(p_ctx->msg, sizeof(p_ctx->msg),                  snprintf(p_ctx->msg, sizeof(p_ctx->msg),
157                                   "| [\033[32m\033[33m,\033[32mESC\033[33m] | "                                   "| 返回[\033[32m←\033[33m,\033[32mESC\033[33m] | "
158                                   "ƶ[\033[32m\033[33m/\033[32m\033[33m/\033[32mPgUp\033[33m/\033[32mPgDn\033[33m] | "                                   "移动[\033[32m↑\033[33m/\033[32m↓\033[33m/\033[32mPgUp\033[33m/\033[32mPgDn\033[33m] | "
159                                   "[\033[32mh\033[33m] |");                                   "帮助[\033[32mh\033[33m] |");
160                  break;                  break;
161          }          }
162    
# Line 211  int list_ex_section(void *param) Line 211  int list_ex_section(void *param)
211  {  {
212          SECTION_LIST *p_section;          SECTION_LIST *p_section;
213    
214          p_section = section_list_find_by_name(param);          p_section = section_list_find_by_name(param, NULL);
215          if (p_section == NULL)          if (p_section == NULL)
216          {          {
217                  log_error("Section %s not found\n", (const char *)param);                  log_error("Section %s not found\n", (const char *)param);


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

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