Skip to content
Snippets Groups Projects
Commit b4b68414 authored by Elke Kreim's avatar Elke Kreim
Browse files

Change placeholder for course code field

parent c5e46526
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,8 @@ class evaluserexport extends moodleform {
$options[$role->id] = $role->localname;
}
$mform->addElement('text', 'course_code', get_string('course_code', 'local_hshexport'), 'maxlength="100" size="50" placeholder="BBA-422-01"');
$placeholder = get_string('course_code_placeholder', 'local_hshexport');
$mform->addElement('text', 'course_code', get_string('course_code', 'local_hshexport'), 'maxlength="100" size="50" placeholder="'.$placeholder.'"');
$mform->setType('course_code', PARAM_ALPHANUMEXT);
$mform->addHelpButton('course_code', 'course_code', 'local_hshexport');
$mform->setDefault('course_code', null);
......
......@@ -31,6 +31,7 @@ $string['nav_course'] = 'Link in Kursnavigation';
$string['nav_participants'] = 'Link in Auswahlbutton der Teilnehmerliste';
$string['navigation'] = 'Platzierung des Links';
$string['navigation_desc'] = 'Der Ort, an dem der Link für das Formular zum Export von Nutzern zur Evaluation innerhalb eines Kurses hinzugefügt wird.';
$string['course_code_placeholder'] = 'Bitte hier LV Kennung eingeben';
$string['course_code'] = 'LV-Kennung';
$string['course_code_help'] = 'Eine LV-Kennung muss eindeutig und einmalig sein, z.B. eine Modulkurzbezeichnung. Sie ist die eindeutige Kennung, unter der die Evaluation durchgeführt wird. Beispiele: BBA-422-01 oder 010-103';
$string['select_roles'] = 'Rollen';
......
......@@ -31,6 +31,7 @@ $string['nav_course'] = 'Navigation node in course navigation';
$string['nav_participants'] = 'Navigation node in participants page jump menu';
$string['navigation'] = 'Navigation node placement';
$string['navigation_desc'] = 'The location where the navigation node for evaluation user export form will be added within a course.';
$string['course_code_placeholder'] = 'Please enter course code here';
$string['course_code'] = 'Course code';
$string['course_code_help'] = 'A course code must be unique and unambiguous, e.g. a module abbreviation. It is the unique identifier under which the evaluation is carried out. Examples BBA-422-01 or 010-103';
$string['select_roles'] = 'Roles';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment