diff options
| author | Lester Caine <lsces@lsces.co.uk> | 2010-12-08 22:23:10 +0000 |
|---|---|---|
| committer | Lester Caine <lsces@lsces.co.uk> | 2010-12-08 22:23:10 +0000 |
| commit | af694f09d634e2faa143c429b63085b1455e1d83 (patch) | |
| tree | 66bae76124ab03a918fdeb687029d678ef0915d8 /templates/list.tpl | |
| parent | d4e637fb6511e9c9dae998af4e7f16daa96dd536 (diff) | |
| download | contact-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.tpl | 22 |
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} {/if} {if isset($listcontacts[content].postcode) && ($listcontacts[content].postcode <> '') } {tr}Address{/tr} - - {if isset($listcontacts[content].sao) && ($listcontacts[content].sao <> '') } - {$listcontacts[content].sao}, {/if} - {if isset($listcontacts[content].pao) && ($listcontacts[content].pao <> '') } - {$listcontacts[content].pao}, {/if} - {if isset($listcontacts[content].number) && ($listcontacts[content].number <> '') } - {$listcontacts[content].number}, {/if} - {if isset($listcontacts[content].street) && ($listcontacts[content].street <> '') } - {$listcontacts[content].street}, {/if} - {if isset($listcontacts[content].locality) && ($listcontacts[content].locality <> '') } - {$listcontacts[content].locality}, {/if} + {if isset($listcontacts[content].house) && ($listcontacts[content].house <> '') } + {$listcontacts[content].house}, {/if} + {if isset($listcontacts[content].add1) && ($listcontacts[content].add1 <> '') } + {$listcontacts[content].add1}, {/if} + {if isset($listcontacts[content].add2) && ($listcontacts[content].add2 <> '') } + {$listcontacts[content].add2}, {/if} + {if isset($listcontacts[content].add3) && ($listcontacts[content].add3 <> '') } + {$listcontacts[content].add3}, {/if} + {if isset($listcontacts[content].add4) && ($listcontacts[content].add4 <> '') } + {$listcontacts[content].add4}, {/if} {if isset($listcontacts[content].town) && ($listcontacts[content].town <> '') } {$listcontacts[content].town}, {/if} {if isset($listcontacts[content].county) && ($listcontacts[content].county <> '') } {$listcontacts[content].county}, {/if} {$listcontacts[content].postcode} + {if isset($listcontacts[content].grideast) } + <{$listcontacts[content].grideast|escape} , {$listcontacts[content].gridnorth|escape}> {/if} {/if} <br /> {tr}Refs{/tr}: {$listcontacts[content].refs|default:0} |
