mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:55:55 +00:00
add hack to support arbitrary key descriptions for hotkeys
This commit is contained in:
@@ -44,6 +44,12 @@ class Backend extends Handler {
|
||||
print "<li><h3>" . $section . "</h3></li>";
|
||||
|
||||
foreach ($hotkeys as $action => $description) {
|
||||
if (strpos($omap[$action], "|") !== FALSE) {
|
||||
$omap[$action] = substr($omap[$action],
|
||||
strpos($omap[$action], "|")+1,
|
||||
strlen($omap[$action]));
|
||||
}
|
||||
|
||||
print "<li>";
|
||||
print "<span class='hksequence'>" . $omap[$action] . "</span>";
|
||||
print $description;
|
||||
|
||||
Reference in New Issue
Block a user