- if ($User->admin('beheer') and $row->updated) {
- $rowdate = "<s>$rowdate</s> " . showdate(preg_split('/\D/', $row->updated));
+ if ($User->admin('beheer')) {
+ if ($row->updated) {
+ $rowdate = "<s>$rowdate</s> " . showdate(preg_split('/\D/', $row->updated));
+ }
+ if ($User->admin('user') || $User->login === $row->author) {
+ $rowdate .= sprintf(' <a href="%s" title="%s" class=icon>%s</a>',
+ "/{$Page->link}/{$row->id}", 'reactie aanpassen', "\u{270D}");
+ }