summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authoreric <eric>2004-07-02 14:47:16 +0200
committereric <eric>2004-07-02 14:47:16 +0200
commitae26c9ce2a0bfe6ed0f5282f08cb672364de1c19 (patch)
tree875d35581e9b9a5ed0bb309aaf524ee69cf0d9fd /web/html
parent23589299786ac249ed16feb28a83f3e3da3d2829 (diff)
downloadaur-ae26c9ce2a0bfe6ed0f5282f08cb672364de1c19.tar.gz
aur-ae26c9ce2a0bfe6ed0f5282f08cb672364de1c19.tar.xz
baby steps
Diffstat (limited to 'web/html')
-rw-r--r--web/html/logout.php1
-rw-r--r--web/html/pkgsearch.php15
2 files changed, 2 insertions, 14 deletions
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 <a href='/pkgsearch.php?";
- $url_data = "do_Search=1";
- while (list($k, $var) = each($pkgsearch_vars)) {
- $url_data.="&".$var."=".rawurlencode(stripslashes($_REQUEST[$var]));
- }
- print $url_data . "'>search results</a>.<br />\n";
- return;
-}
-
-
# get login privileges
#
if (isset($_COOKIE["AURSID"])) {