diff options
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/logout.php | 1 | ||||
-rw-r--r-- | web/html/pkgsearch.php | 15 |
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"])) { |