Add last status change.

This commit is contained in:
Dominik Pantůček 2023-06-24 23:00:03 +02:00
parent adad121b01
commit 0cf167e7a8

View file

@ -53,6 +53,10 @@ class syntax_plugin_brmburo extends DokuWiki_Syntax_Plugin {
} else { } else {
$status = "ERROR:DECODE"; $status = "ERROR:DECODE";
} }
if ($lastchange) {
$str_date = strftime('%Y-%m-%d %H:%M', $lastchange);
$status .= '<p>Last changed: ' . $str_date . '</p>';
}
} }
} }
$renderer->doc .= $status; $renderer->doc .= $status;