]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-16384, add text to descripe what is alfresco API url is"
authordongsheng <dongsheng>
Mon, 8 Jun 2009 06:36:38 +0000 (06:36 +0000)
committerdongsheng <dongsheng>
Mon, 8 Jun 2009 06:36:38 +0000 (06:36 +0000)
lang/en_utf8/repository_alfresco.php
repository/alfresco/repository.class.php

index 80e5a7fa118d4fa7906ee81a60f82acb1a22189b..a8f2edfc8eff3f755123ecef2621019ac9f1c80b 100644 (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';
index cc3d9d512f208115a27fbd6ac091f10b7895c0cb..bfdada5573567ef420430e6674740c2e30ec1279 100755 (executable)
@@ -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;
     }