diff options
author | eric <eric> | 2004-06-25 16:41:37 +0000 |
---|---|---|
committer | eric <eric> | 2004-06-25 16:41:37 +0000 |
commit | 5cbbf11c8bf72a1b80dc72e27d5737c7d79a5903 (patch) | |
tree | b5ec1fa983c02bfff89064df9dc8a2a5b0c6875c /web/lib/aur.inc | |
parent | e7f806e43c8ccf0d4c8eb49b0020a99deb88a987 (diff) |
less/more buttons work on packages
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r-- | web/lib/aur.inc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc index def41c6..f59e63a 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -294,6 +294,7 @@ function set_lang() { # common header # function html_header() { + global $_SERVER; global $_COOKIE; global $LANG; print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; @@ -332,10 +333,10 @@ function html_header() { # XXX CSS help - a:link, a:visited, etc are defined, but I don't want to # use the defaults. Is this the way to override them? # - print "<a href='/index.php?setlang=en'><span class='sideBarSmallHeader'>English</span></a> "; - print "<a href='/index.php?setlang=es'><span class='sideBarSmallHeader'>Español</span></a> "; - print "<a href='/index.php?setlang=de'><span class='sideBarSmallHeader'>Deutsch</span></a> "; - print "<a href='/index.php?setlang=fr'><span class='sideBarSmallHeader'>Français</span></a>"; + print "<a href='".$_SERVER["PHP_SELF"]."?setlang=en'><span class='sideBarSmallHeader'>English</span></a> "; + print "<a href='".$_SERVER["PHP_SELF"]."?setlang=es'><span class='sideBarSmallHeader'>Español</span></a> "; + print "<a href='".$_SERVER["PHP_SELF"]."?setlang=de'><span class='sideBarSmallHeader'>Deutsch</span></a> "; + print "<a href='".$_SERVER["PHP_SELF"]."?setlang=fr'><span class='sideBarSmallHeader'>Français</span></a>"; print " </td>\n"; print " </tr>\n"; print " </table>\n"; |