-- After the database schema is created, the database is filled -- with default values. INSERT INTO language (original_name, english_name, isocode, available) VALUES ('العربية','arabic','ar',0), ('Asturianu','asturian','ast',0), ('Euskara','basque','eu',1), ('বাংলা','bengali','bn',0), ('Bosanski','bosnian','bs',1), ('Português do Brasil','brazilian','pt-BR',1), ('Български','bulgarian','bg',1), ('Català','catalan','ca',0), ('Hrvatski','croatian','hr',0), ('Česky','czech','cs',0), ('Dansk','danish','da',0), ('دری','dari','prs',0), ('Nederlands','dutch','nl',1), ('English','english','en',1), ('Esperanto','esperanto','eo',0), ('Føroyskt', 'faroese', 'fo', 0), ('Suomi','finnish','fi',0), ('Français','french','fr',1), ('Furlan','friulian','fur',0), ('Galego','galician','gl',1), ('ქართული','georgian','ka',0), ('Deutsch','german','de',1), ('Ελληνικά','greek','el',1), ('עברית','hebrew','he',0), ('हिन्दी','hindi','hi',0), ('Magyar','hungarian','hu',1), ('Bahasa Indonesia','indonesian','id',1), ('Italiano','italian','it',1), ('日本語','japanese','ja',0), ('한국어','korean','ko',0), ('Latviešu','latvian','lv',1), ('Lietuvių','lithuanian','lt',0), ('Македонски','macedonian','mk',0), ('Bahasa Melayu','malay','ms',0), ('Norsk','norwegian','no',0), ('Occitan','occitan','oc',0), ('پښتو','pashto','ps',0), ('فارسی','persian','fa',0), ('Polski','polish','pl',1), ('Português europeu','portuguese','pt',1), ('Runasimi','quechua_cusco','qu',0), ('Română','romanian','ro',0), ('Русский','russian','ru',0), ('Srpski','serbian','sr',0), ('中文(简体)','simpl_chinese','zh',0), ('Slovenčina','slovak','sk',1), ('Slovenščina','slovenian','sl',1), ('الصومالية','somali','so',0), ('Español','spanish','es',1), ('Kiswahili','swahili','sw',0), ('Svenska','swedish','sv',0), ('Tagalog', 'tagalog', 'tl', 1), ('ไทย','thai','th',0), ('Tibetan', 'tibetan', 'bo', 0), ('繁體中文','trad_chinese','zh-TW',0), ('Türkçe','turkish','tr',0), ('Українська','ukrainian','uk',0), ('Tiếng Việt','vietnamese','vi',0), ('isiXhosa', 'xhosa', 'xh', 0), ('Yorùbá','yoruba','yo',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 (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'legal_accept','Legal',0,0, NOW()); INSERT INTO extra_field (item_type, value_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 (item_type, value_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 (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 10, 'tags','tags',0,0, NOW()); INSERT INTO extra_field (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'rssfeeds','RSS',0,0, NOW()); INSERT INTO extra_field (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 1, 'dashboard', 'Dashboard', 0, 0, NOW()); INSERT INTO extra_field (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (1, 11, 'timezone', 'Timezone', 0, 0, NOW()); INSERT INTO extra_field (item_type, value_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 (item_type, value_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 (item_type, value_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 (item_type, value_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 (item_type, value_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 (item_type, value_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 (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (2, 10, 'tags', 'Tags', 1, 1, NOW()); INSERT INTO extra_field (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (2, 19, 'video_url', 'VideoUrl', 1, 1, NOW()); INSERT INTO extra_field (item_type, value_type, variable, display_text, visible_to_self, changeable, created_at) VALUES (3, 16, 'image', 'Image', 1, 1, NOW()); INSERT INTO extra_field (item_type, value_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 ![]() ![]() |
![]() |
![]() |
||
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 |
|
![]() |
![]() |
|
|
|
|