pukiwikiの文書数
ページ数って言わないで文書数っていうんだ。 とりあえず、Pukiwikiを使っているけど、PukiwikiPlusのPluginから、count.inc.phpをゲット。 それから、認証系のところをがエラーになったから、コメントアウト。( 赤文字 ) &count が使えるようになりました。 ---------------------- /** * Count Plugin * * @copyright Copyright © 2006-2007, Katsumi Saito * @version $Id: count.inc.php,v 0.2 2007/05/16 22:27:00 upk Exp $ * @license http://opensource.org/licenses/gpl-license.php GNU Public License (GPL2) * */ function plugin_count_inline() { $argv = func_get_args(); $argc = func_num_args(); $data = $argv[ --$argc ]; $field = array('no','pref'); for($i=0; $i<$argc; $i++) { $$field[$i] = $argv[$i]; } if (empty($no)) $no = 0; if ($no < 0 || $no > 5) { return 'Please specify it within the range from 1 to 5.'; } return count_files($no, $pref); } function count_files($no=0, $pref='') { // 0:DATA, 1:TB, 2:Referer, 3: DIFF, 4:BKUP, 5:CTR ...