"MDL-16384, add text to descripe what is alfresco API url is"

This commit is contained in:
dongsheng
2009-06-08 06:36:38 +00:00
parent 761265adab
commit 2b70aa5152
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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';
+1
View File
@@ -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;
}