[1158] | 1 | {cc_api} |
---|
| 2 | |
---|
| 3 | <script type="text/javascript" src="{cc_js_search_win}"></script> |
---|
| 4 | |
---|
| 5 | <div id="cc_search" style="position: absolute; width: 450px; height: 300px; visibility: hidden; z-index: 2; border: 1px solid #999; border-top: 0px;"> |
---|
| 6 | <input id="cc_search_title" type="hidden" value="{cc_search_title}"> |
---|
| 7 | <table border="0" width="450px" height="300px" style="background: #eee"> |
---|
| 8 | <tr valign="top"> |
---|
| 9 | <td style="width: 250px"> |
---|
| 10 | <table width="100%" border="0"> |
---|
| 11 | <tr> |
---|
| 12 | <td align="left">{cc_search_catalogues}</td> |
---|
| 13 | </tr> |
---|
| 14 | <tr> |
---|
| 15 | <td align="left"><div id="cc_search_catalogues" style="position: relative; width: 250px; height: 265px; border: 1px solid #999; overflow: auto;" class="row_on"></div></td> |
---|
| 16 | </tr> |
---|
| 17 | </table> |
---|
| 18 | </td> |
---|
| 19 | <td style="width: 200px"> |
---|
| 20 | <table width="100%" height="100%" border="0"> |
---|
| 21 | <tr> |
---|
| 22 | <td align="left" colspan="2">{cc_search_for}</td> |
---|
| 23 | </tr> |
---|
| 24 | <tr> |
---|
| 25 | <td align="left" colspan="2"><input id="cc_search_for" type="text" /></td> |
---|
| 26 | </tr> |
---|
| 27 | <tr height="100%" valign="bottom"> |
---|
| 28 | <td align="right" height="100%" valign="bottom"><input type="button" value="{cc_search_go}" style="width: 70px" onclick="javascript: ccSearchWin.go()" /></td> |
---|
| 29 | <td align="right" height="100%" width="1%" valign="bottom"><input type="button" value="{cc_search_cancel}" style="width: 70px" onclick="javascript:ccSearchWin.close();" /></td> |
---|
| 30 | </tr> |
---|
| 31 | </table> |
---|
| 32 | </td> |
---|
| 33 | </tr> |
---|
| 34 | </table> |
---|
| 35 | </div> |
---|
| 36 | |
---|
| 37 | <script type="text/javascript"> |
---|
| 38 | var searchWin_load = document.body.onload; |
---|
| 39 | var ccSearchWin, ccSearchWindow; |
---|
| 40 | |
---|
| 41 | var searchWin_load_f = function(e) |
---|
| 42 | { |
---|
| 43 | ccSearchWindow = new dJSWin({'id': 'cc_search_window', |
---|
| 44 | 'content_id': 'cc_search', |
---|
| 45 | 'win_class': 'row_off', |
---|
| 46 | 'width': '452px', |
---|
| 47 | 'height': '300px', |
---|
| 48 | 'title_color': '#3978d6', |
---|
| 49 | 'title': Element('cc_search_title').value, |
---|
| 50 | 'title_text_color': 'white', |
---|
| 51 | 'button_x_img': Element('cc_phpgw_img_dir').value+'/winclose.gif', |
---|
| 52 | 'border': true}); |
---|
| 53 | |
---|
| 54 | ccSearchWindow.draw(); |
---|
| 55 | ccSearchWin = new ccSearchWinClass({'window': ccSearchWindow, 'tree': 'ccSearchTree'}); |
---|
| 56 | } |
---|
| 57 | |
---|
| 58 | if (is_ie) |
---|
| 59 | { |
---|
| 60 | //document.body.onload = function(e) {setTimeout('searchWin_load_f()'); searchWin_load ? setTimeout('searchWin_load()', 10) : false;}; |
---|
| 61 | document.body.onload = function(e) {searchWin_load_f(); searchWin_load ? searchWin_load() : false;}; |
---|
| 62 | } |
---|
| 63 | else |
---|
| 64 | { |
---|
| 65 | searchWin_load_f(); |
---|
| 66 | } |
---|
| 67 | </script> |
---|