From 4727e6c09f88e63f02e6c8f359862d0c0942ed36 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Wed, 16 Sep 1998 04:49:23 +0000 Subject: Everything has been ported to now run under Perl. --- defparams.tcl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'defparams.tcl') diff --git a/defparams.tcl b/defparams.tcl index a008dc07f..b9a3a5a82 100644 --- a/defparams.tcl +++ b/defparams.tcl @@ -71,6 +71,10 @@ set param_list {} # # t -- A short text entry field (suitable for a single line) # l -- A long text field (suitable for many lines) +# b -- A boolean value (either 1 or 0) +# defenum -- This param defines an enum that defines a column in one of +# the database tables. The name of the parameter is of the form +# "tablename.columnname". # This very first one is silly. At some point, "superuserness" should be an # attribute of the person's profile entry, and not a single name like this. @@ -90,6 +94,22 @@ proc check_urlbase {url} { return "" } + +DefParam usedespot {If this is on, then we are using the Despot system to control our database of users. Bugzilla won't ever write into the user database, it will let the Despot code maintain that. And Bugzilla will send the user over to Despot URLs if they need to change their password. Also, in that case, Bugzilla will treat the passwords stored in the database as being crypt'd, not plaintext.} b 0 + +DefParam despotbaseurl {The base URL for despot. Used only if usedespot is turned on, above.} t {http://cvs-mirror.mozilla.org/webtools/despot/despot.cgi} check_despotbaseurl + + +proc check_despotbaseurl {url} { + if {![regexp {^http.*cgi$} $url]} { + return "must be a legal URL, that starts with http and ends with .cgi" + } + return "" +} + + + + DefParam bannerhtml {The html that gets emitted at the head of every Bugzilla page.} l {