1 | <html> |
---|
2 | <head> |
---|
3 | |
---|
4 | <!-- BEGIN search --> |
---|
5 | |
---|
6 | <script language="Javascript"> |
---|
7 | |
---|
8 | function submitit(form,campo) |
---|
9 | { |
---|
10 | |
---|
11 | var texto; |
---|
12 | |
---|
13 | texto=document.form.start.value; |
---|
14 | |
---|
15 | |
---|
16 | var url = document.location.href; |
---|
17 | |
---|
18 | partes = url.split('/'); |
---|
19 | |
---|
20 | page=partes[partes.length-1]; |
---|
21 | |
---|
22 | partes2=page.split('&'); |
---|
23 | |
---|
24 | |
---|
25 | form.action=page+'&fecha='+texto; |
---|
26 | form.action='index.php?menuaction=resources.uiresources.search2&fecha='+texto+'&'+partes2[partes2.length-1]; |
---|
27 | //self.location.href=page+'&fecha='+texto; |
---|
28 | form.submit(); |
---|
29 | //form.submit_button.value = ''; |
---|
30 | return false; |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | </script> |
---|
35 | </head> |
---|
36 | <body> |
---|
37 | <center> |
---|
38 | <table id="calendar_search_table" width="800"> |
---|
39 | |
---|
40 | <tr><td align=left> |
---|
41 | <form METHOD=POST name="form"> |
---|
42 | <input type=hidden name=ordena value=""> |
---|
43 | <table><tr class="th"> |
---|
44 | |
---|
45 | <td> |
---|
46 | <table width="150"> |
---|
47 | |
---|
48 | <tr> |
---|
49 | <td class="inactiv_sortcolumn" align="left">Nombre</td> |
---|
50 | |
---|
51 | </tr> |
---|
52 | |
---|
53 | </table> |
---|
54 | </td> |
---|
55 | <td> |
---|
56 | <table width="300"> |
---|
57 | |
---|
58 | <tr> |
---|
59 | <td class="inactiv_sortcolumn" align="left">Descripción</td> |
---|
60 | |
---|
61 | </tr> |
---|
62 | |
---|
63 | </table> |
---|
64 | </td> |
---|
65 | |
---|
66 | |
---|
67 | <td> |
---|
68 | <table width="100"> |
---|
69 | |
---|
70 | <tr> |
---|
71 | <td class="inactiv_sortcolumn" align="left">Ubicación</td> |
---|
72 | |
---|
73 | </tr> |
---|
74 | |
---|
75 | </table> |
---|
76 | </td> |
---|
77 | |
---|
78 | <td> |
---|
79 | <table width="150"> |
---|
80 | |
---|
81 | <tr> |
---|
82 | <td class="inactiv_sortcolumn" align="left">Fecha |
---|
83 | |
---|
84 | <input id="start[str]" name="start" size="10" onchange="return submitit(this.form)" type="text"> |
---|
85 | <script type="text/javascript"> |
---|
86 | document.writeln('<img id="start[str]-trigger" src="phpgwapi/templates/default/images/datepopup.gif" title="Seleccionar fecha" style="cursor:pointer; cursor:hand;"/>'); |
---|
87 | Calendar.setup( |
---|
88 | { |
---|
89 | inputField : "start[str]", |
---|
90 | button : "start[str]-trigger" |
---|
91 | } |
---|
92 | ); |
---|
93 | </script> |
---|
94 | |
---|
95 | </td> |
---|
96 | |
---|
97 | </tr> |
---|
98 | |
---|
99 | </table> |
---|
100 | </td> |
---|
101 | <td> |
---|
102 | <table width="100"> |
---|
103 | |
---|
104 | <tr> |
---|
105 | <td class="inactiv_sortcolumn" align="left">Dueño</td> |
---|
106 | |
---|
107 | </tr> |
---|
108 | |
---|
109 | </table> |
---|
110 | </td> |
---|
111 | |
---|
112 | |
---|
113 | </tr> |
---|
114 | |
---|
115 | <tr> |
---|
116 | <td colspan="2" align="center" bgcolor="{th_bg}"> |
---|
117 | <b></b> |
---|
118 | </td> |
---|
119 | </tr> |
---|
120 | {rows} |
---|
121 | </form> |
---|
122 | </table> |
---|
123 | <!-- END search --> |
---|
124 | |
---|
125 | <!-- BEGIN search_list_header --> |
---|
126 | |
---|
127 | <!-- END search_list_header --> |
---|
128 | |
---|
129 | <!-- BEGIN search_list --> |
---|
130 | <tr bgcolor="{tr_color}"> |
---|
131 | |
---|
132 | <td> {name}</td> |
---|
133 | <td>{description}</td> |
---|
134 | <td> {location}</td> |
---|
135 | |
---|
136 | <td> {fecha}</td> |
---|
137 | <td>{owner}<input type=hidden value={id}></td> |
---|
138 | |
---|
139 | |
---|
140 | |
---|
141 | |
---|
142 | </tr> |
---|
143 | <!-- END search_list --> |
---|
144 | |
---|
145 | <!-- BEGIN search_list_footer --> |
---|
146 | |
---|
147 | <!-- END search_list_footer --> |
---|
148 | </body> |
---|
149 | </html> |
---|