From: Paul Hänsch Date: Thu, 27 Jul 2023 07:18:39 +0000 (+0200) Subject: call revision macro from handler instead of theme X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=e50b352138e19786efb2266e5ef28fc4966c1e60;p=shellwiki call revision macro from handler instead of theme --- diff --git a/handlers/40_revision.sh b/handlers/40_revision.sh index 08350c7..e3b8d96 100755 --- a/handlers/40_revision.sh +++ b/handlers/40_revision.sh @@ -8,7 +8,8 @@ case "${PATH_INFO}" in if ! acl_read "${PATH_INFO%\[revision\]}"; then theme_error 403 else - theme_revisions "${PATH_INFO%\[revision\]}" + "$_EXEC/macros/revisions" --list --diff "$page" \ + | theme_revisions - fi return 0 ;;