summaryrefslogtreecommitdiffstats
path: root/web/html/pkgsubmit.php
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-11-23 23:24:56 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-11-23 23:24:56 -0500
commit1bc4836e19223cd2bcdc46c517d16f80783c1bcf (patch)
tree9ffa9d4e33dd056e93ca5db8239a45c98d096179 /web/html/pkgsubmit.php
parentcdd2e5dbd4f50151cbf0b774acb9decc3de3314a (diff)
downloadaurweb-1bc4836e19223cd2bcdc46c517d16f80783c1bcf.tar.xz
Restyle the layout.
Make HTML markup more logical. Remove some unused style sheets rules. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r--web/html/pkgsubmit.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index dfe3ce8..ac98ba7 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -430,6 +430,10 @@ html_header("Submit");
?>
+<?php if ($error): ?>
+ <p class="pkgoutput"><?php print $error ?></p>
+<?php endif; ?>
+
<div class="pgbox">
<div class="pgboxtitle">
<span class="f3"><?php print __("Submit"); ?></span>
@@ -502,6 +506,7 @@ html_header("Submit");
else:
# Visitor is not logged in
print __("You must create an account before you can upload packages.");
+ exit();
?>
<br />