Changed the class names so that they match the directory structure

This commit is contained in:
Mark Nelson 2013-06-12 16:23:08 +08:00
parent fa5d45eef3
commit 7500bfda26
22 changed files with 72 additions and 72 deletions

View file

@ -48,7 +48,7 @@ class mod_customcert_edit_element_form extends moodleform {
// Add the field for the name of the variable, this is required for all elements.
$mform->addElement('text', 'name', get_string('elementname', 'customcert'));
$mform->setType('name', PARAM_TEXT);
$mform->setDefault('name', get_string('pluginname', 'customcertelement_' . $element->element));
$mform->setDefault('name', get_string('pluginname', 'customcertelements_' . $element->element));
$mform->addRule('name', get_string('required'), 'required', null, 'client');
$mform->addHelpButton('name', 'elementname', 'customcert');