rfe: protected profile fields do not show a delete icon
This commit is contained in:
parent
ef120fb06b
commit
65c5fb2de5
2 changed files with 3 additions and 1 deletions
|
|
@ -397,7 +397,8 @@ sub www_editProfileSettings {
|
|||
foreach my $field (@{$category->getFields}) {
|
||||
next if $field->getId =~ /contentPositions/;
|
||||
$output .= ' ';
|
||||
$output .= $session->icon->delete('op=deleteProfileFieldConfirm;fid='.$field->getId,'',$i18n->get(467));
|
||||
$output .= $session->icon->delete('op=deleteProfileFieldConfirm;fid='.$field->getId,'',$i18n->get(467))
|
||||
unless $field->isProtected;
|
||||
$output .= $session->icon->edit('op=editProfileField;fid='.$field->getId);
|
||||
$output .= $session->icon->moveUp('op=moveProfileFieldUp;fid='.$field->getId);
|
||||
$output .= $session->icon->moveDown('op=moveProfileFieldDown;fid='.$field->getId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue