From 0effcbcf51b490c93cc8467bab199d7e8bbe85fa Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sat, 26 Feb 2000 03:31:49 +0000 Subject: Make a universal routine to report errors in forms, so that we can have a universal (and more noticable) way of displaying them. --- defparams.pl | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'defparams.pl') diff --git a/defparams.pl b/defparams.pl index 5f8d1ccc2..14fecf10c 100644 --- a/defparams.pl +++ b/defparams.pl @@ -207,6 +207,13 @@ DefParam("footerhtml", %commandmenu% '); +DefParam("errorhtml", + "This is what is printed out when a form is improperly filled out. %errormsg% is replaced by the actual error itself; %anythingelse% gets replaced by the definition of that parameter (as defined on this page).", + "l", + qq{
+%errormsg%
+

Please press Back and try again.

}); + DefParam("bannerhtml", @@ -243,17 +250,6 @@ DefParam("shutdownhtml", ""); -DefParam("warnbannerhtml", - "HTML to prepend to warning messages.", - "l", - ""); - -DefParam("warnfooterhtml", - "HTML to append to warning messages.", - "l", - ""); - - DefParam("passwordmail", q{The email that gets sent to people to tell them their password. Within this text, %mailaddress% gets replaced by the person's email address, -- cgit v1.2.3-24-g4f1b