summaryrefslogtreecommitdiff
path: root/httemplate/elements/location.html
diff options
context:
space:
mode:
authorivan <ivan>2009-03-16 07:14:29 +0000
committerivan <ivan>2009-03-16 07:14:29 +0000
commit26119738eaf2b519d91c855c23986f873303887f (patch)
treecc2b5bd187e267c441511c58d8a20ed60252250b /httemplate/elements/location.html
parent36f9f3a83dcdac4010fc039274a5e19edb5df30b (diff)
allow country selection on credit card entry, RT#4997
Diffstat (limited to 'httemplate/elements/location.html')
-rw-r--r--httemplate/elements/location.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html
index d7b73a220..6691bc84e 100644
--- a/httemplate/elements/location.html
+++ b/httemplate/elements/location.html
@@ -3,20 +3,21 @@
Example:
include( '/elements/location.html',
- 'object' => $cust_main, # or $cust_location
- 'prefix' => $pre, #only for cust_main objects
- 'onchange' => $javascript,
- 'disabled' => $disabled,
- 'same_checked' => $same_checked,
- 'geocode' => $geocode, #passed through
- 'no_asterisks' => 0, #set true to disable the red asterisks next
- #to required fields
+ 'object' => $cust_main, # or $cust_location
+ 'prefix' => $pre, #only for cust_main objects
+ 'onchange' => $javascript,
+ 'disabled' => $disabled,
+ 'same_checked' => $same_checked,
+ 'geocode' => $geocode, #passed through
+ 'no_asterisks' => 0, #set true to disable the red asterisks next
+ #to required fields
+ 'address1_label' => 'Address', #label for address
)
</%doc>
<TR>
- <TH ALIGN="right"><%$r%>Address</TH>
+ <TH ALIGN="right"><%$r%><% $opt{'address1_label'} || 'Address' %></TH>
<TD COLSPAN=7>
<INPUT TYPE = "text"
NAME = "<%$pre%>address1"