<% if((typeof str_displayShortcuts !== "undefined")) { %>
<% if((typeof shortcuts !== "undefined")
&& (typeof categories !== "undefined")
&& (typeof str_shortcutName !== "undefined")
&& (typeof str_shortcut !== "undefined")) { %>
<% _.each(categories, function(cat) { %>
<%= str_shortcutName %>
|
<%= str_shortcut %>
|
<% _.each(shortcuts[cat.val], function(sc) { %>
<%= sc.name %> | <%= sc.val %> |
<% }); %>
<% }); %>
<% } %>
<% } else { %>
<%= str_noShortcutsAvailable %>
<% } %>
<% } %>