1
|
--- templates/smarty/my/annuaire.tpl.old 2008-04-08 17:44:16.000000000 +0200
|
2
|
+++ templates/smarty/my/annuaire.tpl 2008-04-08 18:23:46.000000000 +0200
|
3
|
@@ -39,36 +39,39 @@
|
4
|
<td width="50%" valign="top">
|
5
|
|
6
|
<div class="form">
|
7
|
+<div id="hcard-{$results[result].firstname}-{$results[result].name}" class="vcard">
|
8
|
<table>
|
9
|
<tr valign="top">
|
10
|
<td colspan="2">
|
11
|
{if $results[result].photo_file and $results[result].photo_public == 1}
|
12
|
-<img style="border: solid 1px black; margin-right: 6px;" {$results[result].html_photo_size} alt="{$results[result].nickname}" align="left" src="{$dtc_base_url}/photos/{$results[result].photo_file}"/>
|
13
|
+<img style="border: solid 1px black; margin-right: 6px;" {$results[result].html_photo_size} alt="{$results[result].nickname}" class="photo" align="left" src="{$dtc_base_url}/photos/{$results[result].photo_file}"/>
|
14
|
{else}
|
15
|
<img style="margin-right: 6px;" width="64" height="64" alt="Pas de photo" align="left" src="{$dtc_base_url}/images/no_photo.png"/>
|
16
|
{/if}
|
17
|
</td>
|
18
|
<td>
|
19
|
-{if $results[result].website}<a href="{$results[result].website}">{/if}
|
20
|
+{if $results[result].website}<a class="url fn" href="{$results[result].website}">{/if}
|
21
|
<font size="+1"><b>
|
22
|
-{$results[result].firstname} {$results[result].name}</b></font><br/>
|
23
|
+<span class="fn">{$results[result].firstname} {$results[result].name}</span></b></font><br/>
|
24
|
{if $results[result].website}</a>{/if}
|
25
|
<strong>{if $results[result].civility == 'M'}{$results[result].april_position}{else}{$results[result].april_position_female}{/if}.</strong><br/>
|
26
|
|
27
|
{if $results[result].birth_date && $results[result].birth_date_public}
|
28
|
+<abbr class="bday" title="{$results[result].birth_date|date_format:"%Y-%m-%dT00:00:00Z"}>
|
29
|
N? le {$results[result].birth_date|date_format:"%d/%m/%Y"}
|
30
|
{if $results[result].birth_place && $results[result].birth_place_public}
|
31
|
? {$results[result].birth_place}
|
32
|
{/if}
|
33
|
+</abbr>
|
34
|
<br/>
|
35
|
{/if}
|
36
|
|
37
|
{if $results[result].other_organizations && $results[result].other_organizations_public}
|
38
|
- Membre de {$results[result].other_organizations}<br/>
|
39
|
+ Membre de <span class="org">{$results[result].other_organizations}</span><br/>
|
40
|
{/if}
|
41
|
|
42
|
{if $results[result].occupation && $results[result].occupation_public}
|
43
|
- Activit? professionelle : {$results[result].occupation}<br/>
|
44
|
+ Activit? professionelle : <span class="org">{$results[result].occupation}</span><br/>
|
45
|
{/if}
|
46
|
</td>
|
47
|
</tr>
|
48
|
@@ -79,28 +82,28 @@
|
49
|
{if $results[result].email_public}
|
50
|
<tr>
|
51
|
<td width="24"><img src="../images/mail.png" alt="courriel : " align="top"></td>
|
52
|
- <td colspan="2"><a href="mailto:{$results[result].email}">{$results[result].email}</a></td>
|
53
|
+ <td colspan="2"><a class="email" href="mailto:{$results[result].email}">{$results[result].email}</a></td>
|
54
|
</tr>
|
55
|
{/if}
|
56
|
|
57
|
{if $results[result].website && $results[result].website_public}
|
58
|
<tr>
|
59
|
<td width="24"><img src="../images/web.png" alt="Site web : " align="top"></td>
|
60
|
- <td colspan="2"><a href="{$results[result].website}">{$results[result].website}</a></td>
|
61
|
+ <td colspan="2"><a class="url fn" href="{$results[result].website}">{$results[result].website}</a></td>
|
62
|
</tr>
|
63
|
{/if}
|
64
|
|
65
|
{if $results[result].jabber_id_public and $results[result].jabber_id}
|
66
|
<tr>
|
67
|
<td width="24"><img src="../images/jabber.png" alt="jabber id : " align="top"></td>
|
68
|
- <td colspan="2"><em><a href="http://wiki.jabberfr.org/Accueil">Jabber</a>:</em> {$results[result].jabber_id}</td>
|
69
|
+ <td colspan="2"><em><a href="http://wiki.jabberfr.org/Accueil">Jabber</a>:</em> <a class="url" href="xmpp:{$results[result].jabber_id}">{$results[result].jabber_id}</a></td>
|
70
|
</tr>
|
71
|
{/if}
|
72
|
|
73
|
{if $results[result].irc_nickname_public and $results[result].irc_nickname}
|
74
|
<tr>
|
75
|
<td width="24"><img src="../images/irc.png" alt="irc nickname : " align="top"></td>
|
76
|
- <td colspan="2"><em><a href="http://www.april.org/association/irc.html">Pseudo IRC:</a></em> {$results[result].irc_nickname}</td>
|
77
|
+ <td colspan="2"><em><a href="http://www.april.org/association/irc.html">Pseudo IRC:</a></em> <span class="nickname">{$results[result].irc_nickname}</span></td>
|
78
|
</tr>
|
79
|
{/if}
|
80
|
|
81
|
@@ -108,37 +111,45 @@
|
82
|
<tr>
|
83
|
<td width="24" valign="top"><img src="../images/home.png" alt="Adresse : " align="baseline"/></td>
|
84
|
<td colspan="2">
|
85
|
+<div class="adr">
|
86
|
{if $results[result].address_public}
|
87
|
+ <div class="street-address">
|
88
|
{if $results[result].address1}{$results[result].address1}<br/>{/if}
|
89
|
{if $results[result].address2}{$results[result].address2}<br/>{/if}
|
90
|
{if $results[result].address3}{$results[result].address3}<br/>{/if}
|
91
|
+ </div>
|
92
|
{/if}
|
93
|
|
94
|
- {if $results[result].zip_code && $results[result].zip_code_public}{$results[result].zip_code}{/if}
|
95
|
- {if $results[result].city && $results[result].city_public}{$results[result].city}<br/>{/if}
|
96
|
- {if $results[result].country && $results[result].country_public}{$results[result].country}{/if}
|
97
|
+ {if $results[result].zip_code && $results[result].zip_code_public}<span class="postal-code">{$results[result].zip_code}</span>{/if}
|
98
|
+ {if $results[result].city && $results[result].city_public}<span class="locality">{$results[result].city}</span><br/>{/if}
|
99
|
+ {if $results[result].country && $results[result].country_public}<span class="country-name">{$results[result].country}</span>{/if}
|
100
|
+</div>
|
101
|
</td>
|
102
|
</tr>
|
103
|
{/if}
|
104
|
|
105
|
{if $results[result].phone_public and $results[result].phone}
|
106
|
<tr>
|
107
|
- <td width="24"><img src="../images/phone.png" alt="t?l?phone fixe : " /></td>
|
108
|
- <td colspan="2">{$results[result].phone}</td>
|
109
|
+ <div class="tel">
|
110
|
+ <td width="24"><span class="type"><img src="../images/phone.png" alt="t?l?phone fixe : " /></span></td>
|
111
|
+ <td colspan="2"><span class="value">{$results[result].phone}</span></td>
|
112
|
+ </div>
|
113
|
</tr>
|
114
|
{/if}
|
115
|
|
116
|
{if $results[result].mobile_public and $results[result].mobile}
|
117
|
<tr>
|
118
|
- <td width="24"><img src="../images/mobile.png" alt="t?l?phone fixe : " /></td>
|
119
|
- <td colspan="2">{$results[result].mobile}</td>
|
120
|
+ <div class="tel">
|
121
|
+ <td width="24"><span class="cell"><img src="../images/mobile.png" alt="t?l?phone mobile : " /></span></td>
|
122
|
+ <td colspan="2"><span class="value">{$results[result].mobile}</span></td>
|
123
|
+ </div>
|
124
|
</tr>
|
125
|
{/if}
|
126
|
|
127
|
{if $results[result].gpg_id_public and $results[result].gpg_id}
|
128
|
<tr>
|
129
|
<td width="24"><img src="../images/gpg.png" alt="gpg id : " align="top"></td>
|
130
|
- <td colspan="2"><em>GPG Id</em>: {$results[result].gpg_id}</td>
|
131
|
+ <td colspan="2"><em>GPG Id</em>: <span class="key">{$results[result].gpg_id}</span></td>
|
132
|
</tr>
|
133
|
{/if}
|
134
|
|
135
|
@@ -150,8 +161,9 @@
|
136
|
{/if}
|
137
|
|
138
|
</table>
|
139
|
-
|
140
|
</div>
|
141
|
+</div>
|
142
|
+
|
143
|
</td>
|
144
|
{if ( $smarty.section.result.index mod 2 ) or $last}
|
145
|
</tr>
|