For proper conversion of the Edit link to Inline Edit
This commit is contained in:
@@ -101,9 +101,8 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
|
|||||||
$include_box = true;
|
$include_box = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($include_box) {
|
// Always use a span (we rely on this in js/sql.js)
|
||||||
$button .= '<span class="nowrap">';
|
$button .= '<span class="nowrap">';
|
||||||
}
|
|
||||||
|
|
||||||
if ($include_icon) {
|
if ($include_icon) {
|
||||||
$button .= '<img src="' . $GLOBALS['pmaThemeImage'] . $icon . '"'
|
$button .= '<img src="' . $GLOBALS['pmaThemeImage'] . $icon . '"'
|
||||||
@@ -119,9 +118,7 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
|
|||||||
$button .= $alternate;
|
$button .= $alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($include_box) {
|
|
||||||
$button .= '</span>';
|
$button .= '</span>';
|
||||||
}
|
|
||||||
|
|
||||||
return $button;
|
return $button;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user