/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
//
-// $Id: func.php,v 1.11 2003/01/31 01:49:35 panda Exp $
+// $Id: func.php,v 1.12 2003/02/03 10:25:11 panda Exp $
//
// ʸ»úÎó¤¬InterWikiName¤«¤É¤¦¤«
// [[ ]] ¤ò¼è¤ê½ü¤¯
function strip_bracket($str)
{
- global $strip_link_wall;
-
- if ($strip_link_wall and preg_match('/^\[\[(.*)\]\]$/',$str,$match)) {
+ if (preg_match('/^\[\[(.*)\]\]$/',$str,$match)) {
$str = $match[1];
}
return $str;
}
$retval .= "</ul>\n";
if ($list_index and $cnt > 0) {
- $top = "<div id=\"top\" style=\"text-align:center\">\n";
+ $top = array();
while (count($arr_index) > 0) {
- $top .= join(" | \n",array_splice($arr_index,0,16))."<br />\n";
+ $top[] = join(" | \n",array_splice($arr_index,0,16))."\n";
}
- $top .= "</div>\n";
- $retval = $top.$retval;
+ $retval = "<div id=\"top\" style=\"text-align:center\">\n".
+ join("<br />",$top)."</div>\n".$retval;
}
return $retval;
}
/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
//
-// $Id: pukiwiki.ini.php,v 1.18 2003/01/31 01:49:35 panda Exp $
+// $Id: pukiwiki.ini.php,v 1.19 2003/02/03 10:25:11 panda Exp $
//
// PukiWiki setting file
// ¸¡º÷ʸ»úÎó¤ò¿§Ê¬¤±¤¹¤ë
$search_word_color = 1;
/////////////////////////////////////////////////
-// [[¥Ú¡¼¥¸]] ¤Ø¤Î¥ê¥ó¥¯»þ[[]]¤ò³°¤¹
-$strip_link_wall = 1;
-/////////////////////////////////////////////////
// °ìÍ÷¥Ú¡¼¥¸¤ËƬʸ»ú¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¤Ä¤±¤ë
$list_index = 1;