Remove more table actions dropdown

Add spatial index action icons
This commit is contained in:
2025-04-21 00:26:28 -07:00
parent 083031170c
commit fa1b8d5c94
7 changed files with 66 additions and 257 deletions

View File

@@ -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
*