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

Diff of /lbbs/src/article_post.c

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

Revision 1.37 by sysadm, Tue Nov 4 13:49:51 2025 UTC Revision 1.39 by sysadm, Wed Nov 5 01:04:05 2025 UTC
# Line 3  Line 3 
3   * article_post   * article_post
4   *   - user interactive feature to post / modify / reply article   *   - user interactive feature to post / modify / reply article
5   *   *
6   * Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com>   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>
7   */   */
8    
9  #include "article_cache.h"  #include "article_cache.h"
# Line 102  int article_post(const SECTION_LIST *p_s Line 102  int article_post(const SECTION_LIST *p_s
102                          ch = 0;                          ch = 0;
103                  }                  }
104    
105                  for (; !SYS_server_exit; ch = igetch_t(MAX_DELAY_TIME))                  for (; !SYS_server_exit; ch = igetch_t(BBS_max_user_idle_time))
106                  {                  {
107                          switch (toupper(ch))                          switch (toupper(ch))
108                          {                          {
# Line 165  int article_post(const SECTION_LIST *p_s Line 165  int article_post(const SECTION_LIST *p_s
165                          prints("(S)发送, (C)取消, (T)更改标题 or (E)再编辑? [S]: ");                          prints("(S)发送, (C)取消, (T)更改标题 or (E)再编辑? [S]: ");
166                          iflush();                          iflush();
167    
168                          for (ch = 0; !SYS_server_exit; ch = igetch_t(MAX_DELAY_TIME))                          for (ch = 0; !SYS_server_exit; ch = igetch_t(BBS_max_user_idle_time))
169                          {                          {
170                                  switch (toupper(ch))                                  switch (toupper(ch))
171                                  {                                  {
# Line 516  int article_modify(const SECTION_LIST *p Line 516  int article_modify(const SECTION_LIST *p
516                                     (reply_note ? "关闭" : "开启"));                                     (reply_note ? "关闭" : "开启"));
517                          iflush();                          iflush();
518    
519                          ch = igetch_t(MAX_DELAY_TIME);                          ch = igetch_t(BBS_max_user_idle_time);
520                          switch (toupper(ch))                          switch (toupper(ch))
521                          {                          {
522                          case KEY_NULL:                          case KEY_NULL:
# Line 914  int article_reply(const SECTION_LIST *p_ Line 914  int article_reply(const SECTION_LIST *p_
914                          ch = 0;                          ch = 0;
915                  }                  }
916    
917                  for (; !SYS_server_exit; ch = igetch_t(MAX_DELAY_TIME))                  for (; !SYS_server_exit; ch = igetch_t(BBS_max_user_idle_time))
918                  {                  {
919                          switch (toupper(ch))                          switch (toupper(ch))
920                          {                          {
# Line 974  int article_reply(const SECTION_LIST *p_ Line 974  int article_reply(const SECTION_LIST *p_
974                          prints("(S)发送, (C)取消, (T)更改标题 or (E)再编辑? [S]: ");                          prints("(S)发送, (C)取消, (T)更改标题 or (E)再编辑? [S]: ");
975                          iflush();                          iflush();
976    
977                          for (ch = 0; !SYS_server_exit; ch = igetch_t(MAX_DELAY_TIME))                          for (ch = 0; !SYS_server_exit; ch = igetch_t(BBS_max_user_idle_time))
978                          {                          {
979                                  switch (toupper(ch))                                  switch (toupper(ch))
980                                  {                                  {


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

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