Index: lams_common/db/sql/insert_types_data.sql =================================================================== diff -u -r9d9441a26b733d58c8a7702a7ff686bce16c074a -recb723e58ef77711cca841ce0477febd6647891e --- lams_common/db/sql/insert_types_data.sql (.../insert_types_data.sql) (revision 9d9441a26b733d58c8a7702a7ff686bce16c074a) +++ lams_common/db/sql/insert_types_data.sql (.../insert_types_data.sql) (revision ecb723e58ef77711cca841ce0477febd6647891e) @@ -265,6 +265,8 @@ VALUES (24, 'ja', 'JP', '日本語', 'LTR', 'ja'); INSERT INTO lams_supported_locale (locale_id, language_iso_code, country_iso_code, description, direction, fckeditor_code) VALUES (25, 'ms', 'MY', 'Malay (Malaysia)', 'LTR', 'ms'); +INSERT INTO lams_supported_locale (locale_id, language_iso_code, country_iso_code, description, direction, fckeditor_code) +VALUES (26, 'tr', 'TR', 'Turkish (Turkey)', 'LTR', 'tr'); -- which current tool supports the old 1.0.x tools? INSERT INTO lams_tool_import_support VALUES (1, 'lafrum11', 'messageboard'); Index: lams_common/db/sql/shaun/all.sql =================================================================== diff -u -rcb8c649361bb989ea14d7939eca7588984877476 -recb723e58ef77711cca841ce0477febd6647891e --- lams_common/db/sql/shaun/all.sql (.../all.sql) (revision cb8c649361bb989ea14d7939eca7588984877476) +++ lams_common/db/sql/shaun/all.sql (.../all.sql) (revision ecb723e58ef77711cca841ce0477febd6647891e) @@ -621,4 +621,29 @@ INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (220,79,5); INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (221,79,2); + +-- tr_TR +-- need a new workspace_id and the name changes for each user. +insert into lams_workspace_folder(workspace_folder_id,parent_folder_id,name,user_id,create_date_time,last_modified_date_time,lams_workspace_folder_type_id) +values(36,null,'Malay Workspace',36,now(),now(),1); +insert into lams_workspace (workspace_id, default_fld_id, name) values (36,36,'Turkish Test'); + +insert into lams_user(user_id,login,password,title,first_name,last_name,address_line_1,address_line_2,address_line_3,city,state,country, +day_phone,evening_phone,mobile_phone,fax,email,disabled_flag,create_date,authentication_method_id,workspace_id, flash_theme_id,html_theme_id,locale_id) +values(36,'turkish','turkish','Dr','Turkish','Test','36','Turkish Ave',null,'Ankara',null,'Turkey', +'0211111111','0211111112','0411111111','0211111113','turkish@example.com',0,'20041223',1,36,1,2,26); + +-- need a new user_organisation_id for each row, user_id must match user_id created in the lams_user +-- belongs to course Playpen, Class Everybody +INSERT INTO lams_user_organisation (user_organisation_id, organisation_id, user_id) VALUES (80, 2, 36); +INSERT INTO lams_user_organisation (user_organisation_id, organisation_id, user_id) VALUES (81, 3, 36); + +-- need a new user_organisation_role_id for each row, use the same role_ids (3,5,2) for author, learner, teacher +INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (222,80,3); +INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (223,80,5); +INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (224,80,2); +INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (225,81,4); +INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (226,81,5); +INSERT INTO lams_user_organisation_role (user_organisation_role_id, user_organisation_id, role_id) VALUES (227,81,2); + update lams_user set password=SHA1(password) where user_id>8;