diff options
Diffstat (limited to 'httemplate/elements/location.html')
| -rw-r--r-- | httemplate/elements/location.html | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 48c6159bb..c5509c1a9 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -149,7 +149,7 @@ Example: <TR> <<%$th%> ALIGN="right"><%$r%><% mt('City') |h %></<%$th%>> - <TD WIDTH="1"><% include('/elements/city.html', %select_hash) %></TD> + <TD WIDTH="1"><% include('/elements/city.html', %select_hash, 'text_style' => \@style ) %></TD> <<%$th%> ALIGN="right" WIDTH="1" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County</<%$th%>> <TD WIDTH="1"><% include('/elements/select-county.html', %select_hash ) %></TD> <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('State') |h %></<%$th%>> @@ -175,6 +175,28 @@ Example: <TD COLSPAN=6><% include('/elements/select-country.html', %select_hash ) %></TD> </TR> +<TR> + <TD ALIGN="right"><% mt('Latitude') |h %></TH> + <TD COLSPAN=7> + <INPUT TYPE = "text" + NAME = "<%$pre%>latitude" + ID = "<%$pre%>latitude" + VALUE = "<% $object->get($pre.'latitude') |h %>" + <% $disabled %> + <% $style %> + > + <% mt('Longitude') |h %> + <INPUT TYPE = "text" + NAME = "<%$pre%>longitude" + ID = "<%$pre%>longitude" + VALUE = "<% $object->get($pre.'longitude') |h %>" + <% $disabled %> + <% $style %> + > + </TD> +</TR> +<INPUT TYPE="hidden" NAME="<%$pre%>coord_auto" VALUE="<% $object->get($pre.'coord_auto') %>"> + % if ( !$pre ) { <INPUT TYPE="hidden" NAME="geocode" VALUE="<% $opt{geocode} %>"> % } else { |
