refactored WebGUI::HTMLForm api to use new session system

This commit is contained in:
JT Smith 2006-01-11 16:53:02 +00:00
parent 45c7e7876d
commit b3974c0cd5
33 changed files with 92 additions and 73 deletions

View file

@ -80,7 +80,7 @@ sub _logSecurityMessage {
sub addUserForm {
my $self = shift;
my $userData = $self->getParams;
my $f = WebGUI::HTMLForm->new;
my $f = WebGUI::HTMLForm->new($self->session);
$f->password(
name=>"authWebGUI.identifier",
label=>WebGUI::International::get(51),
@ -348,7 +348,7 @@ sub editUserFormSave {
sub editUserSettingsForm {
my $self = shift;
my $f = WebGUI::HTMLForm->new;
my $f = WebGUI::HTMLForm->new($self->session);
$f->text(
-name=>"webguiPasswordLength",
-value=>$self->session->setting->get("webguiPasswordLength"),