-[%- USE T8 %]
-[% USE HTML %]
- <script type="text/javascript" src="js/jquery.js"></script>
- <script type="text/javascript">
- <!--
-function on_keydown_quicksearch(e) {
- var key;
-
- if (window.event)
- key = window.event.keyCode; // IE
- else
- key = e.which; // Firefox
-
- if (key != 13)
- return true;
-
- var search_term = $("#search_term");
- var value = search_term.val();
- if (!value)
- return true;
-
- var url = "ct.pl?action=list_contacts&INPUT_ENCODING=utf-8&filter.status=active&search_term=" + encodeURIComponent(value);
-
- search_term.val('');
- $("#win1").attr('src', url);
-
- return false;
-}
-
-function clockon() {
- var now = new Date();
- var h = now.getHours();
- var m = now.getMinutes();
- document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
- var timer=setTimeout("clockon()", 10000);
-}
-$(clockon);
-//-->
- </script>
-
-<div id="frame-header">
- <span class="frame-header-element frame-header-left">
- [<a href="login.pl?action=company_logo" target="_blank">[% 'new Window' | $T8 %]</a>]
- [<a href="JavaScript:top.print()">[% 'print' | $T8 %]</a>]
- [[% 'Search contacts' | $T8 %] <input size="15" name="search_term" id="search_term" onkeydown="return on_keydown_quicksearch(event)">]
- </span>
- <span class="frame-header-element frame-header-right">
- [[% 'User' | $T8 %]: [% MYCONFIG.login | html %] -
- <a href="controller.pl?action=LoginScreen/logout" target="_top">[% 'logout' | $T8 %]</a>]
- [% date %] <span id='clock_id' style='position:relative'></span>
- </span>
-</div>
- <div id="menuv3">
-
- [% menu %]
-
- </div>