closes FS#336
[platal.git] / templates / geoloc / address.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2004 Polytechnique.org *}
4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
23
24 {if $address.adr1 || $address.countrytxt || $geoloc_address.city || $address.tel || $address.fax || $address.mobile}
25 {if $no_div neq 1}
26 <div class="adresse">
27 {/if}
28 {if $titre && ($address.adr1 || $address.city || $address.countrytxt)}
29 {if $titre_div}
30 <div class="titre">
31 {$titre}
32 </div>
33 {else}
34 <em>{$titre}</em><br />
35 {/if}
36 {/if}
37 {if $address.adr1}<strong>{$address.adr1}</strong><br />{/if}
38 {if $address.adr2}<strong>{$address.adr2}</strong><br />{/if}
39 {if $address.adr3}<strong>{$address.adr3}</strong><br />{/if}
40 {if $address.city}<strong>{$address.postcode} {$address.city}</strong><br />{/if}
41 {if $address.countrytxt}
42 <strong>{$address.countrytxt}{if $address.region && $address.countrytxt != 'France'} ({$address.region}){/if}</strong>
43 {/if}
44
45 {if $address.tel}
46 <div>
47 <em>Tél : </em>
48 <strong>{$address.tel}</strong>
49 </div>
50 {/if}
51
52 {if $address.fax}
53 <div>
54 <em>Fax : </em>
55 <strong>{$address.fax}</strong>
56 </div>
57 {/if}
58
59 {if $address.mobile}
60 <div>
61 <em>Mobile : </em>
62 <strong>{$address.mobile}</strong>
63 </div>
64 {/if}
65
66 {if $no_div neq 1}
67 </div>
68 {/if}
69 {/if}
70
71{* vim:set et sw=2 sts=2 sws=2: *}