From 0cf167e7a851ab85bbb56c18379c3470bcc1bf27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Sat, 24 Jun 2023 23:00:03 +0200 Subject: [PATCH] Add last status change. --- dokuwiki/syntax.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dokuwiki/syntax.php b/dokuwiki/syntax.php index cf58293..7037ae8 100644 --- a/dokuwiki/syntax.php +++ b/dokuwiki/syntax.php @@ -53,6 +53,10 @@ class syntax_plugin_brmburo extends DokuWiki_Syntax_Plugin { } else { $status = "ERROR:DECODE"; } + if ($lastchange) { + $str_date = strftime('%Y-%m-%d %H:%M', $lastchange); + $status .= '

Last changed: ' . $str_date . '

'; + } } } $renderer->doc .= $status;