Commit 5ef5e063 authored by Penny Leach's avatar Penny Leach
Browse files

contextual help for accountprefs page

parent 06a3b571
......@@ -46,6 +46,7 @@ if (method_exists($authclass, 'change_password')) {
),
'oldpassword' => array( 'type' => 'password',
'title' => get_string('oldpassword'),
'help' => true,
),
'password1' => array(
'type' => 'password',
......@@ -58,6 +59,7 @@ if (method_exists($authclass, 'change_password')) {
);
}
else if ($url = get_config_plugin('auth', $authtype, 'changepasswordurl')) {
// @todo contextual help
$elements = array(
'changepasswordotherinterface' => array(
'value' => '<tr><td colspan="2"><p>' . get_string('changepasswordotherinterface', 'account', $url) . '</p></td></tr>'
......@@ -96,7 +98,8 @@ $elements['wysiwyg'] = array(
),
'rules' => array(
'required' => true
)
),
'help' => true,
);
$elements['messages'] = array(
'type' => 'radio',
......@@ -110,7 +113,8 @@ $elements['messages'] = array(
),
'rules' => array(
'required' => true
)
),
'help' => true,
);
$elements['lang'] = array(
'type' => 'select',
......@@ -119,7 +123,8 @@ $elements['lang'] = array(
'options' => get_languages(),
'rules' => array(
'required' => true
)
),
'help' => true,
);
$elements['submit'] = array(
'type' => 'submit',
......
<p>This is help for the <tt>friendscontrol</tt> item of the <strong>accountprefs</strong> form.</p>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
</head>
<body bgcolor="#FFFFFF">
<h3><strong>Friends Control</strong></h3>
<p>Use Friends Control to choose whether other users on the site may add you to their Friends list.&nbsp; If you are added to someone&rsquo;s Friends list they are automatically added to your list.&nbsp; When you remove someone from your Friends list you are also removed from their list.&nbsp; </p>
<p><em>Nobody may add me as a friend</em><br>
No user on the site may add you to their Friends list.<br>
<em><br>
New friends require my authorisation</em><br>
People must request your authorisation in order to add you to their Friends list.&nbsp; Once you have approved a request they will be added as a Friend.</p>
<p><em>New friends are automatically authorised</em><br>
Anyone may add you to their Friends list at any time.</p>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
</head>
<body bgcolor="#FFFFFF">
<h3><strong>Language</strong></h3>
<p>Depending on the site settings and availability of translation packages, you may be able customise the language in which your menu items and contextual help appear.</p>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
</head>
<body bgcolor="#FFFFFF">
<h3><strong>Messages from other users</strong></h3>
<p>Use this setting to choose which users of the site you are happy to receive messages from.</p>
<p>Depending on your settings within your Activity Preferences you can receive these messages via an individual email, a daily email digest or via an activity notification.</p>
<p>Note that these contact restrictions do not apply to Site Administrators or Staff members.</p>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
</head>
<body bgcolor="#FFFFFF">
<h3><strong>Change Password</strong></h3>
<p>To change your login password, enter your Current Password then what you would like as your new password in the New and Confirm Password boxes.</p>
<p>Your password must be at least six characters long and contain at least one digit and two letters.&nbsp; Your password may not be the same as your username and is <em>case sensitive</em>.&nbsp;</p>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
</head>
<body bgcolor="#FFFFFF">
<h3><strong>HTML Editor</strong></h3>
<p>An<strong> </strong>HTML editor (also known a WYSIWYG editor) is available for use on some sections of the site.&nbsp; The HTML editor allows you to easily apply formatting to text you&rsquo;ve entered.&nbsp; If the editor is turned off you will be able to enter in plain text only.</p>
<p>Please note that the HTML editor may appear and work slightly differently in certain browsers.</p>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment