diff --git a/web/html/logout.php b/web/html/logout.php
index a25da7c5..26d6166c 100644
--- a/web/html/logout.php
+++ b/web/html/logout.php
@@ -12,6 +12,7 @@ if (isset($_COOKIE["AURSID"])) {
$dbh = db_connect();
db_query($q, $dbh);
setcookie("AURSID", "", time() - (60*60*24*30), "/");
+ setcookie("AURLANG", "", time() - (60*60*24*30), "/");
}
html_header(); # print out the HTML header
diff --git a/web/html/pkgsearch.php b/web/html/pkgsearch.php
index 445e7767..6524b51c 100644
--- a/web/html/pkgsearch.php
+++ b/web/html/pkgsearch.php
@@ -8,22 +8,9 @@ html_header(); # print out the HTML header
# define variables used during pkgsearch
#
-$pkgsearch_vars = array("O", "L", "C", "K", "SB", "PP");
+$pkgsearch_vars = array("O", "L", "C", "K", "SB", "PP", "do_MyPackages");
-function pkgsearch_results_link() {
- global $pkgsearch_vars;
-
- print "Go back to search results.
\n";
- return;
-}
-
-
# get login privileges
#
if (isset($_COOKIE["AURSID"])) {
diff --git a/web/lang/pkgfuncs_po.inc b/web/lang/pkgfuncs_po.inc
index cd96ecbe..72a239b8 100644
--- a/web/lang/pkgfuncs_po.inc
+++ b/web/lang/pkgfuncs_po.inc
@@ -116,4 +116,29 @@ $_t["en"]["Vote"] = "Vote";
# $_t["fr"]["Vote"] = "--> Traduction française ici. <--";
# $_t["de"]["Vote"] = "--> Deutsche Übersetzung hier. <--";
+$_t["en"]["Error retrieving package details."] = "Error retrieving package details.";
+# $_t["es"]["Error retrieving package details."] = "--> Traducción española aquí. <--";
+# $_t["fr"]["Error retrieving package details."] = "--> Traduction française ici. <--";
+# $_t["de"]["Error retrieving package details."] = "--> Deutsche Übersetzung hier. <--";
+
+$_t["en"]["Package details could not be found."] = "Package details could not be found.";
+# $_t["es"]["Package details could not be found."] = "--> Traducción española aquí. <--";
+# $_t["fr"]["Package details could not be found."] = "--> Traduction française ici. <--";
+# $_t["de"]["Package details could not be found."] = "--> Deutsche Übersetzung hier. <--";
+
+$_t["en"]["Error retrieving package list."] = "Error retrieving package list.";
+# $_t["es"]["Error retrieving package list."] = "--> Traducción española aquí. <--";
+# $_t["fr"]["Error retrieving package list."] = "--> Traduction française ici. <--";
+# $_t["de"]["Error retrieving package list."] = "--> Deutsche Übersetzung hier. <--";
+
+$_t["en"]["Go back to %hsearch results%h."] = "Go back to %hsearch results%h.";
+# $_t["es"]["Go back to %hsearch results%h."] = "--> Traducción española aquí. <--";
+# $_t["fr"]["Go back to %hsearch results%h."] = "--> Traduction française ici. <--";
+# $_t["de"]["Go back to %hsearch results%h."] = "--> Deutsche Übersetzung hier. <--";
+
+$_t["en"]["Manage"] = "Manage";
+# $_t["es"]["Manage"] = "--> Traducción española aquí. <--";
+# $_t["fr"]["Manage"] = "--> Traduction française ici. <--";
+# $_t["de"]["Manage"] = "--> Deutsche Übersetzung hier. <--";
+
?>
\ No newline at end of file
diff --git a/web/lang/search_po.inc b/web/lang/search_po.inc
index 01527c4c..6714b85a 100644
--- a/web/lang/search_po.inc
+++ b/web/lang/search_po.inc
@@ -36,4 +36,19 @@ $_t["en"]["You do not have access to adopt packages."] = "You do not have access
# $_t["fr"]["You do not have access to adopt packages."] = "--> Traduction française ici. <--";
# $_t["de"]["You do not have access to adopt packages."] = "--> Deutsche Übersetzung hier. <--";
+$_t["en"]["You must be logged in before you can disown packages."] = "You must be logged in before you can disown packages.";
+# $_t["es"]["You must be logged in before you can disown packages."] = "--> Traducción española aquí. <--";
+# $_t["fr"]["You must be logged in before you can disown packages."] = "--> Traduction française ici. <--";
+# $_t["de"]["You must be logged in before you can disown packages."] = "--> Deutsche Übersetzung hier. <--";
+
+$_t["en"]["Error trying to retrieve package details."] = "Error trying to retrieve package details.";
+# $_t["es"]["Error trying to retrieve package details."] = "--> Traducción española aquí. <--";
+# $_t["fr"]["Error trying to retrieve package details."] = "--> Traduction française ici. <--";
+# $_t["de"]["Error trying to retrieve package details."] = "--> Deutsche Übersetzung hier. <--";
+
+$_t["en"]["You must be logged in before you can adopt packages."] = "You must be logged in before you can adopt packages.";
+# $_t["es"]["You must be logged in before you can adopt packages."] = "--> Traducción española aquí. <--";
+# $_t["fr"]["You must be logged in before you can adopt packages."] = "--> Traduction française ici. <--";
+# $_t["de"]["You must be logged in before you can adopt packages."] = "--> Deutsche Übersetzung hier. <--";
+
?>
\ No newline at end of file
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index bdec6435..26e538ad 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -365,7 +365,8 @@ function html_header() {
# XXX Can I scale a PNG like this?
#
- print "\n";
+ print "
\n";
print "
\n"; - #print_r($_REQUEST); - #print "\n"; + print $q."
\n"; + print_r($_REQUEST); + print "\n"; $result = db_query($q, $dbh); if (!$result) { @@ -502,41 +546,43 @@ function pkg_search_page($SID="") { print "