git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reply: omit header from mandatory output
[minimedit.git]
/
issue
/
index.php
diff --git
a/issue/index.php
b/issue/index.php
index 6e13b13c99e7a54c84524f404f3c7daa4849a174..e7c69bb49de71088c48f8927dc2b3035685659a9 100644
(file)
--- a/
issue/index.php
+++ b/
issue/index.php
@@
-13,7
+13,6
@@
if ($id) {
$Article->title .= ': '.htmlspecialchars($Issue->subject);
print "<h2>{$Article->title}</h2>\n";
$Article->title .= ': '.htmlspecialchars($Issue->subject);
print "<h2>{$Article->title}</h2>\n";
- print $Issue->body;
$author = $Issue->author ? new User('profile/'.$Issue->author, FALSE) : NULL;
printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
'Geplaatst',
$author = $Issue->author ? new User('profile/'.$Issue->author, FALSE) : NULL;
printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
'Geplaatst',
@@
-31,6
+30,7
@@
if ($id) {
showdate(preg_split('/\D/', $Issue->closed))
);
}
showdate(preg_split('/\D/', $Issue->closed))
);
}
+ print $Issue->body;
$Args = "/$id"; # minimal reference
print placeholder_include('reply');
return;
$Args = "/$id"; # minimal reference
print placeholder_include('reply');
return;
@@
-61,11
+61,12
@@
$query = $Db->query($sql, [$Page]);
ob_start();
print '<ul>';
while ($row = $query->fetch()) {
ob_start();
print '<ul>';
while ($row = $query->fetch()) {
- printf('<li><a href="%s">%s <small class="date">%s</small></a>',
+ printf('<li><a href="%s">%s <small class="date">%s</small>
%s
</a>',
"/$Page/{$row->id}/{$row->link}",
sprintf($row->closed ? '<strike>%s</strike>' : '%s',
htmlspecialchars($row->subject)),
"/$Page/{$row->id}/{$row->link}",
sprintf($row->closed ? '<strike>%s</strike>' : '%s',
htmlspecialchars($row->subject)),
- showdate(array_slice(preg_split('/\D/', $row->updated), 0, 3))
+ showdate(array_slice(preg_split('/\D/', $row->updated), 0, 3)),
+ isset($row->assign) ? ' <em class="right">'.$row->assign.'</em>' : ''
);
print "</li>\n";
}
);
print "</li>\n";
}