From 2c816f314a8f3cc46e72e31f34ed97b4e11d0449 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Aug 1999 12:13:27 +0000 Subject: new HTML manpages --- htdocs/docs/man/FS/CGI.html | 115 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 htdocs/docs/man/FS/CGI.html (limited to 'htdocs/docs/man/FS/CGI.html') diff --git a/htdocs/docs/man/FS/CGI.html b/htdocs/docs/man/FS/CGI.html new file mode 100644 index 000000000..e1a42ec59 --- /dev/null +++ b/htdocs/docs/man/FS/CGI.html @@ -0,0 +1,115 @@ + + +FS::CGI - Subroutines for the web interface + + + + + + + + + + +
+

+

NAME

+

+FS::CGI - Subroutines for the web interface + +

+


+

SYNOPSIS

+

+

  use FS::CGI qw(header menubar idiot eidiot popurl);
+
+

+

  print header( 'Title', '' );
+  print header( 'Title', menubar('item', 'URL', ... ) );
+
+

+

  idiot "error message"; 
+  eidiot "error message";
+
+

+

  $url = popurl; #returns current url
+  $url = popurl(3); #three levels up
+
+

+


+

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
+

+This is depriciated. Don't use it. + +

+Sends headers and an HTML error message. + +

eidiot ERROR
+

+This is depriciated. Don't use it. + +

+Sends headers and an HTML error message, then exits. + +

popurl LEVEL
+

+Returns current URL with LEVEL levels of path removed from the end (default +0). + +

table
+

+Returns HTML tag for beginning a table. + +

itable
+

+Returns HTML tag for beginning an (invisible) table. + +

ntable
+

+This is getting silly. + +

+

+


+

BUGS

+

+Not OO. + +

+Not complete. + +

+


+

SEE ALSO

+

+the CGI manpage, CGI::Base + + + + + + -- cgit v1.2.1