git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
page: search results as article objects
[minimedit.git]
/
widget
/
sitemap.php
diff --git
a/widget/sitemap.php
b/widget/sitemap.php
index 42bf7dfe3e0ce3c787088d302748fce5789eb702..4d0fa6ef1b9b5c4774419fb8da3a3466f0a0d5b0 100644
(file)
--- a/
widget/sitemap.php
+++ b/
widget/sitemap.php
@@
-2,8
+2,7
@@
# list article details
$search = new PageSearch($Page->place[0] ?? '.');
print '<ul class="replies">'."\n";
# list article details
$search = new PageSearch($Page->place[0] ?? '.');
print '<ul class="replies">'."\n";
-foreach ($search->files() as $ref => $sorted) {
- $Page->place[0] = $ref;
+foreach ($search->files() as $ref => $article) {
print '<li>';
include 'linkref.php';
print "</li>\n";
print '<li>';
include 'linkref.php';
print "</li>\n";