mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
Fix language selection
Use "REQUEST_URI" instead of the "PHP_SELF" sever variable to determine the redirection URL for the language selection form. This fixes the language selection feature to work well with virtual URLs. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
96c36dc84f
commit
c959d95fb1
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="lang_sub">
|
<div id="lang_sub">
|
||||||
<form method="get" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES) ?>">
|
<form method="get" action="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"], ENT_QUOTES) ?>">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div>
|
<div>
|
||||||
<select name="setlang" id="id_setlang">
|
<select name="setlang" id="id_setlang">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue