summaryrefslogtreecommitdiff
path: root/httemplate/misc/change_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/change_pkg.cgi')
-rwxr-xr-xhttemplate/misc/change_pkg.cgi24
1 files changed, 10 insertions, 14 deletions
diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi
index 8f0067d..cf3ed50 100755
--- a/httemplate/misc/change_pkg.cgi
+++ b/httemplate/misc/change_pkg.cgi
@@ -1,8 +1,8 @@
-<% include('/elements/header-popup.html', "Change Package") %>
+<& /elements/header-popup.html, emt("Change Package") &>
<SCRIPT TYPE="text/javascript" SRC="../elements/order_pkg.js"></SCRIPT>
-<% include('/elements/error.html') %>
+<& /elements/error.html &>
<FORM NAME="OrderPkgForm" ACTION="<% $p %>edit/process/change-cust_pkg.html" METHOD=POST>
<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<% $pkgnum %>">
@@ -10,36 +10,32 @@
<% ntable('#cccccc') %>
<TR>
- <TH ALIGN="right">Current package</TH>
+ <TH ALIGN="right"><% mt('Current package') |h %></TH>
<TD COLSPAN=7>
<% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><B><% $part_pkg->pkg |h %></B> - <% $part_pkg->comment |h %>
</TD>
</TR>
- <% include('/elements/tr-select-cust-part_pkg.html',
- 'pre_label' => 'New',
+ <& /elements/tr-select-cust-part_pkg.html,
+ 'pre_label' => emt('New'),
'curr_value' => scalar($cgi->param('pkgpart')),
'classnum' => $part_pkg->classnum,
'cust_main' => $cust_main,
- #'extra_sql' => ' AND pkgpart != '. $cust_pkg->pkgpart,
- )
- %>
+ &>
- <% include('/elements/tr-select-cust_location.html',
+ <& /elements/tr-select-cust_location.html,
'cgi' => $cgi,
'cust_main' => $cust_main,
- )
- %>
+ &>
</TABLE>
-<% include( '/elements/standardize_locations.html',
+<& /elements/standardize_locations.html,
'form' => "OrderPkgForm",
'onlyship' => 1,
'no_company' => 1,
'callback' => 'document.OrderPkgForm.submit();',
- )
-%>
+&>
<BR>
<INPUT NAME = "submitButton"