Minor fixes related to earlier Image form control alterations.
This commit is contained in:
parent
bca8d214b7
commit
7604308b26
3 changed files with 30 additions and 16 deletions
|
|
@ -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,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue