Revision 4362,
1.5 KB
checked in by afernandes, 13 years ago
(diff) |
Ticket #1416 - Disponibilizado módulo de recursos para a comunidade
|
Rev | Line | |
---|
[4362] | 1 | <!-- BEGIN search --> |
---|
| 2 | |
---|
| 3 | <script language="Javascript"> |
---|
| 4 | |
---|
| 5 | function submitit(form,campo) |
---|
| 6 | { |
---|
| 7 | |
---|
| 8 | var texto; |
---|
| 9 | |
---|
| 10 | texto=document.form.start.value; |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | var url = document.location.href; |
---|
| 14 | |
---|
| 15 | partes = url.split('/'); |
---|
| 16 | |
---|
| 17 | page=partes[partes.length-1]; |
---|
| 18 | |
---|
| 19 | partes2=page.split('&'); |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | form.action=page+'&fecha='+texto; |
---|
| 23 | form.action='index.php?menuaction=resources.uiresources.search2&fecha='+texto+'&'+partes2[partes2.length-1]; |
---|
| 24 | //self.location.href=page+'&fecha='+texto; |
---|
| 25 | form.submit(); |
---|
| 26 | //form.submit_button.value = ''; |
---|
| 27 | return false; |
---|
| 28 | |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | </script> |
---|
| 32 | <center> |
---|
| 33 | <table id="calendar_search_table" width="800"> |
---|
| 34 | |
---|
| 35 | <tr><td align=left> |
---|
| 36 | <form METHOD=POST name="form"> |
---|
| 37 | <input type=hidden name=ordena value=""> |
---|
| 38 | <table><tr class="th"> |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | <td> |
---|
| 43 | <table> |
---|
| 44 | |
---|
| 45 | <tr> |
---|
| 46 | <td class="inactiv_sortcolumn" align="left">Fecha para realizar la busqueda |
---|
| 47 | |
---|
| 48 | <input id="start[str]" name="start" size="10" onchange="return submitit(this.form)" type="text"> |
---|
| 49 | <script type="text/javascript"> |
---|
| 50 | document.writeln('<img id="start[str]-trigger" src="phpgwapi/templates/default/images/datepopup.gif" title="Seleccionar fecha" style="cursor:pointer; cursor:hand;"/>'); |
---|
| 51 | Calendar.setup( |
---|
| 52 | { |
---|
| 53 | inputField : "start[str]", |
---|
| 54 | button : "start[str]-trigger" |
---|
| 55 | } |
---|
| 56 | ); |
---|
| 57 | </script> |
---|
| 58 | |
---|
| 59 | </td> |
---|
| 60 | |
---|
| 61 | </tr> |
---|
| 62 | |
---|
| 63 | </table> |
---|
| 64 | </td> |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | </tr> |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | </form> |
---|
| 71 | </table> |
---|
| 72 | <!-- END search --> |
---|
| 73 | |
---|
| 74 | <!-- BEGIN search_list_header --> |
---|
| 75 | |
---|
| 76 | <!-- END search_list_header --> |
---|
| 77 | |
---|
| 78 | <!-- BEGIN search_list --> |
---|
| 79 | |
---|
| 80 | <!-- END search_list --> |
---|
| 81 | |
---|
| 82 | <!-- BEGIN search_list_footer --> |
---|
| 83 | |
---|
| 84 | <!-- END search_list_footer --> |
---|
Note: See
TracBrowser
for help on using the repository browser.