mirror of
https://github.com/vrana/adminer.git
synced 2026-02-05 22:30:17 +01:00
Move icons to CSS
This commit is contained in:
@@ -534,3 +534,14 @@ function edit_form($table, $fields, $row, $update) {
|
||||
echo input_token();
|
||||
echo "</form>\n";
|
||||
}
|
||||
|
||||
/** Get button with icon
|
||||
* @param string
|
||||
* @param string
|
||||
* @param string
|
||||
* @param string
|
||||
* @return string
|
||||
*/
|
||||
function icon($icon, $name, $html, $title) {
|
||||
return "<button type='submit' name='$name' title='" . h($title) . "' class='icon icon-$icon'><span>$html</span></button>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user