source: contrib/resources/templates/default/search2.tpl @ 3524

Revision 3524, 2.6 KB checked in by afernandes, 13 years ago (diff)

Ticket #1416 - Disponibilizado módulo de recursos para a comunidade

  • Property svn:executable set to *
Line 
1<!-- BEGIN search -->
2
3<script language="Javascript">
4 
5    function submitit(form,campo)
6{
7
8 var texto;
9 
10texto=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     
22form.action=page+'&fecha='+texto;
23form.action='index.php?menuaction=resources.uiresources.search2&fecha='+texto+'&'+partes2[partes2.length-1];
24//self.location.href=page+'&fecha='+texto;
25form.submit();
26        //form.submit_button.value = '';
27        return false;
28       
29}
30 
31</script>
32<center>
33
34<table id="calendar_search_table" width="90%">
35
36<tr><td align=left>
37<form  METHOD=POST name="form">
38<input type=hidden name=ordena value="">
39        <table><tr class="th">
40       
41<td>
42                <table>
43       
44                        <tr>
45                        <td class="inactiv_sortcolumn" align="left">Nombre</td>
46                       
47                        </tr>
48                       
49                </table>
50        </td>
51<td>
52                <table>
53       
54                        <tr>
55                        <td class="inactiv_sortcolumn" align="left">Descripci&oacute;n</td>
56                       
57                        </tr>
58                       
59                </table>
60        </td>
61       
62       
63<td>
64                <table>
65       
66                        <tr>
67                        <td class="inactiv_sortcolumn" align="left">Ubicaci&oacute;n</td>
68                       
69                        </tr>
70                       
71                </table>
72        </td>
73<td>
74                <table>
75       
76                        <tr>
77                        <td class="inactiv_sortcolumn" align="left">Grupos</td>
78                       
79                        </tr>
80                       
81                </table>
82        </td>
83        <td>
84                <table>
85       
86                        <tr>
87                        <td class="inactiv_sortcolumn" align="left">Prioridad</td>
88                       
89                        </tr>
90                       
91                </table>
92        </td>
93<td>
94                <table>
95       
96                        <tr>
97                        <td class="inactiv_sortcolumn" align="left">Public</td>
98                       
99                        </tr>
100                       
101                </table>
102        </td>
103<td>
104                <table>
105       
106                        <tr>
107                        <td class="inactiv_sortcolumn" align="left">Fecha
108
109<input id="start[str]" name="start" size="10"  onchange="return submitit(this.form)" type="text">
110<script type="text/javascript">
111        document.writeln('<img id="start[str]-trigger" src="phpgwapi/templates/default/images/datepopup.gif" title="Seleccionar fecha" style="cursor:pointer; cursor:hand;"/>');
112        Calendar.setup(
113        {
114                inputField  : "start[str]",
115                button      : "start[str]-trigger"
116        }
117        );
118</script>
119
120</td>
121                       
122                        </tr>
123                       
124                </table>
125        </td>
126<td>
127                <table>
128       
129                        <tr>
130                        <td class="inactiv_sortcolumn" align="left">Due&ntilde;o</td>
131                       
132                        </tr>
133                       
134                </table>
135        </td>
136                                       
137       
138        </tr>
139
140        <tr>
141                <td colspan="2" align="center" bgcolor="{th_bg}">
142                        <b></b>
143                </td>
144        </tr>
145        {rows}
146</form>
147</table>
148<!-- END search -->
149
150<!-- BEGIN search_list_header -->
151
152<!-- END search_list_header -->
153
154<!-- BEGIN search_list -->
155        <tr bgcolor="{tr_color}">
156               
157<td>    {name}</td>
158<td>{description}</td>
159<td>    {location}</td>
160<td>    {groups}</td>
161<td>    {priority}</td>
162<td>    {ispublic}</td>
163<td>    {fecha}</td>
164<td>{owner}</td>
165
166
167
168
169        </tr>
170<!-- END search_list -->
171
172<!-- BEGIN search_list_footer -->
173
174<!-- END search_list_footer -->
Note: See TracBrowser for help on using the repository browser.