diff options
author | eric <eric> | 2004-07-02 12:47:16 +0000 |
---|---|---|
committer | eric <eric> | 2004-07-02 12:47:16 +0000 |
commit | ae26c9ce2a0bfe6ed0f5282f08cb672364de1c19 (patch) | |
tree | 875d35581e9b9a5ed0bb309aaf524ee69cf0d9fd /web/html | |
parent | 23589299786ac249ed16feb28a83f3e3da3d2829 (diff) |
baby steps
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 a25da7c..26d6166 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 445e776..6524b51 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"])) { |