-- After the database schema is created, the database is filled -- with default values. INSERT INTO language (original_name, english_name, isocode, dokeos_folder, available) VALUES ('العربية','arabic','ar','arabic',0), ('Asturianu','asturian','ast','asturian',0), ('Euskara','basque','eu','basque',1), ('বাংলা','bengali','bn','bengali',0), ('Bosanski','bosnian','bs','bosnian',1), ('Português do Brasil','brazilian','pt-BR','brazilian',1), ('Български','bulgarian','bg','bulgarian',1), ('Català','catalan','ca','catalan',0), ('Hrvatski','croatian','hr','croatian',0), ('Česky','czech','cs','czech',0), ('Dansk','danish','da','danish',0), ('دری','dari','prs','dari',0), ('Nederlands','dutch','nl','dutch',1), ('English','english','en','english',1), ('Esperanto','esperanto','eo','esperanto',0), ('Føroyskt', 'faroese', 'fo', 'faroese', 0), ('Suomi','finnish','fi','finnish',0), ('Français','french','fr','french',1), ('Furlan','friulian','fur','friulian',0), ('Galego','galician','gl','galician',1), ('ქართული','georgian','ka','georgian',0), ('Deutsch','german','de','german',1), ('Ελληνικά','greek','el','greek',1), ('עברית','hebrew','he','hebrew',0), ('हिन्दी','hindi','hi','hindi',0), ('Magyar','hungarian','hu','hungarian',1), ('Bahasa Indonesia','indonesian','id','indonesian',1), ('Italiano','italian','it','italian',1), ('日本語','japanese','ja','japanese',0), ('한국어','korean','ko','korean',0), ('Latviešu','latvian','lv','latvian',1), ('Lietuvių','lithuanian','lt','lithuanian',0), ('Македонски','macedonian','mk','macedonian',0), ('Bahasa Melayu','malay','ms','malay',0), ('Norsk','norwegian','no','norwegian',0), ('Occitan','occitan','oc','occitan',0), ('پښتو','pashto','ps','pashto',0), ('فارسی','persian','fa','persian',0), ('Polski','polish','pl','polish',1), ('Português europeu','portuguese','pt','portuguese',1), ('Runasimi','quechua_cusco','qu','quechua_cusco',0), ('Română','romanian','ro','romanian',0), ('Русский','russian','ru','russian',0), ('Srpski','serbian','sr','serbian',0), ('中文(简体)','simpl_chinese','zh','simpl_chinese',0), ('Slovenčina','slovak','sk','slovak',1), ('Slovenščina','slovenian','sl','slovenian',1), ('الصومالية','somali','so','somali',0), ('Español','spanish','es','spanish',1), ('Kiswahili','swahili','sw','swahili',0), ('Svenska','swedish','sv','swedish',0), ('Tagalog', 'tagalog', 'tl', 'tagalog',1), ('ไทย','thai','th','thai',0), ('Tibetan', 'tibetan', 'bo', 'tibetan', 0), ('繁體中文','trad_chinese','zh-TW','trad_chinese',0), ('Türkçe','turkish','tr','turkish',0), ('Українська','ukrainian','uk','ukrainian',0), ('Tiếng Việt','vietnamese','vi','vietnamese',0), ('isiXhosa', 'xhosa', 'xh', 'xhosa', 0), ('Yorùbá','yoruba','yo','yoruba',0); -- Set parent language to Spanish for all close-by languages, same for Italian, French, Portuguese and Chinese UPDATE language SET parent_id = 49 WHERE english_name = 'quechua_cusco'; UPDATE language SET parent_id = 49 WHERE english_name = 'galician'; UPDATE language SET parent_id = 49 WHERE english_name = 'esperanto'; UPDATE language SET parent_id = 49 WHERE english_name = 'catalan'; UPDATE language SET parent_id = 49 WHERE english_name = 'asturian'; UPDATE language SET parent_id = 28 WHERE english_name = 'friulian'; UPDATE language SET parent_id = 18 WHERE english_name = 'occitan'; UPDATE language SET parent_id = 40 WHERE english_name = 'brazilian'; UPDATE language SET parent_id = 45 WHERE english_name = 'trad_chinese'; INSERT INTO course_category (name, code, parent_id, tree_pos, children_count, auth_course_child, auth_cat_child) VALUES ('Language skills','LANG',NULL,1,0,'TRUE','TRUE'), ('PC Skills','PC',NULL,2,0,'TRUE','TRUE'), ('Projects','PROJ',NULL,3,0,'TRUE','TRUE'); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'legal_accept','Legal',0,0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'already_logged_in','Already logged in',0,0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'update_type','Update script type',0,0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 10, 'tags','tags',0,0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'rssfeeds','RSS',0,0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'dashboard', 'Dashboard', 0, 0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 11, 'timezone', 'Timezone', 0, 0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, default_value, created_at) values (1, 4, 'mail_notify_invitation', 'MailNotifyInvitation',0,1,'1', NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, default_value, created_at) values (1, 4, 'mail_notify_message', 'MailNotifyMessage',0,1,'1', NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, default_value, created_at) values (1, 4, 'mail_notify_group_message','MailNotifyGroupMessage',0,1,'1', NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'user_chat_status','User chat status',0,0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'google_calendar_url','Google Calendar URL',0,0, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, default_value, created_at) VALUES (2, 13, 'special_course', 'Special course', 1 , 1, '', NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (2, 10, 'tags', 'Tags', 1, 1, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (2, 19, 'video_url', 'VideoUrl', 1, 1, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (3, 16, 'image', 'Image', 1, 1, NOW()); INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'captcha_blocked_until_date', 'Account locked until', 0, 0, NOW()); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (8, '1', 'AtOnce',1); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (8, '8', 'Daily',2); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (8, '0', 'No',3); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (9, '1', 'AtOnce',1); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (9, '8', 'Daily',2); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (9, '0', 'No',3); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (10, '1', 'AtOnce',1); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (10, '8', 'Daily',2); INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (10, '0', 'No',3); -- Adding the platform templates INSERT INTO system_template (title, comment, image, content) VALUES ('TemplateTitleCourseTitle', 'TemplateTitleCourseTitleDescription', 'coursetitle.gif', '
{CSS}
TITULUS 1
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis pellentesque. |
|
|
Lorem ipsum dolor sit amet. | |
Vivamus
a quam. |
|
Proin a est stibulum ante ipsum. |
|
||
Lorem ipsum dolor sit amet. | Convallis ut. Cras dui magna. | |
Vivamus
a quam. |
Etiam
lacinia stibulum ante. |
|
Proin a est stibulum ante ipsum. |
Consectetuer
adipiscing elit. |
Convallis ut. Cras dui magna. | |
Etiam
lacinia. |
|
Consectetuer
adipiscing elit. |
Etiam lacinia stibulum ante. Convallis ut. Cras dui magna. |
|
Lorem ipsum dolor sit amet Ut enim ad minim veniam Duis aute irure dolor in reprehenderit Neque porro quisquam est |
|
Lorem ipsum | Sed ut perspiciatis | |
|
|
|
Lorem ipsum | Perspiciatis | Nemo enim | ||
|
|
|
City | 2005 | 2006 | 2007 | 2008 |
Lima | 10,40 | 8,95 | 9,19 | 9,76 |
New York | 18,39 | 17,52 | 16,57 | 16,60 |
Barcelona | 0,10 | 0,10 | 0,05 | 0,05 |
Paris | 3,38 | 3,63 | 3,63 | 3,54 |
|
|
|
|
|
|
|