"MDL-16384, add text to descripe what is alfresco API url is"
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
$string['alfresco_url'] = 'Alfresco URL';
|
||||
$string['alfrescourltext'] = 'Afresco API url should be: http://yoursite.com/alfresco/api';
|
||||
$string['configplugin'] = 'Alfresco configuration';
|
||||
$string['notitle'] = 'notitle';
|
||||
$string['repositoryname'] = 'Alfresco repository';
|
||||
|
||||
@@ -191,6 +191,7 @@ class repository_alfresco extends repository {
|
||||
return false;
|
||||
}
|
||||
$mform->addElement('text', 'alfresco_url', get_string('alfresco_url', 'repository_alfresco'), array('size' => '40'));
|
||||
$mform->addElement('static', 'alfreco_url_intro', '', get_string('alfrescourltext', 'repository_alfresco'));
|
||||
$mform->addRule('alfresco_url', get_string('required'), 'required', null, 'client');
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user