summaryrefslogtreecommitdiff
path: root/templates/list.tpl
diff options
context:
space:
mode:
authorLester Caine <lsces@lsces.co.uk>2011-03-10 16:26:47 +0000
committerLester Caine <lsces@lsces.co.uk>2011-03-10 16:26:47 +0000
commit453db6e43dd9a14fc318f2c3406f53b778140903 (patch)
treedf94ab30d7c18c4650c41c020a8c3f9da1d64f21 /templates/list.tpl
parentb18b822d9ee3814e5615035bf9936d3c79316558 (diff)
downloadcontact-453db6e43dd9a14fc318f2c3406f53b778140903.tar.gz
contact-453db6e43dd9a14fc318f2c3406f53b778140903.tar.bz2
contact-453db6e43dd9a14fc318f2c3406f53b778140903.zip
Swap x and y so they are lng and lat not lat and lng
Diffstat (limited to 'templates/list.tpl')
-rw-r--r--templates/list.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/list.tpl b/templates/list.tpl
index 45c25e1..76f440c 100644
--- a/templates/list.tpl
+++ b/templates/list.tpl
@@ -59,8 +59,8 @@
{if isset($listcontacts[content].grideast) }
&lt;{$listcontacts[content].grideast|escape}&nbsp;,&nbsp;{$listcontacts[content].gridnorth|escape}&gt;&nbsp;{/if}
{/if}
- {if $listcontacts[content].x_coordinate }
- &nbsp;Exact Cords:&lt;{$listcontacts[content].x_coordinate|escape}&nbsp;,&nbsp;{$listcontacts[content].y_coordinate|escape}&gt;&nbsp;
+ {if $listcontacts[content].y_coordinate and $listcontacts[content].x_coordinate }
+ &nbsp;Exact Cords:&lt;{$listcontacts[content].y_coordinate|escape}&nbsp;,&nbsp;{$listcontacts[content].x_coordinate|escape}&gt;&nbsp;
{/if}
<br />
{tr}Refs{/tr}: {$listcontacts[content].refs|default:0}&nbsp;&nbsp;