]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxContactsSelectionView.wox
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@900 d1b88da0-ebda-0310-925b-ed51d...
[scalable-opengroupware.org] / UI / Templates / UIxContactsSelectionView.wox
1 <?xml version='1.0' standalone='yes'?>
2 <html xmlns="http://www.w3.org/1999/xhtml"
3       xmlns:var="http://www.skyrix.com/od/binding"
4       xmlns:const="http://www.skyrix.com/od/constant"
5       xmlns:rsrc="OGo:url"
6       xmlns:label="OGo:label"
7 >
8   <head>
9     <title>
10       <var:string label:value="Addressbook"/>
11     </title>
12     <meta name="description" content="SOGo Web Interface"/>
13     <meta name="author" content="SKYRIX Software AG"/>
14     <meta name="robots" content="stop"/>
15     <link type="text/css" rel="stylesheet" rsrc:href="uix.css"/>
16     <link type="text/css" rel="stylesheet" rsrc:href="calendar.css"/>
17     <link href="mailto:hh@skyrix.com" rev="made"/>
18     <style>
19       table.contacttableview {
20         text-decoration:  none;
21         font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
22         font-size:        9pt;
23         color:            #000000;
24       }
25       table.contacttableview th {
26         text-align: left;
27       }
28       input.searchfield {
29         font-size:        8pt;
30       }
31     </style>
32   </head>
33   <body>
34     <table id="skywintable"
35            class="wintable"
36            cellspacing="0"
37            cellpadding="5"
38            width="100%"
39     >
40       <tr>
41         <td class="wintitle">
42           <table cellpadding="0" cellspacing="0" width="100%">
43             <tr>
44               <td width="5"/>
45               <td class="wintitle">
46                 <!-- localize me -->
47                 <span class="window_label"
48                 ><var:string label:value="Addressbook"/></span>
49               </td>
50               <td width="36" align="right" valign="center">
51                 <var:component className="UIxWinClose"/>
52               </td>
53             </tr>
54           </table>
55         </td>
56       </tr>
57       <tr>
58         <td id="skywinbodycell" class="wincontent">
59          <form name="searchform"
60                var:href="ownMethodName"
61                var:_sort="sortKey"
62                method="GET"
63                var:queryDictionary="context.request.formValues"
64          >
65           <table border="0" width="100%" cellpadding="0" cellspacing="0">
66             <tr>
67               <td colspan="2">
68                   <table border="0" cellpadding="4" width="100%" cellspacing="0">
69                     <tr bgcolor="#e8e8e0">
70                       <td align="left">
71                         <input type="text" name="search" class="searchfield" 
72                                var:value="searchText" />
73                       </td>
74                     </tr>
75                   </table>
76   
77                   <!-- the content -->
78                   <table border="0" width="100%" class="contacttableview">
79                     <tr>
80                       <!-- localize -->
81                       <th>
82                         <var:if condition="sortKey" const:value="sn"
83                                 const:negate="YES">
84                           <a var:href="ownMethodName"
85                              _sort="sn"
86                              var:_search="searchText"
87                              var:queryDictionary="context.request.formValues"
88                           ><var:string label:value="Lastname" /></a>
89                         </var:if>
90                         <var:if condition="sortKey" const:value="sn">
91                           <i><var:string label:value="Lastname" /></i>
92                         </var:if>
93                       </th>
94                       <th>
95                         <var:if condition="sortKey" const:value="givenname"
96                                 const:negate="YES">
97                           <a var:href="ownMethodName"
98                              _sort="givenname"
99                              var:_search="searchText"
100                              var:queryDictionary="context.request.formValues"
101                           ><var:string label:value="Firstname" /></a>
102                         </var:if>
103                         <var:if condition="sortKey" const:value="givenname">
104                           <i><var:string label:value="Firstname" /></i>
105                         </var:if>
106                       </th>
107                       <th>
108                         <var:if condition="sortKey" const:value="mail"
109                                 const:negate="YES">
110                           <a var:href="ownMethodName"
111                              _sort="mail"
112                              var:_search="searchText"
113                              var:queryDictionary="context.request.formValues"
114                           ><var:string label:value="EMail" /></a>
115                         </var:if>
116                         <var:if condition="sortKey" const:value="mail">
117                           <i><var:string label:value="EMail" /></i>
118                         </var:if>
119                       </th>
120                       <th>
121                             <var:string label:value="Phone" />
122                       </th>
123                       <th>
124                             <var:string label:value="Location" />
125                       </th>
126                     </tr>
127                     <var:foreach list="contactInfos" item="contact">
128                       <tr>
129                         <td>
130                           <a var:href="jsOnClickCode"
131                              ><var:string value="contact.sn" /></a>
132                         </td>
133                         <td><var:string value="contact.givenname"       /></td>
134                         <td><var:string value="contact.mail"            /></td>
135                         <td><var:string value="contact.telephonenumber" /></td>
136                         <td><var:string value="contact.l"               /></td>
137                       </tr>
138                     </var:foreach>
139                   </table>
140               </td>
141             </tr>
142   
143             <tr bgcolor="#F5F5E9">
144               <td align="left" width="10">
145                 <var:entity const:name="nbsp"/>
146               </td>
147               <td align="right">
148                 <img border="0"
149                      alt=""
150                      rsrc:src="corner_right.gif"
151                 />
152               </td>
153             </tr>
154             <tr>
155               <td colspan="2" bgcolor="#F5F5E9">
156                 <table border="0" width="100%" cellpadding="10" cellspacing="0">
157                   <tr/>
158                 </table>
159               </td>
160             </tr>
161           </table>
162          </form>
163         </td>
164       </tr>
165     </table>
166     <var:if condition="isUIxDebugEnabled">
167       <hr />
168       <small>clientObject: <var:string value="clientObject" /></small>
169     </var:if>
170   </body>
171 </html>