Minor fixes related to earlier Image form control alterations.

This commit is contained in:
Drake 2006-11-08 00:27:25 +00:00
parent bca8d214b7
commit 7604308b26
3 changed files with 30 additions and 16 deletions

View file

@ -269,8 +269,8 @@ sub www_editProfileField {
if ($data->{fieldType} eq "Image") {
$f->yesNo(
-name=>"forceImageOnly",
-label=>$i18n->echo("Force Image Only Uploads"),
-hoverHelp=>$i18n->echo("If set to yes, this form control will only allow image file types to be uploaded through it."),
-label=>$i18n->get('forceImageOnly label'),
-hoverHelp=>$i18n->get('forceImageOnly hoverHelp'),
-value=>$data->{forceImageOnly},
-defaultValue=>1,
);