diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-11-09 18:53:34 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-11-09 18:53:34 -0500 |
commit | 6ee8b88c58c984489e13eb26f8509fe1ddb1510a (patch) | |
tree | 5f9a99eb4ad967a7b57bf00b0511084f5b6bc475 /web/html/pkgsubmit.php | |
parent | e4f9d2af6ea4cde7a9ba64b9aa67895cfd6fe7c3 (diff) | |
download | aurweb-6ee8b88c58c984489e13eb26f8509fe1ddb1510a.tar.xz |
pkgsubmit: Instruct users how to make source packages.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/html/pkgsubmit.php')
-rw-r--r-- | web/html/pkgsubmit.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index db3bdc3..dfe3ce8 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -413,7 +413,7 @@ if ($_COOKIE["AURSID"]): db_query($q, $dbh); } } - + pkg_notify(account_from_sid($_COOKIE["AURSID"]), array($packageID)); header('Location: packages.php?ID=' . $packageID); @@ -435,6 +435,7 @@ html_header("Submit"); <span class="f3"><?php print __("Submit"); ?></span> </div> <div class="pgboxbody"> + <p><?php echo __("Upload your source packages here. Create source packages with `makepkg --source`.") ?></p> <?php if (empty($_REQUEST['pkgsubmit']) || $error): @@ -455,11 +456,11 @@ html_header("Submit"); ?> <form action='pkgsubmit.php' method='post' enctype='multipart/form-data'> - <input type='hidden' name='pkgsubmit' value='1' /> + <div> <input type='hidden' name='pkgsubmit' value='1' /> </div> <table border='0' cellspacing='5'> <tr> - <td span='f4' align='right'><?php print __("Package Category"); ?>:</td> - <td span='f4' align='left'> + <td class='f4' align='right'><?php print __("Package Category"); ?>:</td> + <td class='f4' align='left'> <select name='category'> <option value='1'><?php print __("Select Category"); ?></option> <?php @@ -475,8 +476,8 @@ html_header("Submit"); </td> </tr> <tr> - <td span='f4' align='right'><?php print __("Upload package file"); ?>:</td> - <td span='f4' align='left'> + <td class='f4' align='right'><?php print __("Upload package file"); ?>:</td> + <td class='f4' align='left'> <input type='file' name='pfile' size='30' /> </td> </tr> |