Browse Source

[svn r22178] changed language variable - (partial FS#4337)

Isaac Flores 15 years ago
parent
commit
6fba54a8cb
2 changed files with 6 additions and 6 deletions
  1. 3 3
      main/install/dokeos_main.sql
  2. 3 3
      main/install/migrate-db-1.8.6-1.8.6.1-pre.sql

+ 3 - 3
main/install/dokeos_main.sql

@@ -2136,6 +2136,6 @@ INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_use_
 ALTER TABLE language ADD COLUMN parent_id tinyint unsigned;
 ALTER TABLE language ADD INDEX idx_dokeos_folder(dokeos_folder);
 INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('show_glossary_in_documents', NULL, 'radio', 'Course', 'none', 'ShowGlossaryInDocumentsTitle', 'ShowGlossaryInDocumentsComment', NULL, NULL);
-INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'none', 'None');
-INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'ismanual', 'IsManual');
-INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'isautomatic', 'IsAutomatic');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'none', 'ShowGlossaryInDocumentsIsNone');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'ismanual', 'ShowGlossaryInDocumentsIsManual');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'isautomatic', 'ShowGlossaryInDocumentsIsAutomatic');

+ 3 - 3
main/install/migrate-db-1.8.6-1.8.6.1-pre.sql

@@ -18,9 +18,9 @@ INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_use_
 ALTER TABLE language ADD COLUMN parent_id tinyint unsigned;
 ALTER TABLE language ADD INDEX idx_dokeos_folder(dokeos_folder);
 INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('show_glossary_in_documents', NULL, 'radio', 'Course', 'none', 'ShowGlossaryInDocumentsTitle', 'ShowGlossaryInDocumentsComment', NULL, NULL);
-INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'none', 'None');
-INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'ismanual', 'IsManual');
-INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'isautomatic', 'IsAutomatic');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'none', 'ShowGlossaryInDocumentsIsNone');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'ismanual', 'ShowGlossaryInDocumentsIsManual');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('show_glossary_in_documents', 'isautomatic', 'ShowGlossaryInDocumentsIsAutomatic');
 -- xxSTATSxx
 
 -- xxUSERxx