summaryrefslogtreecommitdiff
path: root/htdocs/docs/man/CGI.txt
diff options
context:
space:
mode:
authorivan <ivan>1998-09-25 08:52:48 +0000
committerivan <ivan>1998-09-25 08:52:48 +0000
commit08f52e31c5f777963d565085d077c9d8d9734e17 (patch)
tree12cadac5ed336b42861b7df1907fd74c0bda5944 /htdocs/docs/man/CGI.txt
parent693939e7879f77a52b9e482a0f6bf2e80f8f7020 (diff)
Initial revision
Diffstat (limited to 'htdocs/docs/man/CGI.txt')
-rw-r--r--htdocs/docs/man/CGI.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/htdocs/docs/man/CGI.txt b/htdocs/docs/man/CGI.txt
new file mode 100644
index 000000000..54f9b8a6a
--- /dev/null
+++ b/htdocs/docs/man/CGI.txt
@@ -0,0 +1,47 @@
+NAME
+ FS::CGI - Subroutines for the web interface
+
+SYNOPSIS
+ use FS::CGI qw(header menubar idiot eidiot);
+
+ print header( 'Title', '' );
+ print header( 'Title', menubar('item', 'URL', ... ) );
+
+ idiot "error message";
+ eidiot "error message";
+
+DESCRIPTION
+ Provides a few common subroutines for the web interface.
+
+SUBROUTINES
+ header TITLE, MENUBAR
+ Returns an HTML header.
+
+ menubar ITEM, URL, ...
+ Returns an HTML menubar.
+
+ idiot ERROR
+ Sends headers and an HTML error message.
+
+ eidiot ERROR
+ Sends headers and an HTML error message, then exits.
+
+BUGS
+ Not OO.
+
+ Not complete.
+
+ Uses CGI-modules instead of CGI.pm
+
+SEE ALSO
+ the CGI::Base manpage
+
+HISTORY
+ subroutines for the HTML/CGI GUI, not properly OO. :(
+
+ ivan@sisd.com 98-apr-16 ivan@sisd.com 98-jun-22
+
+ lose the background, eidiot ivan@sisd.com 98-sep-2
+
+ pod ivan@sisd.com 98-sep-12
+