summaryrefslogtreecommitdiff
path: root/templates/list.tpl
diff options
context:
space:
mode:
authorLester Caine <lsces@lsces.co.uk>2010-12-08 22:23:10 +0000
committerLester Caine <lsces@lsces.co.uk>2010-12-08 22:23:10 +0000
commitaf694f09d634e2faa143c429b63085b1455e1d83 (patch)
tree66bae76124ab03a918fdeb687029d678ef0915d8 /templates/list.tpl
parentd4e637fb6511e9c9dae998af4e7f16daa96dd536 (diff)
downloadcontact-af694f09d634e2faa143c429b63085b1455e1d83.tar.gz
contact-af694f09d634e2faa143c429b63085b1455e1d83.tar.bz2
contact-af694f09d634e2faa143c429b63085b1455e1d83.zip
Replace address lookup with access to 'address' package generic database.
This adds map location data to the address and links to OSM, multimap and googlemap
Diffstat (limited to 'templates/list.tpl')
-rw-r--r--templates/list.tpl22
1 files changed, 12 insertions, 10 deletions
diff --git a/templates/list.tpl b/templates/list.tpl
index f6f199a..b882623 100644
--- a/templates/list.tpl
+++ b/templates/list.tpl
@@ -41,21 +41,23 @@
{if isset($listcontacts[content].uprn) && ($listcontacts[content].uprn <> '') }UPRN: {$listcontacts[content].uprn}&nbsp;&nbsp;{/if}
{if isset($listcontacts[content].postcode) && ($listcontacts[content].postcode <> '') }
{tr}Address{/tr}&nbsp;-&nbsp;
- {if isset($listcontacts[content].sao) && ($listcontacts[content].sao <> '') }
- {$listcontacts[content].sao},&nbsp;{/if}
- {if isset($listcontacts[content].pao) && ($listcontacts[content].pao <> '') }
- {$listcontacts[content].pao},&nbsp;{/if}
- {if isset($listcontacts[content].number) && ($listcontacts[content].number <> '') }
- {$listcontacts[content].number},&nbsp;{/if}
- {if isset($listcontacts[content].street) && ($listcontacts[content].street <> '') }
- {$listcontacts[content].street},&nbsp;{/if}
- {if isset($listcontacts[content].locality) && ($listcontacts[content].locality <> '') }
- {$listcontacts[content].locality},&nbsp;{/if}
+ {if isset($listcontacts[content].house) && ($listcontacts[content].house <> '') }
+ {$listcontacts[content].house},&nbsp;{/if}
+ {if isset($listcontacts[content].add1) && ($listcontacts[content].add1 <> '') }
+ {$listcontacts[content].add1},&nbsp;{/if}
+ {if isset($listcontacts[content].add2) && ($listcontacts[content].add2 <> '') }
+ {$listcontacts[content].add2},&nbsp;{/if}
+ {if isset($listcontacts[content].add3) && ($listcontacts[content].add3 <> '') }
+ {$listcontacts[content].add3},&nbsp;{/if}
+ {if isset($listcontacts[content].add4) && ($listcontacts[content].add4 <> '') }
+ {$listcontacts[content].add4},&nbsp;{/if}
{if isset($listcontacts[content].town) && ($listcontacts[content].town <> '') }
{$listcontacts[content].town},&nbsp;{/if}
{if isset($listcontacts[content].county) && ($listcontacts[content].county <> '') }
{$listcontacts[content].county},&nbsp;{/if}
{$listcontacts[content].postcode}&nbsp;&nbsp;
+ {if isset($listcontacts[content].grideast) }
+ &lt;{$listcontacts[content].grideast|escape}&nbsp;,&nbsp;{$listcontacts[content].gridnorth|escape}&gt;&nbsp;{/if}
{/if}
<br />
{tr}Refs{/tr}: {$listcontacts[content].refs|default:0}&nbsp;&nbsp;