summaryrefslogtreecommitdiff
path: root/httemplate/misc/whois.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/whois.cgi')
-rw-r--r--httemplate/misc/whois.cgi25
1 files changed, 0 insertions, 25 deletions
diff --git a/httemplate/misc/whois.cgi b/httemplate/misc/whois.cgi
deleted file mode 100644
index dd7851d..0000000
--- a/httemplate/misc/whois.cgi
+++ /dev/null
@@ -1,25 +0,0 @@
-<%
- my $svcnum = $cgi->param('svcnum');
- my $custnum = $cgi->param('custnum');
- my $domain = $cgi->param('domain');
-
-%>
-<%= header("Whois $domain", menubar(
- ( $custnum
- ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
- )
- : ()
- ),
- "View this domain (#$svcnum)" => "${p}view/svc_domain.cgi?$svcnum",
- "Main menu" => $p,
-)) %>
-<% my $whois = eval { whois($domain) };
- if ( $@ ) {
- ( $whois = $@ ) =~ s/ at \/.*Net\/Whois\/Raw\.pm line \d+.*$//s;
- } else {
- $whois =~ s/^\n+//;
- }
-%>
-<PRE><%= $whois %></PRE>
-</BODY>
-</HTML>