-[% IF show_debug %]
- <td align='center' nowrap>
- Debug:
- [<a href='controller.pl?action=DebugMenu/reload']>FCGI Reload</a>]
- [<a href='controller.pl?action=DebugMenu/toggle&level=request_timer'>[% IF lxdebug.level_by_name('request_timer') %]<b>Timing</b>[% ELSE %]Timing[% END %]</a>]
- [<a href='controller.pl?action=DebugMenu/toggle&level=trace'>[% IF lxdebug.level_by_name('trace') %]<b>Trace</b>[% ELSE %]Trace[% END %]</a>]
- [<a href='controller.pl?action=DebugMenu/toggle&level=query'>[% IF lxdebug.level_by_name('query') %]<b>Query</b>[% ELSE %]Query[% END %]</a>]
- </td>
-[%- END %]
- <td align="right" nowrap>
- [% 'User' | $T8 %]:
- [% login %]
- [<a href="login.pl?action=logout" target="_top" title="[% 'Logout now' | $T8 %]">[% 'Logout' | $T8 %]</a>]
- [% now.to_lxoffice %] -
- [% now.hms %]
- </td>
- </tr>
- </table>
-</body>
-</html>
+ <span class="frame-header-element frame-header-right">
+ [[% 'User' | $T8 %]: [% MYCONFIG.login | html %] -
+ [% 'Client' | $T8 %]: [% AUTH.client.name | html %] -
+ <a href="controller.pl?action=LoginScreen/logout" target="_top" title="[% 'Logout now' | $T8 %]">[% 'Logout' | $T8 %]</a>]
+ [% now.to_lxoffice %] -
+ [% now.hms %]
+ </span>
+ <span class="frame-header-element frame-header-right" id="ajax-spinner">
+ <img src="image/[% IF MYCONFIG.stylesheet == 'lx-office-erp.css' %]spinner-blue.gif[% ELSE %]spinner-white.gif[% END %]" alt="[% LxERP.t8('Loading...') %]">
+ </span>
+</div>