mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
added English language selector back in
This commit is contained in:
parent
6cf28ee18d
commit
da50574c69
1 changed files with 5 additions and 4 deletions
|
@ -13,9 +13,10 @@ include_once("aur_po.inc");
|
||||||
$LOGIN_TIMEOUT = 1800; # number of idle seconds before timeout
|
$LOGIN_TIMEOUT = 1800; # number of idle seconds before timeout
|
||||||
$SUPPORTED_LANGS = array( # what languages we have translations for
|
$SUPPORTED_LANGS = array( # what languages we have translations for
|
||||||
"en" => "English",
|
"en" => "English",
|
||||||
"es" => "Español",
|
# Eventually we will comment these in, when they are ready - PJM - 4/2005
|
||||||
"de" => "Deutsch",
|
# "es" => "Español",
|
||||||
"fr" => "Français",
|
# "de" => "Deutsch",
|
||||||
|
# "fr" => "Français",
|
||||||
);
|
);
|
||||||
|
|
||||||
# debugging variables
|
# debugging variables
|
||||||
|
@ -386,7 +387,7 @@ function html_header() {
|
||||||
# XXX CSS help - a:link, a:visited, etc are defined, but I don't want to
|
# 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?
|
# use the defaults. Is this the way to override them?
|
||||||
#
|
#
|
||||||
#print "<a href='".$_SERVER["PHP_SELF"]."?setlang=en'><span class='sideBarSmallHeader'>English</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=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=de'><span class='sideBarSmallHeader'>Deutsch</span></a> ";
|
||||||
#print "<a href='".$_SERVER["PHP_SELF"]."?setlang=fr'><span class='sideBarSmallHeader'>Français</span></a>";
|
#print "<a href='".$_SERVER["PHP_SELF"]."?setlang=fr'><span class='sideBarSmallHeader'>Français</span></a>";
|
||||||
|
|
Loading…
Add table
Reference in a new issue