webservice MDL-21351 add a help icon to required capability option (when create/edit a service)

This commit is contained in:
jerome mouneyrac 2010-01-22 03:39:30 +00:00
parent bdbae764d9
commit a7e2d6fef9
2 changed files with 6 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class external_service_form extends moodleform {
}
$mform->addElement('searchableselector', 'requiredcapability', get_string('requiredcapability', 'webservice'), $capabilitychoices);
$mform->setHelpButton('requiredcapability', array('requiredcapability', get_string('requiredcapability'), 'webservice'));
/// display notification error if the current requiredcapability doesn't exist anymore
if(empty($currentcapabilityexist)) {
global $OUTPUT;

View File

@ -0,0 +1,5 @@
<h1>Required capability</h1>
<p>The required capability is an option for administrator willing to add an optional checking to a service.
Any users accessing the service will need to have the selected capability.</p>