mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
publish MDL-19315 course url is now not editable, change advertise/share for enrollable/downloadable
This commit is contained in:
parent
f83b3b13f3
commit
99fbb74ebd
@ -118,10 +118,9 @@ class course_publication_form extends moodleform {
|
||||
$buttonlabel = get_string('advertiseon', 'hub', !empty($hubname)?$hubname:$huburl);
|
||||
$mform->addElement('hidden', 'advertise', $advertise);
|
||||
|
||||
$mform->addElement('text', 'courseurl', get_string('courseurl', 'hub'));
|
||||
$mform->addElement('static', 'courseurl', get_string('courseurl', 'hub'));
|
||||
$mform->setType('courseurl', PARAM_URL);
|
||||
$mform->setDefault('courseurl', new moodle_url("/course/view.php?id=".$course->id));
|
||||
$mform->addHelpButton('courseurl', 'courseurl', 'hub');
|
||||
}
|
||||
|
||||
$mform->addElement('text', 'courseshortname',get_string('courseshortname', 'hub'));
|
||||
|
@ -25,11 +25,11 @@
|
||||
*/
|
||||
|
||||
$string['addedtoblock'] = 'Course added to block';
|
||||
$string['advertise'] = 'Advertise';
|
||||
$string['advertiseon'] = 'Advertise on {$a}';
|
||||
$string['advertiseonhub'] = 'Advertise on hub';
|
||||
$string['advertiseonmoodleorg'] = 'Advertise on Moodle.org';
|
||||
$string['advertiseonspecifichub'] = 'Advertise on a specific hub';
|
||||
$string['advertise'] = 'Publish as enrollable';
|
||||
$string['advertiseon'] = 'Publish as enrollable on {$a}';
|
||||
$string['advertiseonhub'] = 'Publish as enrollable on hub';
|
||||
$string['advertiseonmoodleorg'] = 'Publish as enrollable on Moodle.org';
|
||||
$string['advertiseonspecifichub'] = 'Publish as enrollable on a specific hub';
|
||||
$string['all'] = 'All';
|
||||
$string['allowglobalsearch'] = 'Publish this hub and allow global search of all courses';
|
||||
$string['allowpublicsearch'] = 'Publish this hub so people can join it';
|
||||
@ -145,11 +145,11 @@ $string['selecthub'] = 'Select hub';
|
||||
$string['sendfollowinginfo'] = 'Send the following information:';
|
||||
$string['settings'] = 'Settings';
|
||||
$string['settingsupdated'] = 'Settings have been updated.';
|
||||
$string['share'] = 'Share';
|
||||
$string['shareon'] = 'Share on {$a}';
|
||||
$string['shareonhub'] = 'Share on hub';
|
||||
$string['shareonmoodleorg'] = 'Share on Moodle.org';
|
||||
$string['shareonspecifichub'] = 'Share on a specific hub';
|
||||
$string['share'] = 'Publish as downloadable';
|
||||
$string['shareon'] = 'Publish as downloadable on {$a}';
|
||||
$string['shareonhub'] = 'Publish as downloadable on hub';
|
||||
$string['shareonmoodleorg'] = 'Publish as downloadable on Moodle.org';
|
||||
$string['shareonspecifichub'] = 'Publish as downloadable on a specific hub';
|
||||
$string['siteadmin'] = 'Administrator';
|
||||
$string['sitecreated'] = 'Site created';
|
||||
$string['sitedesc'] = 'Description';
|
||||
|
Loading…
x
Reference in New Issue
Block a user