1<#assign languageId = languageUtil.getLanguageId(locale)/>
2
3<#if languageId == "fa_IR" >
4 <#assign addressLabel = "نشانی:" />
5 <#assign emailLabel = "پست الکترونیکی:"/>
6 <#assign phoneLabel = "تلفن:"/>
7 <#assign faxLabel = "نمابر:"/>
8 <#assign zipCodeLabel = "کد پستی:"/>
9 <#assign postBoxLabel = "صندوق پستی:"/>
10</#if>
11
12<#if languageId == "en_GB" || languageId == "en_US">
13 <#assign addressLabel = "Address:"/>
14 <#assign emailLabel = "Email:"/>
15 <#assign phoneLabel = "Phone Number:"/>
16 <#assign faxLabel = "Fax:"/>
17 <#assign zipCodeLabel = "Postal Code:"/>
18 <#assign postBoxLabel = "Post Office Box:"/>
19</#if>
20
21<style>
22footer .address a{color: inherit;}
23footer .address .info,
24footer .address i{
25 display: table-cell;
26}
27.rtl footer .address .info{padding-right: 5px;}
28.ltr footer .address .info{padding-left: 5px;}
29</style>
30
31<ul class="list-unstyled">
32
33 <#if address?? && address.getData()!="">
34 <li>
35 <i class="fa fa-map-marker fa-fw"></i>
36 <p class="info">
37 <span class="info-label">${addressLabel}</span>
38 <#if address.addressUrl?? && address.addressUrl.getData()!="">
39 <a href="${address.addressUrl.getData()}" target="_blank">${address.getData()}</a>
40 <#else>
41 ${address.getData()}
42 </#if>
43 </p>
44 </li>
45 </#if>
46
47 <#if email?? && email.getData()!="">
48 <#assign emailDisplay = stringUtil.replace(email.getData(),'@',' [at] ')>
49 <li>
50 <i class="fa fa-at fa-fw"></i>
51 <p class="info">
52 <span class="info-label">${emailLabel}</span>
53 <span class="ltr-text">
54 <a href="mailto:${email.getData()}">${emailDisplay}</a>
55 </span>
56 </p>
57 </li>
58 </#if>
59
60 <#if phone?? && phone.getData()!="">
61 <li>
62 <i class="fa fa-phone fa-fw"></i>
63 <p class="info">
64 <span class="info-label">${phoneLabel}</span>
65 <span class="ltr-text">${phone.getData()}</span>
66 </p>
67 </li>
68 </#if>
69
70 <#if fax?? && fax.getData()!="">
71 <li>
72 <i class="fa fa-fax fa-fw"></i>
73 <p class="info">
74 <span class="info-label">${faxLabel}</span>
75 <span class="ltr-text">${fax.getData()}</span>
76 </p>
77 </li>
78 </#if>
79
80 <#if zipCode?? && zipCode.getData()!="">
81 <li>
82 <i class="fa fa-envelope fa-fw"></i>
83 <p class="info">
84 <span class="info-label">${zipCodeLabel}</span>
85 <span class="ltr-text">${zipCode.getData()}</span>
86 </p>
87 </li>
88 </#if>
89
90 <#if postBox?? && postBox.getData()!="">
91 <li>
92 <i class="fa fa-archive fa-fw"></i>
93 <p class="info">
94 <span class="info-label">${postBoxLabel}</span>
95 <span class="ltr-text">${postBox.getData()}</span>
96 </p>
97 </li>
98 </#if>
99
100</ul>