blob: 9aaeb054a65548d7f99ba5e91e3e8d64555cee00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
{strip}
<div class="view contact_xref">
<div class="header">
<h1>{tr}Location{/tr}: {$xref_title|escape} for {$title|escape}</h1>
</div>
<div class="body">
{legend legend="Contents"}
<div class="form-group">
{formlabel label="Geographic Location" for="xref"}
{forminput}
<a class="item" href="http://www.openstreetmap.org/?lat={$xrefInfo.xkey_ext}&lon={$xrefInfo.xkey}&zoom=15&layers=MN" target="_blank">{tr}OpenStreetMap Link{/tr}</a>
{formhelp note="Use one of the graphical tools like multimap or google maps to identify actual co-ordinates."}
{/forminput}
<div class="clear"></div>
</div>
<div class="form-group">
{formlabel label="Easting" for="xkey"}
{forminput}
{if $xrefInfo.xkey }
{$xrefInfo.xkey|escape}
{else}
Not yet set
{/if}
{formhelp note="Easting for location (x_coord - longitude)."}
{/forminput}
<div class="clear"></div>
</div>
<div class="form-group">
{formlabel label="Northing" for="xkey_ext"}
{forminput}
{if $xrefInfo.xkey_ext }
{$xrefInfo.xkey_ext|escape}
{else}
Not yet set
{/if}
{formhelp note="Northing for location (y_coord - latitude)."}
{/forminput}
<div class="clear"></div>
</div>
<div class="form-group">
{formlabel label="Location Directions" for="data"}
{forminput}
{$xrefInfo.data|escape}
{formhelp note="Directions to assist finding the actual location where site is not accessable via the postcode."}
{/forminput}
<div class="clear"></div>
</div>
{/legend}
{legend legend="Start and Stop Dates"}
<div class="form-group">
{formlabel label="Start Date" for=""}
{forminput}
{if $xrefInfo.ignore_start_date eq "y"}
No start date set
{else}
{$xrefInfo.start_date|bit_long_datetime}
{/if}
{formhelp note="This address record becomes valid on this date."}
{/forminput}
<div class="clear"></div>
</div>
<div class="form-group">
{formlabel label="End Date" for=""}
{forminput}
{if $xrefInfo.ignore_end_date eq "y"}
No end date set
{else}
{$xrefInfo.end_date|bit_long_datetime}
{/if}
{formhelp note="This address record finishes on this date."}
{/forminput}
<div class="clear"></div>
</div>
{/legend}
<a class="item" href="{$smarty.const.CONTACT_PKG_URL}index.php?content_id={$xrefInfo.content_id}">{tr}Return{/tr}</a>
</div><!-- end .body -->
</div><!-- end .article -->
{/strip}
|