$Log$
+Revision 323.5 2002/03/03 06:52:59 ajc
+* Allow editing of the "disable self-service user account creation" site config option
+
Revision 323.4 2002/02/24 07:02:44 ajc
* Added the ability to enter a Subject: line in messages
* Go to the Mail room when user clicks on the new mail alert icon
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
wprintf("<INPUT TYPE=\"text\" NAME=\"c_net_freq\" MAXLENGTH=\"5\" VALUE=\"%s\">", buf);
wprintf("</TD></TR>\n");
break;
+ case 30:
+ wprintf("<TR><TD>Disable self-service user account creation</TD><TD>");
+ wprintf("<INPUT TYPE=\"checkbox\" NAME=\"c_disable_newu\" VALUE=\"yes\" %s>", ((atoi(buf) != 0) ? "CHECKED" : ""));
+ wprintf("</TD></TR>\n");
+ break;
}
}
serv_printf("%s", ((!strcasecmp(bstr("c_aide_zap"), "yes") ? "1" : "0")));
serv_printf("%s", bstr("c_imap_port"));
serv_printf("%s", bstr("c_net_freq"));
+ serv_printf("%s", bstr("c_disable_newu"));
serv_printf("000");
display_success("System configuration has been updated.");
}