Remove more table actions dropdown
Add spatial index action icons
This commit is contained in:
@@ -123,6 +123,25 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
|
||||
return $button;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a span with only an icon
|
||||
*
|
||||
* @uses $GLOBALS['pmaThemeImage']
|
||||
* @uses htmlspecialchars()
|
||||
* @param string $icon name of icon file
|
||||
* @param string $alternate alternate text
|
||||
* @return string span with icon
|
||||
*/
|
||||
function PMA_getOnlyIcon($icon, $alternate = '') {
|
||||
|
||||
$alternate = htmlspecialchars($alternate);
|
||||
|
||||
return '<span class="nowrap">'
|
||||
. '<img src="' . $GLOBALS['pmaThemeImage'] . $icon . '"'
|
||||
. ' title="' . $alternate . '" alt="' . $alternate . '"'
|
||||
. ' class="icon" width="16" height="16" />';
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays the maximum size for an upload
|
||||
*
|
||||
|
Reference in New Issue
Block a user