mirror of
https://github.com/e107inc/e107.git
synced 2025-05-06 12:15:38 +02:00
Merge pull request #1908 from Jimmi08/master
wrong action in form with userlanguage menu #1883
This commit is contained in:
commit
2e61d973b1
@ -24,7 +24,7 @@ sort($languageList);
|
|||||||
|
|
||||||
if(varset($pref['multilanguage_subdomain']))
|
if(varset($pref['multilanguage_subdomain']))
|
||||||
{
|
{
|
||||||
$action = (e_QUERY) ? e_SELF.'?'.e_QUERY : e_SELF;
|
$action = e_REQUEST_URI;
|
||||||
$text = '
|
$text = '
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<select class="tbox form-control" name="lang_select" style="width:95%" onchange="location.href=this.options[selectedIndex].value">';
|
<select class="tbox form-control" name="lang_select" style="width:95%" onchange="location.href=this.options[selectedIndex].value">';
|
||||||
@ -42,7 +42,7 @@ if(varset($pref['multilanguage_subdomain']))
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//FIXME may not work with session
|
//FIXME may not work with session
|
||||||
$action = (e_QUERY && ! $_GET['elan']) ? e_SELF.'?'.e_QUERY : e_SELF;
|
$action = e_REQUEST_URI;
|
||||||
$text = '
|
$text = '
|
||||||
<form method="post" action="'.$action.'">
|
<form method="post" action="'.$action.'">
|
||||||
<div class="center">
|
<div class="center">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user