<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: html.php,v 1.23 2005/01/08 11:20:08 henoheno Exp $
+// $Id: html.php,v 1.24 2005/01/08 11:45:44 henoheno Exp $
//
// HTML-publishing related functions
if($load_template_func && $b_template) {
$pages = array();
- $non_list_pattern = '#' . $non_list . '#';
+ $non_list_pattern = '/' . $non_list . '/';
foreach(get_existpages() as $_page) {
if ($_page == $whatsnew || preg_match($non_list_pattern, $_page))
continue;
}
$_links = array();
- $non_list_pattern = '#' . $non_list . '#';
+ $non_list_pattern = '/' . $non_list . '/';
foreach ($links as $page=>$lastmod) {
if (preg_match($non_list_pattern, $page)) continue;
<?php
// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: touchgraph.inc.php,v 1.7 2005/01/03 12:59:01 henoheno Exp $
+// $Id: touchgraph.inc.php,v 1.8 2005/01/08 11:45:44 henoheno Exp $
//
// Output an index for 'TouchGraph WikiBrowser'
// http://www.touchgraph.com/
{
global $non_list;
- $non_list_pattern = '#' . $non_list . '#';
+ $non_list_pattern = '/' . $non_list . '/';
foreach (get_existpages() as $page) {
if (preg_match($non_list_pattern, $page)) continue;
{
global $non_list;
- $non_list_pattern = '#' . $non_list . '#';
+ $non_list_pattern = '/' . $non_list . '/';
foreach (get_existpages() as $page) {
if (preg_match($non_list_pattern, $page)) continue;