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: replace global variables by $Page object
[minimedit.git]
/
widget
/
nieuws.php
diff --git
a/widget/nieuws.php
b/widget/nieuws.php
index c1b651a44853bd5ddb49c5383b7d0fb3bb4e4ab9..977357e5e572d4afff1d43b863f44caa0837c309 100644
(file)
--- a/
widget/nieuws.php
+++ b/
widget/nieuws.php
@@
-53,7
+53,7
@@
function printtoc($input, $class = FALSE)
}
}
-$articles = (ltrim($
Args
, '/') ?: 'nieuws');
+$articles = (ltrim($
Page->path
, '/') ?: 'nieuws');
if (strpos($articles, '/') === FALSE) {
if (@$Place['view'] === 'toc') {
print "<div>\n";