| 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" |
| 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 |
{ |
{ |
| 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 |
{ |
{ |
| 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: |
| 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 |
{ |
{ |
| 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 |
{ |
{ |