]> git.sur5r.net Git - contagged/blob - templates/entry_show.tpl
more autocompletion
[contagged] / templates / entry_show.tpl
1 {include file="header.tpl"}
2
3 <div id="show">
4
5 {if $entry.photo != ''}
6     <a href="img.php?dn={$entry.dn|escape:url}&amp;.jpg" rel="imagebox"
7        title="{$entry.givenname|h} {$entry.name|h}"><img src="img.php?dn={$entry.dn|escape:url}"
8        align="right" class="photo" width="130" /></a>
9 {/if}
10 <h1>
11     <img src="pix/{$entry.type|h}.png" border="0" width="22" height="22"
12     align="middle" title="{$entry.type|h}" alt="" />
13     {$entry.givenname|h} {$entry.name|h}
14 </h1>
15
16 <table width="100%" class="show"
17        {if $user}ondblclick="window.location.href='entry.php?dn={$entry.dn|escape:url}&amp;mode=edit'"{/if}>
18   <tr>
19     <td valign="top" width="50%">
20       <h3>{$lang.business}</h3>
21         <table width="100%">
22           <tr>
23             <td colspan="2">
24               {$entry.title|h} {$entry.givenname|h} {$entry.name|h}<br />
25 {if $entry.organization}
26               <a href="index.php?org={$entry.organization|escape:url}">{$entry.organization|h}</a><br />
27 {/if}
28 {if $entry.office}
29               {$entry.office|h}<br />
30 {/if}
31 {if $entry.street}
32               {$entry.street|h}<br />
33 {/if}
34 {if $entry.location}
35               {$entry.zip} {$entry.location|h}<br />
36 {/if}
37 {if $entry.state}
38               {$entry.state|h}
39 {/if}
40 {if $entry.country}
41               {$entry.country|h}
42 {/if}
43               <br /><br />
44             </td>
45           </tr>
46 {if $entry.phone}
47           <tr>
48             <th>{$lang.phone}:</th>
49             <td>{$entry.phone|h}</td>
50           </tr>
51 {/if}
52 {if $entry.switchboard}
53           <tr>
54             <th>{$lang.switchboard}:</th>
55             <td>{$entry.switchboard|h}</td>
56           </tr>
57 {/if}
58 {if $entry.fax}
59           <tr>
60             <th>{$lang.fax}:</th>
61             <td>{$entry.fax|h}</td>
62           </tr>
63 {/if}
64 {if $entry.pager}
65           <tr>
66             <th>{$lang.pager}:</th>
67             <td>{$entry.pager|h}</td>
68           </tr>
69 {/if}
70 {if $managername}
71           <tr>
72             <th>{$lang.manager}:</th>
73             <td>{$managername}</td>
74           </tr>
75 {/if}
76 {if $entry.position}
77           <tr>
78             <th>{$lang.position}:</th>
79             <td>{$entry.position|h}</td>
80           </tr>
81 {/if}
82 {if $entry.department}
83           <tr>
84             <th>{$lang.department}:</th>
85             <td>{$entry.department|h}</td>
86           </tr>
87 {/if}
88
89         </table>
90
91     </td>
92
93
94     <td valign="top" width="50%">
95       <h3>{$lang.private}</h3>
96         <table width="100%">
97           <tr>
98             <td colspan="2">
99               {$entry.title|h} {$entry.givenname|h} {$entry.name|h}<br />
100 {if $entry.homestreet}
101               {$entry.homestreet|h|nl2br}<br /><br />
102 {/if}
103             </td>
104           </tr>
105 {if $entry.homephone}
106           <tr>
107             <th>{$lang.homephone}:</th>
108             <td>{$entry.homephone|h}</td>
109           </tr>
110 {/if}
111 {if $entry.mobile}
112           <tr>
113             <th>{$lang.mobile}:</th>
114             <td>{$entry.mobile|h}</td>
115           </tr>
116 {/if}
117 {if $entry.birthday}
118           <tr>
119             <th>{$lang.birthday}:</th>
120             <td>{$entry.birthday|h}</td>
121           </tr>
122 {/if}
123 {if $entry.anniversary}
124           <tr>
125             <th>{$lang.anniversary}:</th>
126             <td>{$entry.anniversary|date_format:$conf.dateformat|h}</td>
127           </tr>
128 {/if}
129 {if $entry.spouse}
130           <tr>
131             <th>{$lang.spouse}:</th>
132             <td>{$entry.spouse|h}</td>
133           </tr>
134 {/if}
135
136         </table>
137
138       <h3>{$lang.communication}</h3>
139         <table width="100%">
140 {if $entry.url}
141           <tr>
142             <th>{$lang.url}:</th>
143             <td><a href="{$entry.url|http}" target="_blank">{$entry.url|h}</a></td>
144           </tr>
145 {/if}
146 {if $entry.mail}
147           <tr>
148             <th>{$lang.mail}:</th>
149             <td>
150               {foreach from=$entry.mail item=mail}
151                 <a href="mailto:{$mail|escape:url}">{$mail|h}</a><br />
152               {/foreach}
153             </td>
154           </tr>
155 {/if}
156 {if $entry.instantmessenger}
157           <tr>
158             <th>{$lang.instantmessenger}:</th>
159             <td>{$entry.instantmessenger|h}</td>
160           </tr>
161 {/if}
162 {if $entry.ipphone}
163           <tr>
164             <th>{$lang.ipphone}:</th>
165             <td>{$entry.ipphone|h}</td>
166           </tr>
167 {/if}
168
169         </table>
170
171     </td>
172   </tr>
173 </table>
174
175 <h3>{$lang.extended}</h3>
176
177 <table width="100%" class="show">
178   <tr>
179     <td width="50%" valign="top">
180         <table width="100%">
181 {if $fields.note}
182           <tr>
183             <th>
184               {$lang.note}:
185               <div {if $user}id="noteedit"{/if}>&nbsp;</div>
186             </th>
187             <td>
188               <div id="notes">
189                 {$entry.note|noteparser}
190                 &nbsp;
191               </div>
192             </td>
193           </tr>
194 {/if}
195         </table>
196     </td>
197     <td width="50%" valign="top">
198         <table width="100%">
199 {if $fields._marker}
200           <tr>
201             <th>
202               {$lang.marker}:
203               <div {if $user}id="tagedit"{/if}>&nbsp;</div>
204             </th>
205             <td>
206               <span id="taglist">
207                 {foreach from=$entry.marker item=marker}
208                   <a href="index.php?marker={$marker|escape:url}" class="tag">{$marker|h}</a>
209                 {/foreach}
210                 &nbsp;
211               </span>
212             </td>
213           </tr>
214 {/if}
215 {if $entry.certificate}
216          <tr>
217            <th>{$lang.certificate}:</th>
218            <td><form>
219               <textarea rows=3 cols=28 name='certificate' onClick='this.form.certificate.select();'>{$entry.certificate|h}</textarea>
220             </form></td>
221           </tr>
222 {/if}
223 {if $entry.domain}
224           <tr>
225             <th>{$lang.domain}:</th>
226             <td>{$entry.domain|h}</td>
227           </tr>
228 {/if}
229 {if $entry.timezone}
230           <tr>
231             <th>{$lang.timezone}:</th>
232             <td>{$entry.timezone|h}</td>
233           </tr>
234 {/if}
235         </table>
236     </td>
237   </tr>
238 </table>
239
240
241 </div>
242
243 {include file="footer.tpl"}