From 4bd9d3d9dc5325f0d7bd498e457140b15d01866c Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 12 Mar 2010 03:36:47 +0000 Subject: add location to svc_phone, RT#7047 --- httemplate/elements/location.html | 16 +++++++++------- httemplate/elements/tr-select-cust_location.html | 5 ++++- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 07aaa69f0..4750b687d 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -18,7 +18,7 @@ Example: - <%$r%><% $opt{'address1_label'} || 'Address' %> + <<%$th%> ALIGN="right"><%$r%><% $opt{'address1_label'} || 'Address' %>> - <%$r%>City + <<%$th%> ALIGN="right"><%$r%>City> > - ><%$r%>County + <<%$th%> ALIGN="right" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County> <% include('/elements/select-county.html', %select_hash ) %> - <%$r%>State + <<%$th%> ALIGN="right" WIDTH="1"><%$r%>State> <% include('/elements/select-state.html', %select_hash ) %> - <%$r%>Zip + <<%$th%>><%$r%>Zip> - <%$r%>Country + <<%$th%> ALIGN="right"><%$r%>Country> <% include('/elements/select-country.html', %select_hash ) %> @@ -88,7 +88,7 @@ Example: % } else { % if ( $pre eq 'ship_' && $conf->exists('cust_main-require_censustract') ) { - Census tract
(automatic) + <<%$th%> ALIGN="right">Census tract
(automatic)> @@ -161,4 +161,6 @@ my %select_hash = ( 'style' => \@style, ); +my $th = $opt{'no_bold'} ? 'TD' : 'TH'; + diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index da16dfe1c..695070699 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -118,7 +118,7 @@ Example: - Service location + <<%$th%> ALIGN="right"><% $opt{'label'} || 'Service location' %>>