diff --git a/lib/WebGUI/AssetExportHtml.pm b/lib/WebGUI/AssetExportHtml.pm index c2491846d..0f952250b 100644 --- a/lib/WebGUI/AssetExportHtml.pm +++ b/lib/WebGUI/AssetExportHtml.pm @@ -137,7 +137,10 @@ sub www_export { return WebGUI::Privilege::insufficient() unless (WebGUI::Grouping::isInGroup(13)); $self->getAdminConsole->setHelp("page export", "Asset"); my $f = WebGUI::HTMLForm->new(-action=>$self->getUrl); - $f->hidden("func","exportStatus"); + $f->hidden( + -name => "func", + -value => "exportStatus" + ); $f->integer( -label=>WebGUI::International::get('Depth',"Asset"), -hoverHelp=>WebGUI::International::get('Depth description',"Asset"), diff --git a/lib/WebGUI/AssetMetaData.pm b/lib/WebGUI/AssetMetaData.pm index d68fff7db..fcac4204c 100644 --- a/lib/WebGUI/AssetMetaData.pm +++ b/lib/WebGUI/AssetMetaData.pm @@ -167,8 +167,14 @@ sub www_editMetaDataField { } my $fid = $session{form}{fid} || "new"; my $f = WebGUI::HTMLForm->new(-action=>$self->getUrl); - $f->hidden("func", "editMetaDataFieldSave"); - $f->hidden("fid", $fid); + $f->hidden( + -name => "func", + -value => "editMetaDataFieldSave" + ); + $f->hidden( + -name => "fid", + -value => $fid + ); $f->readOnly( -value=>$fid, -label=>WebGUI::International::get('Field Id','Asset'), diff --git a/lib/WebGUI/Operation/ProfileSettings.pm b/lib/WebGUI/Operation/ProfileSettings.pm index 41c095402..265f0184a 100644 --- a/lib/WebGUI/Operation/ProfileSettings.pm +++ b/lib/WebGUI/Operation/ProfileSettings.pm @@ -106,11 +106,14 @@ sub www_editProfileCategory { ); $f->readOnly( -name => $session{form}{cid}, - -label => WebGUI::International::get(469,"WebGUIProfile"); + -label => WebGUI::International::get(469,"WebGUIProfile"), ); %data = WebGUI::SQL->quickHash("select * from userProfileCategory where profileCategoryId=".quote($session{form}{cid})); } else { - $f->hidden("cid","new"); + $f->hidden( + -name => "cid", + -value => "new" + ); } $f->text( -name => "categoryName", diff --git a/lib/WebGUI/Operation/User.pm b/lib/WebGUI/Operation/User.pm index 011197812..6bb04e4df 100644 --- a/lib/WebGUI/Operation/User.pm +++ b/lib/WebGUI/Operation/User.pm @@ -107,7 +107,10 @@ sub getUserSearchForm { WebGUI::Session::setScratch("userSearchModifier",$session{form}{modifier}); my $output = '