2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
10 {htxt id="accesskeys"}
12 $ua = strtolower($_SERVER['HTTP_USER_AGENT']);
13 if (strstr($ua, 'mac')) {
14 $key = '<span>CTRL</span>+<span>ALT</span>';
17 $key = strstr($ua, 'firefox') ? '<span>ALT</span>+<span>SHIFT</span>' : '<span>ALT</span>';
19 $this->assign('accessKey', $key);
22 <ul id="crmAccessKeyList">
23 <li>{$accessKey}+<span>E</span> - {ts}Edit Contact (View Contact Summary Page){/ts}</li>
24 <li>{$accessKey}+<span>S</span> - {ts}Save Button{/ts}</li>
25 <li>{$accessKey}+<span>N</span> - {ts}Add a new record in each tab (Activities, Tags,..etc){/ts}</li>
26 <li>{$accessKey}+<span>M</span> - {ts}Find menu item...{/ts}</li>
27 <li>{$accessKey}+<span>Q</span> - {ts}Quicksearch{/ts}</li>
29 {literal}<style type="text/css">
30 #crmAccessKeyList li {
33 #crmAccessKeyList span {
34 display: inline-block;
37 border: 2px groove #eee;