mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-21695 first sample help migration - course full name
AMOS BEGIN HLP coursefullname.html,[fullnamecourse_hlp,core] AMOS END
This commit is contained in:
parent
259c165d7a
commit
503d243a3c
@ -85,7 +85,7 @@ class course_edit_form extends moodleform {
|
||||
}
|
||||
|
||||
$mform->addElement('text','fullname', get_string('fullnamecourse'),'maxlength="254" size="50"');
|
||||
$mform->setHelpButton('fullname', array('coursefullname', get_string('fullnamecourse')), true);
|
||||
$mform->addHelpButton('fullname', 'fullnamecourse');
|
||||
$mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
|
||||
$mform->setType('fullname', PARAM_MULTILANG);
|
||||
if (!empty($course->id) and !has_capability('moodle/course:changefullname', $coursecontext)) {
|
||||
|
@ -1,4 +0,0 @@
|
||||
<h1>Course Full name</h1>
|
||||
|
||||
<p>The full name of the course is displayed at the top of the screen and in the course listings.</p>
|
||||
|
@ -733,6 +733,7 @@ $string['frontpagetopiconly'] = 'Topic section';
|
||||
$string['fulllistofcourses'] = 'All courses';
|
||||
$string['fullname'] = 'Full name';
|
||||
$string['fullnamecourse'] = 'Course full name';
|
||||
$string['fullnamecourse_hlp'] = 'The full name of the course is displayed at the top of the screen and in the course listings.';
|
||||
$string['fullnamedisplay'] = '{$a->firstname} {$a->lastname}';
|
||||
$string['fullnameuser'] = 'User full name';
|
||||
$string['fullprofile'] = 'Full profile';
|
||||
|
Loading…
x
Reference in New Issue
Block a user