diff --git a/constants.php b/constants.php
index 405d311..bcc7c96 100644
--- a/constants.php
+++ b/constants.php
@@ -23,8 +23,11 @@
*
*/
-define("GROUP_HELP_CENTER_LINK", "https://support.kialo-edu.com/en/hc/moodle/#using-the-kialo-plugin-with-moodle-group-mode");
-define("PLUGIN_RELEASE_EMAIL_NOTIFICATION_LINK", "https://fh6m79pud11.typeform.com/to/cYurgy84");
-define("TERMS_LINK", "https://www.kialo-edu.com/terms");
-define("PRIVACY_LINK", "https://www.kialo-edu.com/privacy");
-define("DATA_SECURITY_LINK", "https://support.kialo-edu.com/en/hc/kialo-edu-data-security-and-privacy-plan/");
+define(
+ "MOD_KIALO_GROUP_HELP_CENTER_LINK",
+ "https://support.kialo-edu.com/en/hc/moodle/#using-the-kialo-plugin-with-moodle-group-mode"
+);
+define("MOD_KIALO_PLUGIN_RELEASE_EMAIL_NOTIFICATION_LINK", "https://fh6m79pud11.typeform.com/to/cYurgy84");
+define("MOD_KIALO_TERMS_LINK", "https://www.kialo-edu.com/terms");
+define("MOD_KIALO_PRIVACY_LINK", "https://www.kialo-edu.com/privacy");
+define("MOD_KIALO_DATA_SECURITY_LINK", "https://support.kialo-edu.com/en/hc/kialo-edu-data-security-and-privacy-plan/");
diff --git a/lang/en/kialo.php b/lang/en/kialo.php
index 824d17f..18fcdde 100644
--- a/lang/en/kialo.php
+++ b/lang/en/kialo.php
@@ -48,9 +48,8 @@
$string['errors:noguestaccess'] = "Guests cannot access this activity. Please log in.";
$string['errors:nopermissiontoview'] = "You do not have permission to view this activity.";
$string['errors:resourcelink'] = "Activity cannot be displayed due to an unexpected error. Please try again.";
-$string['groupmode_off_info'] = 'Please note that Moodle groups are currently not automatically supported. (More info)';
+$string['groupmode_off_info'] = 'Please note that Moodle groups are currently not automatically supported. (More info)';
$string['groupmode_on_warning'] = 'Moodle groups are currently not automatically supported. If you use the Kialo Moodle Plugin with a course that has multiple groups, all groups will find themselves in the same Kialo discussion.
To manually set up Kialo discussions for each of your groups, please follow the instructions in our help center.
We will release automatic Moodle groups support in Q1 2024. Submit your email address to be notified when it is released.';
-$string['hello'] = 'Hello World!';
$string['kialo:addinstance'] = 'Add a new Kialo Discussion';
$string['kialo:kialo_admin'] = 'Granted Admin rights in Kialo discussions';
$string['kialo:view'] = 'View Kialo discussions';
@@ -79,3 +78,5 @@
$string['select_discussion'] = 'Select Discussion';
$string['select_discussion_help'] = 'Opens Kialo in a new tab to select a discussion for this activity. You can create a Kialo account during this process if you don’t already have one.';
$string['termsnotaccepted'] = 'You have to accept Kialo’s Terms of Service before you can enable the Kialo plugin.';
+$string['information_helptext'] = 'Information';
+$string['warning_helptext'] = 'Warning';
diff --git a/mod_form.php b/mod_form.php
index b06db65..f485fed 100644
--- a/mod_form.php
+++ b/mod_form.php
@@ -63,17 +63,19 @@ public function definition() {
$mform = $this->_form;
// Kialo does not support group mode yet. Show a warning if it is enabled, otherwise show an info.
if (groups_get_course_groupmode($COURSE) == NOGROUPS) {
- $text = '';
+ $text = '';
$text .= get_string("groupmode_off_info", "mod_kialo", [
- "grouphelpcenterlink" => GROUP_HELP_CENTER_LINK,
+ "grouphelpcenterlink" => MOD_KIALO_GROUP_HELP_CENTER_LINK,
]);
} else {
- $text = '';
+ $text = '';
$text .= get_string("groupmode_on_warning", "mod_kialo", [
- "grouphelpcenterlink" => GROUP_HELP_CENTER_LINK,
- "pluginreleaseemailnotificationlink" => PLUGIN_RELEASE_EMAIL_NOTIFICATION_LINK,
+ "grouphelpcenterlink" => MOD_KIALO_GROUP_HELP_CENTER_LINK,
+ "pluginreleaseemailnotificationlink" => MOD_KIALO_PLUGIN_RELEASE_EMAIL_NOTIFICATION_LINK,
]);
}
$text = "