diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-07 14:04:47 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-07 14:04:47 +0800 |
commit | 735c0af69f7d5f547d7f714fe47881b513b91fa8 (patch) | |
tree | cc2262fd99004d290e6acb0a73a9ac03d5ce9f56 /mbbsd/pmore.c | |
parent | 9d517c2dd00769cec30f784dd6ecab23c6551f75 (diff) | |
download | pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.gz pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.bz2 pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.lz pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.xz pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.zst pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.zip |
- change hard-coded board names to defines
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3649 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r-- | mbbsd/pmore.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index 2efe2afb..81d47104 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -80,7 +80,7 @@ "[搜尋]關鍵字:" #define PMORE_MSG_MOVIE_DETECTED \ - " ☆ 這份文件是可播放的文字動畫,要開始播放嗎? [Y/n]" + " ★ 這份文件是可播放的文字動畫,要開始播放嗎? [Y/n]" #define PMORE_MSG_MOVIE_PLAYOLD_GETTIME \ "這可能是傳統動畫檔, 若要直接播放請輸入速度(秒): " #define PMORE_MSG_MOVIE_PLAYOLD_AS24L \ @@ -2281,9 +2281,11 @@ pmore(char *fpath, int promptend) // admin edit any files other than ve help file // and posts in Security board if ( HasUserPerm(PERM_SYSOP) && - (strcmp(fpath, "etc/ve.hlp") != 0) && - (strcmp(currboard, "Security") != 0) - ) +#ifdef GLOBAL_SECURITY + strcmp(currboard, GLOBAL_SECURITY) != 0 && +#endif // GLOBAL_SECURITY + strcmp(fpath, "etc/ve.hlp") != 0 && + 1) { #ifdef PMORE_LOG_SYSOP_EDIT time4_t t = time4(NULL); |