summaryrefslogtreecommitdiff
path: root/htdocs/docs/man/CGI.txt
blob: 54f9b8a6a7c3edc63da3c9d88fd632fdd0a85580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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