mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-21695 Replaced profilevisible.html
AMOS BEGIN HLP profilevisible.html,[profilevisible_help,core_admin] AMOS END
This commit is contained in:
parent
a68ae24547
commit
165c9f1f34
@ -795,9 +795,7 @@ $string['profileshortnamenotunique'] = 'This short name is already in use';
|
||||
$string['profilesignup'] = 'Display on signup page?';
|
||||
$string['profilespecificsettings'] = 'Specific settings';
|
||||
$string['profilevisible'] = 'Who is this field visible to?';
|
||||
$string['profilevisible_help'] = 'There are 3 options:
|
||||
|
||||
* Not visible - For private data only viewable by administrators
|
||||
$string['profilevisible_help'] = '* Not visible - For private data only viewable by administrators
|
||||
* Visible to user - For private data only viewable by the user and by administrators
|
||||
* Visible to everyone';
|
||||
$string['profilevisibleall'] = 'Visible to everyone';
|
||||
|
@ -1,2 +0,0 @@
|
||||
<h1>Profile field visibility</h1>
|
||||
<p>Each custom field can be given one of three visibility settings: invisible, everyone and user. The invisible setting would typically be set by an administrator who wants to hold private data on the users. The 'user' setting would normally be selected for a field that holds sensitive information, while the 'everyone' setting can be used for any type of information.</p>
|
@ -46,7 +46,7 @@ class profile_define_base {
|
||||
$choices[PROFILE_VISIBLE_PRIVATE] = get_string('profilevisibleprivate', 'admin');
|
||||
$choices[PROFILE_VISIBLE_ALL] = get_string('profilevisibleall', 'admin');
|
||||
$form->addElement('select', 'visible', get_string('profilevisible', 'admin'), $choices);
|
||||
$form->setHelpButton('visible', array('profilevisible', get_string('profilevisible','admin')));
|
||||
$form->addHelpButton('visible', 'profilevisible', 'admin');
|
||||
$form->setDefault('visible', PROFILE_VISIBLE_ALL);
|
||||
|
||||
$choices = profile_list_categories();
|
||||
|
Loading…
x
Reference in New Issue
Block a user