\n";
print " ";
-print __("This is where the intro text will go.");
-print __("For now, it's just a place holder.");
-print __("It's more important to get the login functionality finished.");
-print __("After that, this can be filled in with more meaningful text.");
+?>
+Welcome to the AUR! If you're a newcomer, you may want to read the User Documentation.
+";
# XXX Is this the proper way to add some spacing between table cells?
#
diff --git a/web/html/packages.php b/web/html/packages.php
index a211b34c..48fc9a0b 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -198,7 +198,7 @@ if (isset($_REQUEST["do_Flag"])) {
$q = "SELECT Packages.ID FROM Packages, PackageLocations ";
$q.= "WHERE Packages.ID IN (" . $delete . ") ";
$q.= "AND Packages.LocationID = PackageLocations.ID ";
- $q.= "AND PackageLocations.Location = 'Unsupported' ";
+ $q.= "AND PackageLocations.Location = 'unsupported' ";
$q.= "AND AURMaintainerUID IN (0, " . uid_from_sid($_COOKIE["AURSID"]) . ")";
$result = db_query($q, $dbh);
if ($result != Null && mysql_num_rows($result) > 0) {
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index bd635f44..a73ca5ae 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -330,7 +330,8 @@ if ($_COOKIE["AURSID"]) {
#
$q = "UPDATE Packages SET ";
$q.="Name='".mysql_escape_string($new_pkgbuild['pkgname'])."', ";
- $q.="Version='".mysql_escape_string($new_pkgbuild['pkgver'])."',";
+ $q.="Version='".mysql_escape_string($new_pkgbuild['pkgver'])."-".
+ mysql_escape_string($new_pkgbuild['pkgrel'])."',";
$q.="CategoryID=".mysql_escape_string($_REQUEST['category']).", ";
$q.="Description='".mysql_escape_string($new_pkgbuild['pkgdesc'])."', ";
$q.="URL='".mysql_escape_string($new_pkgbuild['url'])."', ";
@@ -389,7 +390,8 @@ if ($_COOKIE["AURSID"]) {
$q.= " SubmittedTS, SubmitterUID, MaintainerUID, FSPath, URLPath) ";
$q.= "VALUES ('";
$q.= mysql_escape_string($new_pkgbuild['pkgname'])."', '";
- $q.= mysql_escape_string($new_pkgbuild['pkgver'])."', ";
+ $q.= mysql_escape_string($new_pkgbuild['pkgver'])."-".
+ mysql_escape_string($new_pkgbuild['pkgrel'])."', ";
$q.= mysql_escape_string($_REQUEST['category']).", '";
$q.= mysql_escape_string($new_pkgbuild['pkgdesc'])."', '";
$q.= mysql_escape_string($new_pkgbuild['url']);
@@ -478,7 +480,7 @@ if ($_COOKIE["AURSID"]) {
print __("Package Category").": | \n";
print " ";
print " | \n";
print "
\n";
print "