Displays postal address to third party editors.
authorStéphane Jacob <sj@m4x.org>
Wed, 1 Dec 2010 13:46:08 +0000 (14:46 +0100)
committerStéphane Jacob <sj@m4x.org>
Wed, 1 Dec 2010 13:46:45 +0000 (14:46 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/geoloc/form.address.tpl

index 190441e..544eed0 100644 (file)
@@ -42,6 +42,7 @@
   <textarea cols="30" rows="4" class="valid {$prefid}_geoloc">{$address.geocodedText}</textarea>
 {/if}
 </div>
+{if !$isMe}<div><small><strong>Adress postale&nbsp;:</strong><br />{$address.postalText|nl2br}</small></div>{/if}
 {if t($address.geocodedText)}
 <input type="hidden" name="{$prefname}[geocodeChosen]" value="1" />
 <input type="hidden" name="{$prefname}[geocodedText]" value="{$address.geocodedText}" />