kivitendo/templates/webpages/menu/menuv3.html @ 2219d158
dfee9199 | Sven Schöling | [%- USE T8 %]
|
||
4a12c839 | Sven Schöling | [% USE HTML %]
|
||
4070dbf3 | Sven Schöling | <script type="text/javascript" src="js/jquery.js"></script>
|
||
064232d4 | Moritz Bunkus | <script type="text/javascript">
|
||
4070dbf3 | Sven Schöling | <!--
|
||
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;
|
||||
}
|
||||
064232d4 | Moritz Bunkus | 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);
|
||||
}
|
||||
window.onload=clockon
|
||||
//-->
|
||||
</script>
|
||||
<table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
4070dbf3 | Sven Schöling | <td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
|
||
064232d4 | Moritz Bunkus |
|
||
dfee9199 | Sven Schöling | [<a href="menuv3.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
|
||
064232d4 | Moritz Bunkus |
|
||
dfee9199 | Sven Schöling | [<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
|
||
4070dbf3 | Sven Schöling |
|
||
[[% 'Search contacts' | $T8 %] <input size="15" name="search_term" id="search_term" onkeydown="return on_keydown_quicksearch(event)">]
|
||||
064232d4 | Moritz Bunkus | </td>
|
||
<td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
|
||||
dfee9199 | Sven Schöling | [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
|
||
540c0b5e | Moritz Bunkus | <a href="controller.pl?action=LoginScreen/logout" target="_top">[% 'logout' | $T8 %]</a>]
|
||
f0545901 | Moritz Bunkus | [% date %] <span id='clock_id' style='position:relative'></span>
|
||
064232d4 | Moritz Bunkus | </td>
|
||
</tr>
|
||||
</table>
|
||||
01b3bcb9 | Sven Schöling | <div id="menuv3">
|
||
064232d4 | Moritz Bunkus | |||
f0545901 | Moritz Bunkus | [% menu %]
|
||
064232d4 | Moritz Bunkus | |||
</div>
|
||||
<div style="clear: both;"></div>
|