genNavigationHeader($q)
genNoframesHeader($q)
genHeaderStartHTML($q)
esmith::cgi - Useful CGI routines for e-smith server and gateway
This file documents esmith::cgi
version 1.4.0
use esmith::cgi;
This module contains a collection of useful routines for working with the e-smith manager's CGI interface.
genNavigationHeader($q)
genNoframesHeader($q)
genHeaderStartHTML($q)
genFooter($q)
genFooterNoCopyright($q)
genNavigationFooter($q)
genNoframesFooter($q)
curFont()
Returns the preferred font faces eg. ``Helvetica,Arial''.
Generates a cell which spans two columns, containing the text specified.
Generates a cell with ``small'' text (font size -1).
Generates a cell with ``small'' (font size -1) red text.
Returns a table row containing a two-column cell containing $text.
Returns a table row containing an empty first cell and a second cell containing a button with the value $button.
Returns a table row with two cells. The first has the text ``$fieldlabel:'' in it, and the second has a text field with the default value $fieldvalue and the name $fieldname.
As for genNameValueRow()
above, but instead of a text field it
generates a password field so that user input is obscured.
Possible buglet: if $fieldvalue is given, the password field defaults to this value, so the number of stars may indicate to the end-user what the previous value was.
sub genWidgetRow($q, $fieldlabel, $popup)
Generates a ``status report'' page, including the footer
Subroutine to generate ``unknown state'' error message.
e-smith, inc.
For more information, see http://e-smith.org/