OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7cf7f7a
)
下階層をtracker_listリストに含めない
author
arino
<arino>
Sat, 27 Sep 2003 15:28:12 +0000
(
00:28
+0900)
committer
arino
<arino>
Sat, 27 Sep 2003 15:28:12 +0000
(
00:28
+0900)
plugin/tracker.inc.php
patch
|
blob
|
history
diff --git
a/plugin/tracker.inc.php
b/plugin/tracker.inc.php
index
4b98b69
..
3f3d311
100644
(file)
--- a/
plugin/tracker.inc.php
+++ b/
plugin/tracker.inc.php
@@
-2,7
+2,7
@@
/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
//
/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
//
-// $Id: tracker.inc.php,v 1.1
0 2003/09/24 00:16:33
arino Exp $
+// $Id: tracker.inc.php,v 1.1
1 2003/09/27 15:28:12
arino Exp $
//
function plugin_tracker_convert()
//
function plugin_tracker_convert()
@@
-630,10
+630,9
@@
class Tracker_list
$pattern_len = strlen($pattern);
foreach (get_existpages() as $_page)
{
$pattern_len = strlen($pattern);
foreach (get_existpages() as $_page)
{
- if (strpos($_page,$pattern) === 0
)
-
//and is_numeric($num = substr($_page,$pattern_len))
)
+ if (strpos($_page,$pattern) === 0
+
and strpos($name = substr($_page,$pattern_len),'/') === FALSE
)
{
{
- $name = substr($_page,$pattern_len);
$this->add($_page,$name);
}
}
$this->add($_page,$name);
}
}