Group databases by rightmost separator (bug #1325651).
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
|||||||
|
|
||||||
2005-10-17 Michal Čihař <michal@cihar.com>
|
2005-10-17 Michal Čihař <michal@cihar.com>
|
||||||
* lang/czech: Translation fixes.
|
* lang/czech: Translation fixes.
|
||||||
|
* libraries/common.lib.php: Group databases by rightmost separator (bug
|
||||||
|
#1325651).
|
||||||
|
|
||||||
2005-10-17 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-10-17 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* css/phpmyadmin.css.php: border around tabs bug #1326730
|
* css/phpmyadmin.css.php: border around tabs bug #1326730
|
||||||
|
@@ -829,11 +829,9 @@ function PMA_getDbList() {
|
|||||||
&& $GLOBALS['cfg']['LeftFrameDBSeparator']
|
&& $GLOBALS['cfg']['LeftFrameDBSeparator']
|
||||||
&& strstr( $db, $GLOBALS['cfg']['LeftFrameDBSeparator'] ) )
|
&& strstr( $db, $GLOBALS['cfg']['LeftFrameDBSeparator'] ) )
|
||||||
{
|
{
|
||||||
$parts = explode( $GLOBALS['cfg']['LeftFrameDBSeparator'],
|
$pos = strrpos($db, $GLOBALS['cfg']['LeftFrameDBSeparator']);
|
||||||
$db, 2 );
|
$group = substr($db, 0, $pos);
|
||||||
$group = $parts[0];
|
$disp_name_cut = substr($db, $pos);
|
||||||
$disp_name_cut = $GLOBALS['cfg']['LeftFrameDBSeparator']
|
|
||||||
. $parts[1];
|
|
||||||
} else {
|
} else {
|
||||||
$group = $db;
|
$group = $db;
|
||||||
$disp_name_cut = $db;
|
$disp_name_cut = $db;
|
||||||
|
Reference in New Issue
Block a user