fix warning in hotkey help dialog when disabled hotkey is processed
This commit is contained in:
parent
ef3da31cd9
commit
7d272e5c04
1 changed files with 12 additions and 11 deletions
|
@ -39,18 +39,19 @@ class Backend extends Handler {
|
|||
|
||||
foreach ($hotkeys as $action => $description) {
|
||||
|
||||
foreach ($omap[$action] as $sequence) {
|
||||
if (strpos($sequence, "|") !== FALSE) {
|
||||
$sequence = substr($sequence,
|
||||
strpos($sequence, "|")+1,
|
||||
strlen($sequence));
|
||||
if (is_array($omap[$action])) {
|
||||
foreach ($omap[$action] as $sequence) {
|
||||
if (strpos($sequence, "|") !== FALSE) {
|
||||
$sequence = substr($sequence,
|
||||
strpos($sequence, "|")+1,
|
||||
strlen($sequence));
|
||||
}
|
||||
|
||||
print "<li>";
|
||||
print "<span class='hksequence'>$sequence</span>";
|
||||
print $description;
|
||||
print "</li>";
|
||||
}
|
||||
|
||||
print "<li>";
|
||||
print "<span class='hksequence'>$sequence</span>";
|
||||
print $description;
|
||||
print "</li>";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue