diff options
Diffstat (limited to 'httemplate/misc/inventory_item-import.html')
-rw-r--r-- | httemplate/misc/inventory_item-import.html | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/httemplate/misc/inventory_item-import.html b/httemplate/misc/inventory_item-import.html index a702fbc49..87c6af34c 100644 --- a/httemplate/misc/inventory_item-import.html +++ b/httemplate/misc/inventory_item-import.html @@ -1,20 +1,21 @@ -<% - -my $classnum = $cgi->param('classnum'); -$classnum =~ /^(\d+)$/ or eidiot "illegal classnum $classnum"; -$classnum = $1; -my $inventory_class = qsearchs('inventory_class', { 'classnum' => $classnum } ); - -%><%= include("/elements/header.html", $inventory_class->classname. 's') %> +% +% +%my $classnum = $cgi->param('classnum'); +%$classnum =~ /^(\d+)$/ or eidiot "illegal classnum $classnum"; +%$classnum = $1; +%my $inventory_class = qsearchs('inventory_class', { 'classnum' => $classnum } ); +% +% +<% include("/elements/header.html", $inventory_class->classname. 's') %> <FORM ACTION="process/inventory_item-import.html" METHOD="POST" ENCTYPE="multipart/form-data"> -<INPUT TYPE="hidden" NAME="classnum" VALUE="<%= $classnum %>"> -Import a file containing <%= $inventory_class->classname %>s, one per line.<BR><BR> +<INPUT TYPE="hidden" NAME="classnum" VALUE="<% $classnum %>"> +Import a file containing <% $inventory_class->classname %>s, one per line.<BR><BR> Filename: <INPUT TYPE="file" NAME="filename"><BR><BR> <INPUT TYPE="submit" VALUE="Upload"> </FORM> -<%= include('/elements/footer.html') %> +<% include('/elements/footer.html') %> |