MDL-21695 Replaced profilevisible.html

AMOS BEGIN
 HLP profilevisible.html,[profilevisible_help,core_admin]
AMOS END
This commit is contained in:
David Mudrak 2010-06-28 14:38:31 +00:00
parent a68ae24547
commit 165c9f1f34
3 changed files with 2 additions and 6 deletions

View File

@ -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';

View File

@ -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>

View File

@ -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();