' . "\n" .
'' . "\n";
if (isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding'] && $allow_recoding)
$result .= '' . "\n";
if (!empty($db))
$result .= '';
if (!empty($table))
$result .= '';
return $result;
}
function PMA_generate_common_url ($db = '', $table = '')
{
global $lang, $convcharset, $server;
global $cfg, $allow_recoding;
$result = 'lang=' . $lang
. '&server=' . $server;
if (isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding'] && $allow_recoding)
$result .= '&convcharset=' . $convcharset;
if (!empty($db))
$result .= '&db='.urlencode($db);
if (!empty($table))
$result .= '&table='.urlencode($table);
return $result;
}
}
?>