Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
16ea3e478e
@ -2346,14 +2346,7 @@ class PMA_Util
|
||||
|
||||
/* Opera has trouble with <input type="image"> */
|
||||
/* IE (before version 9) has trouble with <button> */
|
||||
if (PMA_USR_BROWSER_AGENT != 'IE'
|
||||
|| (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER > 8)) {
|
||||
return '<button class="' . $button_class . '" type="submit"'
|
||||
.' name="' . $button_name . '" value="' . htmlspecialchars($value)
|
||||
. '" title="' . htmlspecialchars($text) . '">' . "\n"
|
||||
. self::getIcon($image, $text)
|
||||
.'</button>' . "\n";
|
||||
} else {
|
||||
if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 9) {
|
||||
return '<input type="image" name="' . $image_name
|
||||
. '" value="' . htmlspecialchars($value)
|
||||
. '" title="' . htmlspecialchars($text)
|
||||
@ -2361,6 +2354,12 @@ class PMA_Util
|
||||
. ($GLOBALS['cfg']['PropertiesIconic'] === 'both'
|
||||
? ' ' . htmlspecialchars($text)
|
||||
: '') . "\n";
|
||||
} else {
|
||||
return '<button class="' . $button_class . '" type="submit"'
|
||||
.' name="' . $button_name . '" value="' . htmlspecialchars($value)
|
||||
. '" title="' . htmlspecialchars($text) . '">' . "\n"
|
||||
. self::getIcon($image, $text)
|
||||
.'</button>' . "\n";
|
||||
}
|
||||
} // end function
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user