MDL-16267 Moved and tidied help files

This commit is contained in:
moodler
2008-09-26 03:27:54 +00:00
parent 30f09308b9
commit 97844c1dda
6 changed files with 25 additions and 1 deletions
@@ -0,0 +1,3 @@
<h1>Forum digests</h1>
<p>Digests are daily collections of posts from forums you have subscribed to.</p>
@@ -0,0 +1,3 @@
<h1>Forum posts</h1>
<p>These are ordinary single posts from forums you have subscribed to.</p>
@@ -0,0 +1,5 @@
<h1>Messages from other users</h1>
<p>This section configures what happens to messages that are sent to you directly from other users on this site.</p>
<p>You can have configure things to happen differently when you are online or offline.</p>
@@ -0,0 +1,3 @@
<h1>Moodle errors</h1>
<p>These are important errors that an administrator should know about.</p>
@@ -0,0 +1,3 @@
<h1>Moodle notices</h1>
<p>These are notices that an administrator might be interested in seeing.</p>
+8 -1
View File
@@ -212,7 +212,14 @@
foreach ( $providers as $providerid => $provider){
$providername = get_string('messageprovider:'.$provider->name, $provider->component);
$helpbtn = helpbutton(str_replace('/', '_', $provider->component).'_'.$provider->name, $providername, "messaging", true, false, '', true);
/// TODO XXX: This is only a quick hack ... helpfile locations should be provided as part of the provider definition
if ($provider->component == 'moodle') {
$helpbtn = helpbutton('moodle_'.$provider->name, $providername, 'message', true, false, '', true);
} else {
$helpbtn = helpbutton('message_'.$provider->name, $providername, basename($provider->component), true, false, '', true);
}
echo '<tr><th align="right">'.$providername.$helpbtn.'</th><td colspan="'.$number_procs.'"></td></tr>'."\n";
foreach (array('loggedin', 'loggedoff') as $state){
$state_res = get_string($state, 'message');