summaryrefslogtreecommitdiff
path: root/httemplate/edit/svc_cert/import_privatekey.html
diff options
context:
space:
mode:
authorivan <ivan>2010-11-07 00:57:16 +0000
committerivan <ivan>2010-11-07 00:57:16 +0000
commit2d77bbdb0f3deff86a4b721e7b4f8be7ff5996d4 (patch)
treee6e297369e93092440710eecb5ebb1ebd5d26a28 /httemplate/edit/svc_cert/import_privatekey.html
parent9c2d7c2a11002c9dc6774106e26953f6590ddf00 (diff)
certificates ala communigate, RT#7515
Diffstat (limited to 'httemplate/edit/svc_cert/import_privatekey.html')
-rw-r--r--httemplate/edit/svc_cert/import_privatekey.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/httemplate/edit/svc_cert/import_privatekey.html b/httemplate/edit/svc_cert/import_privatekey.html
new file mode 100644
index 000000000..52e6002f8
--- /dev/null
+++ b/httemplate/edit/svc_cert/import_privatekey.html
@@ -0,0 +1,28 @@
+<% include('/elements/header-popup.html', 'Import private key' ) %>
+
+<% include('/elements/error.html') %>
+
+<FORM NAME="ImportKeyForm" ACTION="<% $p %>process/svc_cert.cgi" METHOD="POST">
+
+<INPUT TYPE="hidden" NAME="svcnum" VALUE="<% $svcnum %>">
+<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<% $pkgnum %>">
+<INPUT TYPE="hidden" NAME="svcpart" VALUE="<% $svcpart %>">
+
+<TEXTAREA NAME="privatekey" COLS=64 ROWS=15 STYLE="font-family:monospace"></TEXTAREA>
+
+<BR><BR>
+<INPUT TYPE="submit" VALUE="Import">
+
+</FORM>
+</BODY>
+</HTML>
+<%init>
+
+$cgi->param('svcnum') =~ /^(\d*)$/ or die 'illegal svcnum';
+my $svcnum = $1;
+$cgi->param('pkgnum') =~ /^(\d*)$/ or die 'illegal pkgnum';
+my $pkgnum = $1;
+$cgi->param('svcpart') =~ /^(\d*)$/ or die 'illegal svcpart';
+my $svcpart = $1;
+
+</%init>