From 3bb24ad716ef0c5f8500925539c33c6776fc9c15 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 19 Jan 2012 16:19:18 +0100 Subject: [PATCH] Fixing wrong lang variable --- main/install/db_main.sql | 2 +- main/install/migrate-db-1.8.8-1.9.0-pre.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/install/db_main.sql b/main/install/db_main.sql index c18d620d9f..d9d356eae3 100644 --- a/main/install/db_main.sql +++ b/main/install/db_main.sql @@ -851,7 +851,7 @@ VALUES ('sessionadmin_autosubscribe', NULL, 'textfield', 'Platform', '', 'SessionadminAutosubscribeTitle', 'SessionadminAutosubscribeComment', NULL, NULL, 0), ('scorm_cumulative_session_time', NULL, 'radio', 'Course', 'true', 'ScormCumulativeSessionTimeTitle', 'ScormCumulativeSessionTimeComment', NULL, NULL, 0), ('allow_hr_skills_management', NULL, 'radio', 'Gradebook', 'true', 'AllowHRSkillsManagementTitle', 'AllowHRSkillsManagementComment', NULL, NULL, 1), -('enable_help_link', NULL, 'radio', 'Platform', 'true', 'EnableHelpLinkTitle', 'EnableHelpLinkTitle', NULL, NULL, 0), +('enable_help_link', NULL, 'radio', 'Platform', 'true', 'EnableHelpLinkTitle', 'EnableHelpLinkComment', NULL, NULL, 0), ('allow_teacher_change_gradebook_grading_model', NULL, 'radio', 'Gradebook', 'false', 'AllowTeacherChangeGradebookGradingModelTitle', 'AllowTeacherChangeGradebookGradingModelComment', NULL, NULL, 1), ('grading_model', 'grading_model', 'custom', 'Gradebook', 'false', 'GradingModelTitle', 'GradingModelComment', NULL, NULL, 1), ('allow_users_to_change_email_with_no_password', NULL, 'radio', 'User', 'false', 'AllowUsersToChangeEmailWithNoPasswordTitle', 'AllowUsersToChangeEmailWithNoPasswordComment', NULL, NULL, 0), diff --git a/main/install/migrate-db-1.8.8-1.9.0-pre.sql b/main/install/migrate-db-1.8.8-1.9.0-pre.sql index cfd3a01e5d..69a3208871 100755 --- a/main/install/migrate-db-1.8.8-1.9.0-pre.sql +++ b/main/install/migrate-db-1.8.8-1.9.0-pre.sql @@ -109,7 +109,7 @@ ALTER TABLE session_rel_course_rel_user ADD COLUMN legal_agreement INTEGER DEFAU ALTER TABLE course ADD COLUMN legal TEXT NOT NULL; ALTER TABLE course ADD COLUMN activate_legal INT NOT NULL DEFAULT 0; -INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable) VALUES ('enable_help_link', NULL, 'radio', 'Platform', 'true', 'EnableHelpLinkTitle', 'EnableHelpLinkTitle', NULL, NULL, 0); +INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable) VALUES ('enable_help_link', NULL, 'radio', 'Platform', 'true', 'EnableHelpLinkTitle', 'EnableHelpLinkComment', NULL, NULL, 0); INSERT INTO settings_options (variable, value, display_text) VALUES ('enable_help_link', 'true', 'Yes'); INSERT INTO settings_options (variable, value, display_text) VALUES ('enable_help_link', 'false', 'No');