%! import splunk.util from splunk.appserver.mrsparkle.lib import i18n import re import xml.sax.saxutils as xu from mako.filters import html_escape %> <% # set max number of items to show MAX_NEXT_COMMAND_COUNT = 15 MAX_COMMAND_HISTORY_COUNT = 5 MAX_SEARCH_HISTORY_COUNT = 5 MAX_EXAMPLES_COUNT = 3 # set max number of characters to show per item MAX_KEYWORD_LENGTH = 40 MAX_SEARCH_HISTORY_LENGTH = 100 MORE_TEXT = _('more »') LESS_TEXT = _('« less') %> <%doc> /////////////////////////////////////////////////////////////////////////////// // Left panel container for the typeahead content /////////////////////////////////////////////////////////////////////////////// %doc> % if len(typeahead) > 0 and typeahead[0][0] != "*":