';
foreach($shortcut_groups as $grp_name => $group){
if(empty($group)) {
return;
}
echo '
'. (!empty($grp_name) ? '
'.__pl($grp_name).'
' :'' ) .'
';
foreach($group as $desc => $shortcut) {
echo '- '.__pl($desc).'
';
//Considering the whole shortcut as a single key
$key = ''.$shortcut.'';
//replacing "+" and "," from the string to put it inside
$key = preg_replace('/\+/', ' + ', $key);
$key = preg_replace('/\,/', '', $key);
echo $key.'
';
}
echo '
';
}
echo '