カテゴリ | |
---|---|
サマリ | 2chのレスをそのまま貼り付けるようしたい。 |
バージョン | 1.4.5_1 |
投稿者 | アッカ |
状態 | 完了 |
投稿日 | 2005-07-30 (土) 05:11:40 |
show2chdatプラグインを利用して2chレスを表示するようにしています。 レスを貼り付けるだけで表示できるプラグインはありませんか?
<?php function plugin_aa_convert() { $arg = array_pop(func_get_args()); return "<pre class=\"asciiart\">\n" . htmlspecialchars($arg) . "\n</pre>"; } ?>
/* aa.inc.php */ pre.asciiart { margin : 0em 0em; font-size : 12pt; font-family : "MS Pゴシック","Mona","mona-gothic-jisx0208.1990-0",sans-serif; line-height : 17px; text-indent : 0em; letter-spacing : 0em; speak : none; border-top:none; border-bottom:none; border-left:none; border-right:none; background-color:transparent; }