bug #4564 Designer: spaces in table name with edit table link generates bad links

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2014-10-21 21:20:24 +05:30
parent ef33a839fb
commit 3334ca3ce6
2 changed files with 3 additions and 2 deletions

View File

@ -53,6 +53,7 @@ phpMyAdmin - ChangeLog
- bug #4558 Unable to Add Rows while Creating Table
+ rfe #1547 Wrap No Tables Found message with message box
- bug #4559 Logging in causes 100% CPU usage
- bug #4564 Designer: spaces in table name with edit table link generates bad links
4.2.11.0 (not yet released)
- bug ReferenceError: Table_onover is not defined

View File

@ -482,7 +482,7 @@ function PMA_getHTMLTableList($tab_pos, $display_page)
$html .= 'onmouseover="this.className=\'L_butt2_2\'" ';
$html .= 'onmouseout="this.className=\'L_butt2_1\'" class="L_butt2_1">';
$html .= '<img onclick="Start_tab_upd(\'';
$html .= $GLOBALS['PMD_URL']["TABLE_NAME_SMALL"][$i] . '\');" alt="" ';
$html .= $GLOBALS['PMD']["TABLE_NAME_SMALL"][$i] . '\');" alt="" ';
$html .= 'src="' . $_SESSION['PMA_Theme']->getImgPath('pmd/exec.png')
. '"/>';
$html .= '</td>';
@ -600,7 +600,7 @@ function PMA_getDatabaseTables(
$html .= 'onmouseover="this.className=\'small_tab_pref2\';" ';
$html .= 'onmouseout="this.className=\'small_tab_pref\';" ';
$html .= 'onclick="Start_tab_upd(\''
. $GLOBALS['PMD_URL']["TABLE_NAME_SMALL"][$i] . '\');">';
. $GLOBALS['PMD']["TABLE_NAME_SMALL"][$i] . '\');">';
$html .= '<img alt="" ';
$html .= 'src="' . $_SESSION['PMA_Theme']->getImgPath('pmd/exec_small.png')
. '" />';