Initial revision
[freeside.git] / htdocs / docs / man / CGI.txt
1 NAME
2     FS::CGI - Subroutines for the web interface
3
4 SYNOPSIS
5       use FS::CGI qw(header menubar idiot eidiot);
6
7       print header( 'Title', '' );
8       print header( 'Title', menubar('item', 'URL', ... ) );
9
10       idiot "error message"; 
11       eidiot "error message";
12
13 DESCRIPTION
14     Provides a few common subroutines for the web interface.
15
16 SUBROUTINES
17     header TITLE, MENUBAR
18         Returns an HTML header.
19
20     menubar ITEM, URL, ...
21         Returns an HTML menubar.
22
23     idiot ERROR
24         Sends headers and an HTML error message.
25
26     eidiot ERROR
27         Sends headers and an HTML error message, then exits.
28
29 BUGS
30     Not OO.
31
32     Not complete.
33
34     Uses CGI-modules instead of CGI.pm
35
36 SEE ALSO
37     the CGI::Base manpage
38
39 HISTORY
40     subroutines for the HTML/CGI GUI, not properly OO. :(
41
42     ivan@sisd.com 98-apr-16 ivan@sisd.com 98-jun-22
43
44     lose the background, eidiot ivan@sisd.com 98-sep-2
45
46     pod ivan@sisd.com 98-sep-12
47