mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 08:41:28 +00:00
fix warning in hotkey help dialog when disabled hotkey is processed
This commit is contained in:
@@ -39,18 +39,19 @@ class Backend extends Handler {
|
|||||||
|
|
||||||
foreach ($hotkeys as $action => $description) {
|
foreach ($hotkeys as $action => $description) {
|
||||||
|
|
||||||
foreach ($omap[$action] as $sequence) {
|
if (is_array($omap[$action])) {
|
||||||
if (strpos($sequence, "|") !== FALSE) {
|
foreach ($omap[$action] as $sequence) {
|
||||||
$sequence = substr($sequence,
|
if (strpos($sequence, "|") !== FALSE) {
|
||||||
strpos($sequence, "|")+1,
|
$sequence = substr($sequence,
|
||||||
strlen($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>";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user