aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/forms.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/forms.php b/classes/forms.php
index d6402cc..9a7d6a1 100644
--- a/classes/forms.php
+++ b/classes/forms.php
@@ -87,6 +87,12 @@ class service_edit_form extends moodleform {
$mform->setDefault("enable", 1);
$mform->setAdvanced("enable");
+ /* Token */
+ $mform->addElement("text", "token",
+ new lang_string("token", "webservice"),
+ array("size" => 60));
+ $mform->setType("token", PARAM_NOTAGS);
+
/* Form heading */
$mform->addElement("header", "editserviceheaderevent",
new lang_string("edulevel", "moodle"));