git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue: admin option to edit subjects
[minimedit.git]
/
widget
/
reply.php
diff --git
a/widget/reply.php
b/widget/reply.php
index 010b1de4dcb90e9e1c0179a7e9da608797917b0e..6fe9eb1fc5eadcf5b3a098734ab2dde733277a9d 100644
(file)
--- a/
widget/reply.php
+++ b/
widget/reply.php
@@
-69,6
+69,17
@@
if ($User->login) {
print '<li>';
print '<form method="post" action="" enctype="multipart/form-data">';
if (isset($Issue) and $User->admin("edit {$Page->link}")) {
print '<li>';
print '<form method="post" action="" enctype="multipart/form-data">';
if (isset($Issue) and $User->admin("edit {$Page->link}")) {
+ print "<aside>\n";
+ print '<p>';
+ printf(
+ '<label for="%s">%s:</label> '
+ . '<input id="%1$s" name="%1$s" value="%s" />'."\n",
+ 'subject',
+ $journalcol['subject'],
+ htmlspecialchars($Issue->subject ?? '')
+ );
+ print "</p>\n";
+
print '<p>';
printf(
'<label for="%s">%s:</label> '
print '<p>';
printf(
'<label for="%s">%s:</label> '
@@
-87,6
+98,7
@@
if ($User->login) {
'Gesloten'
);
print "</p>\n";
'Gesloten'
);
print "</p>\n";
+ print "</aside>\n";
}
{
print '<p>';
}
{
print '<p>';