git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
page: quote link name fallback
[minimedit.git]
/
issue
/
index.php
diff --git
a/issue/index.php
b/issue/index.php
index 8c58f415de331bb8e23f42e8a4759e8fcd7fb2b2..e8a36d21e2efb3f3470f2ff17441b553a46e7f59 100644
(file)
--- a/
issue/index.php
+++ b/
issue/index.php
@@
-15,6
+15,7
@@
if ($id and ctype_digit($id)) {
$Page->title .= ': '.htmlspecialchars($Issue->subject);
$Page->teaser = $Issue->body;
$Page->title .= ': '.htmlspecialchars($Issue->subject);
$Page->teaser = $Issue->body;
+ if (!$User) return;
$Page->body = $replies; # find image
print "<h2>{$Page->title}</h2>\n";
$Page->body = $replies; # find image
print "<h2>{$Page->title}</h2>\n";
@@
-40,6
+41,7
@@
if ($id and ctype_digit($id)) {
print "</div>\n";
return;
}
print "</div>\n";
return;
}
+elseif (!$User) return;
if ($_POST) {
require_once 'upload.inc.php';
if ($_POST) {
require_once 'upload.inc.php';