Garvin fix for special characters in left panel

This commit is contained in:
Marc Delisle
2004-05-10 17:29:04 +00:00
parent 25536f933f
commit 06b78de508
2 changed files with 5 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ $Source$
2004-05-10 Marc Delisle <lem9@users.sourceforge.net>
* lang/serbian: Updated, thanks to Mihailo Stefanovic (mikis).
* left.php: commit for Garvin: fix for wrong group expanding (group
name containing foreign characters)
2004-05-10 Michal Čihař <michal@cihar.com>
* libraries/dbi/mysql.dbi.lib.php: Fix PMA_DBI_field_name, fixes also bug

View File

@@ -77,7 +77,9 @@ function PMA_indent($spaces) {
function PMA_nestedSetHeaderParent($baseid, $key, $keyhistory, $indent, $indent_level, $val, $childout = true) {
$name = $key;
$id = preg_replace('@[^a-z0-9]*@i', '', $baseid . $keyhistory . $key) . $indent;
//$id = preg_replace('@[^a-z0-9]*@i', '', $baseid . $keyhistory . $key) . $indent;
$id = base64_encode($baseid . $keyhistory . $key) . $indent;
$groupkey = $keyhistory . ($key != $keyhistory ? $GLOBALS['cfg']['LeftFrameTableSeparator'] . $key : '');
$on_mouse = (($GLOBALS['cfg']['LeftPointerColor'] == '') ? '' : ' onmouseover="if (isDOM || isIE4) {hilightBase(\'el' . $id . '\', \'' . $GLOBALS['cfg']['LeftPointerColor'] . '\')}" onmouseout="if (isDOM || isIE4) {hilightBase(\'el' . $id . '\', \'' . $GLOBALS['cfg']['LeftBgColor'] . '\')}"');