From f0b1a9358a2e7a79673463d34658ccf5363c86b7 Mon Sep 17 00:00:00 2001 From: IJ Date: Tue, 27 Nov 2018 00:14:28 +0000 Subject: [PATCH] Add Access Keys in Help Link --- htdocs/main.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 06f67a9b79f..99b82156e42 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1576,6 +1576,11 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a if ($mode == 'wiki') $text.=sprintf($helpbaseurl,urlencode(html_entity_decode($helppage))); else $text.=sprintf($helpbaseurl,$helppage); $text.='">'; + $title.='

'; + $title.=''.$langs->trans("KeyboardShortcutsNavigation").'
'; + $title.='Firefox (Windows/Linux): ALT + SHIFT + Access Key
'; + $title.='Chrome (Windows/Linux): ALT + Access Key
'; + $title.='MAC (all browsers): CTRL + Access Key
'; //$text.=img_picto('', 'helpdoc_top').' '; $text.=''; //$toprightmenu.=$langs->trans($mode == 'wiki' ? 'OnlineHelp': 'Help');