<% use obfui::cmn;  my ($cfgref) = @_; %>
<form method=post enctype="multipart/form-data">
<input type=hidden name=havevals value=1>
<input type=hidden name=step value=1>


<center>
<h2>Specify serial number and patch file you've received after your purchase</h2>
<p>

<table>
<tr>
<td><%= __("Specify name of file you've downloaded after purchase:") %></td>
<td><input required type=file name=file class=text></td>

<tr><td><%= __('Serial number (included in the order information):') %></td><td><input name=serial required class=text></td>
</table>
<p>


<% $forge->include('wgt-submitbtn'); %>
</center>

<% if ($^O =~ /Win32/) {  
my $rootpath = $^X || $ENV{STUNNIXWS_PERL_INTERP};
$rootpath =~ s,lib.gui.perl.win32.w?perl.exe,,g;

%>
<b>
<%= __('If you are using Windows Vista or Windows 7, patching will fail if you\'ve installed trial of the product to "c:\\Program Files"! To work around this, install the trial outside of "c:\\Program Files" - e.g. to "C:\\opt\\stunnix" !') %>
</b>
<p>
<% if ($cfgref->{product}->{lang} ne 'perl')  {%>
<%= __('Currently running from: ') . $rootpath  %>
<p>
<% } %>

<% } %>


</form>