$filelist ? $_title_filelist : $_title_list, 'body'=>get_list($filelist) ); } // 一覧の取得 function get_list($withfilename) { global $non_list,$whatsnew; $pages = array_diff(get_existpages(),array($whatsnew)); if (!$withfilename) { $pages = array_diff($pages,preg_grep("/$non_list/",$pages)); } if (count($pages) == 0) { return ''; } return page_list($pages,'read',$withfilename); } ?>