2 [% USE HTML %]<body style="padding:0px; margin:0px;">
4 <script type="text/javascript" src="js/jquery.js"></script>
5 <script type="text/javascript">
7 function on_keydown_quicksearch(e) {
11 key = window.event.keyCode; // IE
13 key = e.which; // Firefox
18 var search_term = $("#search_term");
19 var value = search_term.val();
23 var url = "ct.pl?action=list_contacts&INPUT_ENCODING=utf-8&filter.status=active&search_term=" + encodeURIComponent(value);
26 $("#win1").attr('src', url);
33 var h = now.getHours();
34 var m = now.getMinutes();
35 document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
36 var timer=setTimeout("clockon()", 10000);
42 <table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
44 <td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
46 [<a href="menuv3.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
48 [<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
50 [[% 'Search contacts' | $T8 %] <input size="15" name="search_term" id="search_term" onkeydown="return on_keydown_quicksearch(event)">]
52 <td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
53 [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
54 <a href="controller.pl?action=LoginScreen/logout" target="_top">[% 'logout' | $T8 %]</a>]
55 [% date %] <span id='clock_id' style='position:relative'></span>
67 <div style="clear: both;"></div>
69 <iframe id="win1" src="[% callback %]" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
70 <p>[% 'MSG_BROWSER_DOES_NOT_SUPPORT_IFRAMES' | $T8 %]</p>