git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upload: replace double line breaks by paragraphs in text input
[minimedit.git]
/
widget
/
doclist.php
diff --git
a/widget/doclist.php
b/widget/doclist.php
index e4fadef34a919700340f7e23b6ad883030193a80..796a4ad2812a7e3592d8d020974bb00becd976de 100644
(file)
--- a/
widget/doclist.php
+++ b/
widget/doclist.php
@@
-24,7
+24,7
@@
foreach (array_reverse($cal) as $title => $versions) {
}
else {
print $title;
- if ($versions and $User->admin(
'edit'
)) {
+ if ($versions and $User->admin(
"edit $Page$Args"
)) {
printf(' (%s)', implode(', ', array_map(
function ($format, $url) {
return sprintf('<a href="/%s">%s</a>', $url, $format);