From d422d2530bda9de3af830f1e1ab1084061b486f5 Mon Sep 17 00:00:00 2001 From: Alex Brelsfoard Date: Tue, 10 Feb 2015 00:10:00 -0500 Subject: RT #29285 adding new config to disable city requirement --- httemplate/elements/location.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'httemplate') diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 214a7d5f2..357a91db7 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -169,10 +169,15 @@ Example: +% if ($conf->exists('city_not_required')) { + +%} else { <<%$th%> ALIGN="right"><%$r%><% mt('City') |h %>> <% include('/elements/city.html', %select_hash, 'text_style' => \@style ) %> + <<%$th%> ALIGN="right" WIDTH="1" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County> <% include('/elements/select-county.html', %select_hash ) %> +% } <<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('State') |h %>> <% include('/elements/select-state.html', %select_hash ) %> -- cgit v1.2.1