- $Page->title .= ': '.htmlspecialchars($Issue->subject);
- $Page->teaser = $Issue->body;
- if ($Page->api) return;
+ print "<h2>{$Page->title}</h2>\n";
+ printf('<form method="post" action="%s" enctype="multipart/form-data">',
+ $Page->handler
+ );
+ printf('<input type="hidden" name="%s" value="%s" />'."\n", 'id', $row->id);
+ printf('<textarea id="%s" name="%1$s" cols=60 rows=3>%s</textarea>'."\n",
+ 'reply',
+ htmlspecialchars($row->raw)
+ );
+ print '<input type="submit" value="Aanpassen" />'."\n";
+ print "</form>\n";
+ return;
+ }
+
+ $replies = $Page->widget('reply'); # handle updates