/[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.30 by sysadm, Fri Oct 10 04:33:40 2025 UTC Revision 1.32 by sysadm, Fri Oct 10 12:31:15 2025 UTC
# Line 90  int article_post(const SECTION_LIST *p_s Line 90  int article_post(const SECTION_LIST *p_s
90          {          {
91                  clearscr();                  clearscr();
92                  moveto(21, 1);                  moveto(21, 1);
93                  prints("发表文章于 %s[%s] 讨论区,类型: %s,通知:%s",                  prints("发表文章于 %s[%s] 讨论区,类型: %s,回复通知:%s",
94                             p_section->stitle, p_section->sname,                             p_section->stitle, p_section->sname,
95                             (p_article_new->transship ? "转载" : "原创"),                             (p_article_new->transship ? "转载" : "原创"),
96                             (reply_note ? "开启" : "关闭"));                             (reply_note ? "开启" : "关闭"));
# Line 106  int article_post(const SECTION_LIST *p_s Line 106  int article_post(const SECTION_LIST *p_s
106                          moveto(24, 1);                          moveto(24, 1);
107                          prints("T改标题, C取消, Z设为%s, N%s, Enter继续: ",                          prints("T改标题, C取消, Z设为%s, N%s, Enter继续: ",
108                                     (p_article_new->transship ? "原创" : "转载"),                                     (p_article_new->transship ? "原创" : "转载"),
109                                     (reply_note ? "通知关闭" : "通知开启"));                                     (reply_note ? "关闭回复通知" : "开启回复通知"));
110                          iflush();                          iflush();
111                          ch = 0;                          ch = 0;
112                  }                  }
# Line 523  int article_modify(const SECTION_LIST *p Line 523  int article_modify(const SECTION_LIST *p
523                  {                  {
524                          clearscr();                          clearscr();
525                          moveto(1, 1);                          moveto(1, 1);
526                          prints("(S)保存, (C)取消, (N)通知%s or (E)再编辑? [S]: ",                          prints("(S)保存, (C)取消, (N)%s回复通知 or (E)再编辑? [S]: ",
527                                     (reply_note ? "关闭" : "开启"));                                     (reply_note ? "关闭" : "开启"));
528                          iflush();                          iflush();
529    
# Line 909  int article_reply(const SECTION_LIST *p_ Line 909  int article_reply(const SECTION_LIST *p_
909          {          {
910                  clearscr();                  clearscr();
911                  moveto(21, 1);                  moveto(21, 1);
912                  prints("回复文章于 %s[%s] 讨论区,通知:%s", p_section->stitle, p_section->sname, (reply_note ? "开启" : "关闭"));                  prints("回复文章于 %s[%s] 讨论区,回复通知:%s", p_section->stitle, p_section->sname, (reply_note ? "开启" : "关闭"));
913                  moveto(22, 1);                  moveto(22, 1);
914                  prints("标题: %s", (p_article_new->title[0] == '\0' ? "[无]" : p_article_new->title));                  prints("标题: %s", (p_article_new->title[0] == '\0' ? "[无]" : p_article_new->title));
915                  moveto(23, 1);                  moveto(23, 1);
# Line 921  int article_reply(const SECTION_LIST *p_ Line 921  int article_reply(const SECTION_LIST *p_
921    
922                          moveto(24, 1);                          moveto(24, 1);
923                          prints("T改标题, C取消, N%s, Enter继续: ",                          prints("T改标题, C取消, N%s, Enter继续: ",
924                                     (reply_note ? "通知关闭" : "通知开启"));                                     (reply_note ? "关闭回复通知" : "开启回复通知"));
925                          iflush();                          iflush();
926                          ch = 0;                          ch = 0;
927                  }                  }
# Line 1211  int article_reply(const SECTION_LIST *p_ Line 1211  int article_reply(const SECTION_LIST *p_
1211          {          {
1212                  // Send notification message                  // Send notification message
1213                  len_msg = snprintf(msg, BBS_msg_max_len,                  len_msg = snprintf(msg, BBS_msg_max_len,
1214                                                     "[hide]SYS_Reply_Article[/hide]有人回复了您所发表/回复的文章,快来"                                                     "有人回复了您所发表/回复的文章,快来"
1215                                                     "[article %d]看看[/article]《%s》吧!\n",                                                     "[article %d]看看[/article]《%s》吧!\n",
1216                                                     p_article_new->aid, title_f);                                                     p_article_new->aid, title_f);
1217    


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

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