Parent Directory
|
Revision Log
Use config.h
| 1 | sysadm | 1.2 | /* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 | /* | ||
| 3 | * article_op | ||
| 4 | * - basic operations of articles | ||
| 5 | * | ||
| 6 | sysadm | 1.3 | * Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 | sysadm | 1.2 | */ |
| 8 | sysadm | 1.1 | |
| 9 | sysadm | 1.5 | #ifdef HAVE_CONFIG_H |
| 10 | #include "config.h" | ||
| 11 | #endif | ||
| 12 | |||
| 13 | sysadm | 1.1 | #include "article_op.h" |
| 14 | #include "bbs.h" | ||
| 15 | #include "io.h" | ||
| 16 | #include "screen.h" | ||
| 17 | |||
| 18 | int display_article_meta(int32_t aid) | ||
| 19 | { | ||
| 20 | clearscr(); | ||
| 21 | moveto(3, 1); | ||
| 22 | sysadm | 1.4 | prints("Web版 文章链接: "); |
| 23 | sysadm | 1.1 | moveto(4, 1); |
| 24 | prints("http://%s/bbs/view_article.php?id=%d#%d", BBS_server, aid, aid); | ||
| 25 | press_any_key(); | ||
| 26 | |||
| 27 | return 0; | ||
| 28 | } |
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |