-
- [[% 'Search contacts' | $T8 %] <input size="15" name="search_term" id="search_term" onkeydown="return on_keydown_quicksearch(event)">]
- </td>
- <td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
- [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
+ [[% 'Search contacts' | $T8 %] <input size="15" name="search_term" id="search_term" onkeydown="return on_keydown_quicksearch($('#search_term'), event)">]
+[%- IF AUTH.assert('general_ledger', 1) %]
+ [[% 'GL search' | $T8 %]: <input id="glquicksearch" name="glquicksearch" type="text" class="ui-widget" size="20" maxlength="20">]
+[%- END %]
+ </span>
+ <span class="frame-header-element frame-header-right">
+ [[% 'User' | $T8 %]: [% MYCONFIG.login | html %] -
+ [% 'Client' | $T8 %]: [% AUTH.client.name | html %] -