{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {htxt id="accesskeys"} {php} $ua = strtolower($_SERVER['HTTP_USER_AGENT']); if (strstr($ua, 'mac')) { $key = 'CTRL+ALT'; } else { $key = strstr($ua, 'firefox') ? 'ALT+SHIFT' : 'ALT'; } $this->assign('accessKey', $key); {/php}

{literal}{/literal} {/htxt}