merging defaultScopes from DEFAULT_SCOPES and account_manager.default_property_scope
removing unneccessary profileScope setting (using config.php instead)
honoring admin choice 'profile.enabled'=>false in config.php
moved checking for empty array to updateProfile function
corrected some typos and cleaned some comments
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
<p><labelfor="ldap_attr_role"><?phpp($l->t('Role Field'));?></label><inputtype="text"id="ldap_attr_role"name="ldap_attr_role"title="<?phpp($l->t('User profile Role will be set from the specified attribute'));?>"data-default="<?phpp($_['ldap_attr_role_default']);?>"></p>
<p><labelfor="ldap_attr_headline"><?phpp($l->t('Headline Field'));?></label><inputtype="text"id="ldap_attr_headline"name="ldap_attr_headline"title="<?phpp($l->t('User profile Headline will be set from the specified attribute'));?>"data-default="<?phpp($_['ldap_attr_headline_default']);?>"></p>
<p><labelfor="ldap_attr_biography"><?phpp($l->t('Biography Field'));?></label><inputtype="text"id="ldap_attr_biography"name="ldap_attr_biography"title="<?phpp($l->t('User profile Biography will be set from the specified attribute'));?>"data-default="<?phpp($_['ldap_attr_biography_default']);?>"></p>
<p><labelfor="ldap_profile_scope"><?phpp($l->t('Profile Scope'));?></label><selectid="ldap_profile_scope"name="ldap_profile_scope"data-default="<?phpp($_['ldap_profile_scope_default']);?>"><optionvalue="unset"<?phpif(!isset($_['ldap_profile_scope'])||($_['ldap_profile_scope']==='unset'))p(' selected');?>>must be set by user</option><optionvalue="v2-private"<?phpif(isset($_['ldap_profile_scope'])&&($_['ldap_profile_scope']==='v2-private'))p(' selected');?>>private</option><optionvalue="v2-local"<?phpif(isset($_['ldap_profile_scope'])&&($_['ldap_profile_scope']==='v2-local'))p(' selected');?>>local</option><optionvalue="v2-federated"<?phpif(isset($_['ldap_profile_scope'])&&($_['ldap_profile_scope']==='v2-federated'))p(' selected');?>>federated</option><optionvalue="v2-published"<?phpif(isset($_['ldap_profile_scope'])&&($_['ldap_profile_scope']==='v2-published'))p(' selected');?>>published</option></select></p>