git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
widget: unnamed options as placeholders instead of path
[minimedit.git]
/
widget
/
sitemap.php
diff --git
a/widget/sitemap.php
b/widget/sitemap.php
index 8d7ba76db614b6748795fcecec8804c555c5832c..42bf7dfe3e0ce3c787088d302748fce5789eb702 100644
(file)
--- a/
widget/sitemap.php
+++ b/
widget/sitemap.php
@@
-1,9
+1,9
@@
<?php
# list article details
<?php
# list article details
-$search = new PageSearch(
ltrim($Page->path, '/') ?:
'.');
+$search = new PageSearch(
$Page->place[0] ??
'.');
print '<ul class="replies">'."\n";
foreach ($search->files() as $ref => $sorted) {
print '<ul class="replies">'."\n";
foreach ($search->files() as $ref => $sorted) {
- $Page->p
ath
= $ref;
+ $Page->p
lace[0]
= $ref;
print '<li>';
include 'linkref.php';
print "</li>\n";
print '<li>';
include 'linkref.php';
print "</li>\n";