data.sql 119 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800
  1. -- After the database schema is created, the database is filled
  2. -- with default values.
  3. INSERT INTO settings_current
  4. (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable)
  5. VALUES
  6. ('Institution',NULL,'textfield','Platform','{ORGANISATIONNAME}','InstitutionTitle','InstitutionComment','platform',NULL, 1),
  7. ('InstitutionUrl',NULL,'textfield','Platform','{ORGANISATIONURL}','InstitutionUrlTitle','InstitutionUrlComment',NULL,NULL, 1),
  8. ('siteName',NULL,'textfield','Platform','{CAMPUSNAME}','SiteNameTitle','SiteNameComment',NULL,NULL, 1),
  9. ('emailAdministrator',NULL,'textfield','Platform','{ADMINEMAIL}','emailAdministratorTitle','emailAdministratorComment',NULL,NULL, 1),
  10. ('administratorSurname',NULL,'textfield','Platform','{ADMINLASTNAME}','administratorSurnameTitle','administratorSurnameComment',NULL,NULL, 1),
  11. ('administratorName',NULL,'textfield','Platform','{ADMINFIRSTNAME}','administratorNameTitle','administratorNameComment',NULL,NULL, 1),
  12. ('show_administrator_data',NULL,'radio','Platform','true','ShowAdministratorDataTitle','ShowAdministratorDataComment',NULL,NULL, 1),
  13. ('show_tutor_data',NULL,'radio','Session','true','ShowTutorDataTitle','ShowTutorDataComment',NULL,NULL, 1),
  14. ('show_teacher_data',NULL,'radio','Platform','true','ShowTeacherDataTitle','ShowTeacherDataComment',NULL,NULL, 1),
  15. ('homepage_view',NULL,'radio','Course','activity_big','HomepageViewTitle','HomepageViewComment',NULL,NULL, 1),
  16. ('show_toolshortcuts',NULL,'radio','Course','false','ShowToolShortcutsTitle','ShowToolShortcutsComment',NULL,NULL, 0),
  17. ('allow_group_categories',NULL,'radio','Course','false','AllowGroupCategories','AllowGroupCategoriesComment',NULL,NULL, 0),
  18. ('server_type',NULL,'radio','Platform','production','ServerStatusTitle','ServerStatusComment',NULL,NULL, 0),
  19. ('platformLanguage',NULL,'link','Languages','{PLATFORMLANGUAGE}','PlatformLanguageTitle','PlatformLanguageComment',NULL,NULL, 0),
  20. ('showonline','world','checkbox','Platform','true','ShowOnlineTitle','ShowOnlineComment',NULL,'ShowOnlineWorld', 0),
  21. ('showonline','users','checkbox','Platform','true','ShowOnlineTitle','ShowOnlineComment',NULL,'ShowOnlineUsers', 0),
  22. ('showonline','course','checkbox','Platform','true','ShowOnlineTitle','ShowOnlineComment',NULL,'ShowOnlineCourse', 0),
  23. ('profile','name','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'name', 0),
  24. ('profile','officialcode','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'officialcode', 0),
  25. ('profile','email','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'Email', 0),
  26. ('profile','picture','checkbox','User','true','ProfileChangesTitle','ProfileChangesComment',NULL,'UserPicture', 0),
  27. ('profile','login','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'Login', 0),
  28. ('profile','password','checkbox','User','true','ProfileChangesTitle','ProfileChangesComment',NULL,'UserPassword', 0),
  29. ('profile','language','checkbox','User','true','ProfileChangesTitle','ProfileChangesComment',NULL,'Language', 0),
  30. ('default_document_quotum',NULL,'textfield','Course','100000000','DefaultDocumentQuotumTitle','DefaultDocumentQuotumComment',NULL,NULL, 0),
  31. ('registration','officialcode','checkbox','User','false','RegistrationRequiredFormsTitle','RegistrationRequiredFormsComment',NULL,'OfficialCode', 0),
  32. ('registration','email','checkbox','User','true','RegistrationRequiredFormsTitle','RegistrationRequiredFormsComment',NULL,'Email', 0),
  33. ('registration','language','checkbox','User','true','RegistrationRequiredFormsTitle','RegistrationRequiredFormsComment',NULL,'Language', 0),
  34. ('default_group_quotum',NULL,'textfield','Course','5000000','DefaultGroupQuotumTitle','DefaultGroupQuotumComment',NULL,NULL, 0),
  35. ('allow_registration',NULL,'radio','Platform','{ALLOWSELFREGISTRATION}','AllowRegistrationTitle','AllowRegistrationComment',NULL,NULL, 0),
  36. ('allow_registration_as_teacher',NULL,'radio','Platform','{ALLOWTEACHERSELFREGISTRATION}','AllowRegistrationAsTeacherTitle','AllowRegistrationAsTeacherComment',NULL,NULL, 0),
  37. ('allow_lostpassword',NULL,'radio','Platform','true','AllowLostPasswordTitle','AllowLostPasswordComment',NULL,NULL, 0),
  38. ('allow_user_headings',NULL,'radio','Course','false','AllowUserHeadings','AllowUserHeadingsComment',NULL,NULL, 0),
  39. ('course_create_active_tools','course_description','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'CourseDescription', 0),
  40. ('course_create_active_tools','agenda','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Agenda', 0),
  41. ('course_create_active_tools','documents','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Documents', 0),
  42. ('course_create_active_tools','learning_path','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'LearningPath', 0),
  43. ('course_create_active_tools','links','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Links', 0),
  44. ('course_create_active_tools','announcements','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Announcements', 0),
  45. ('course_create_active_tools','forums','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Forums', 0),
  46. ('course_create_active_tools','dropbox','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Dropbox', 0),
  47. ('course_create_active_tools','quiz','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Quiz', 0),
  48. ('course_create_active_tools','users','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Users', 0),
  49. ('course_create_active_tools','groups','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Groups', 0),
  50. ('course_create_active_tools','chat','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Chat', 0),
  51. ('course_create_active_tools','online_conference','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'OnlineConference', 0),
  52. ('course_create_active_tools','student_publications','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'StudentPublications', 0),
  53. ('allow_personal_agenda',NULL,'radio','User','true','AllowPersonalAgendaTitle','AllowPersonalAgendaComment',NULL,NULL, 0),
  54. ('display_coursecode_in_courselist',NULL,'radio','Platform','false','DisplayCourseCodeInCourselistTitle','DisplayCourseCodeInCourselistComment',NULL,NULL, 0),
  55. ('display_teacher_in_courselist',NULL,'radio','Platform','true','DisplayTeacherInCourselistTitle','DisplayTeacherInCourselistComment',NULL,NULL, 0),
  56. ('permanently_remove_deleted_files',NULL,'radio','Tools','false','PermanentlyRemoveFilesTitle','PermanentlyRemoveFilesComment',NULL,NULL, 0),
  57. ('dropbox_allow_overwrite',NULL,'radio','Tools','true','DropboxAllowOverwriteTitle','DropboxAllowOverwriteComment',NULL,NULL, 0),
  58. ('dropbox_max_filesize',NULL,'textfield','Tools','100000000','DropboxMaxFilesizeTitle','DropboxMaxFilesizeComment',NULL,NULL, 0),
  59. ('dropbox_allow_just_upload',NULL,'radio','Tools','true','DropboxAllowJustUploadTitle','DropboxAllowJustUploadComment',NULL,NULL, 0),
  60. ('dropbox_allow_student_to_student',NULL,'radio','Tools','true','DropboxAllowStudentToStudentTitle','DropboxAllowStudentToStudentComment',NULL,NULL, 0),
  61. ('dropbox_allow_group',NULL,'radio','Tools','true','DropboxAllowGroupTitle','DropboxAllowGroupComment',NULL,NULL, 0),
  62. ('dropbox_allow_mailing',NULL,'radio','Tools','false','DropboxAllowMailingTitle','DropboxAllowMailingComment',NULL,NULL, 0),
  63. ('administratorTelephone',NULL,'textfield','Platform','(000) 001 02 03','administratorTelephoneTitle','administratorTelephoneComment',NULL,NULL, 1),
  64. ('extended_profile',NULL,'radio','User','false','ExtendedProfileTitle','ExtendedProfileComment',NULL,NULL, 0),
  65. ('student_view_enabled',NULL,'radio','Platform','true','StudentViewEnabledTitle','StudentViewEnabledComment',NULL,NULL, 0),
  66. ('show_navigation_menu',NULL,'radio','Course','false','ShowNavigationMenuTitle','ShowNavigationMenuComment',NULL,NULL, 0),
  67. ('enable_tool_introduction',NULL,'radio','course','false','EnableToolIntroductionTitle','EnableToolIntroductionComment',NULL,NULL, 0),
  68. ('page_after_login', NULL, 'radio','Platform','user_portal.php', 'PageAfterLoginTitle','PageAfterLoginComment', NULL, NULL, 0),
  69. ('time_limit_whosonline', NULL, 'textfield','Platform','30', 'TimeLimitWhosonlineTitle','TimeLimitWhosonlineComment', NULL, NULL, 0),
  70. ('breadcrumbs_course_homepage', NULL, 'radio','Course','course_title', 'BreadCrumbsCourseHomepageTitle','BreadCrumbsCourseHomepageComment', NULL, NULL, 0),
  71. ('example_material_course_creation', NULL, 'radio','Platform','true', 'ExampleMaterialCourseCreationTitle','ExampleMaterialCourseCreationComment', NULL, NULL, 0),
  72. ('account_valid_duration',NULL, 'textfield','Platform','3660', 'AccountValidDurationTitle','AccountValidDurationComment', NULL, NULL, 0),
  73. ('use_session_mode', NULL, 'radio','Session','true', 'UseSessionModeTitle','UseSessionModeComment', NULL, NULL, 0),
  74. ('allow_email_editor', NULL, 'radio', 'Tools', 'false', 'AllowEmailEditorTitle', 'AllowEmailEditorComment', NULL, NULL, 0),
  75. ('registered', NULL, 'textfield', NULL, 'false', NULL, NULL, NULL, NULL, 0),
  76. ('donotlistcampus', NULL, 'textfield', NULL, 'false', NULL, NULL, NULL, NULL,0 ),
  77. ('show_email_addresses', NULL,'radio','Platform','false','ShowEmailAddresses','ShowEmailAddressesComment',NULL,NULL, 1),
  78. ('profile','phone','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'phone', 0),
  79. ('service_visio', 'active', 'radio',NULL,'false', 'VisioEnable','', NULL, NULL, 0),
  80. ('service_visio', 'visio_host', 'textfield',NULL,'', 'VisioHost','', NULL, NULL, 0),
  81. ('service_visio', 'visio_port', 'textfield',NULL,'1935', 'VisioPort','', NULL, NULL, 0),
  82. ('service_visio', 'visio_pass', 'textfield',NULL,'', 'VisioPassword','', NULL, NULL, 0),
  83. ('service_ppt2lp', 'active', 'radio',NULL,'false', 'ppt2lp_actived','', NULL, NULL, 0),
  84. ('service_ppt2lp', 'host', 'textfield', NULL, NULL, 'Host', NULL, NULL, NULL, 0),
  85. ('service_ppt2lp', 'port', 'textfield', NULL, 2002, 'Port', NULL, NULL, NULL, 0),
  86. ('service_ppt2lp', 'user', 'textfield', NULL, NULL, 'UserOnHost', NULL, NULL, NULL, 0),
  87. ('service_ppt2lp', 'ftp_password', 'textfield', NULL, NULL, 'FtpPassword', NULL, NULL, NULL, 0),
  88. ('service_ppt2lp', 'path_to_lzx', 'textfield', NULL, NULL, '', NULL, NULL, NULL, 0),
  89. ('service_ppt2lp', 'size', 'radio', NULL, '720x540', '', NULL, NULL, NULL, 0),
  90. ('stylesheets', NULL, 'textfield','stylesheets','chamilo','',NULL, NULL, NULL, 1),
  91. ('upload_extensions_list_type', NULL, 'radio', 'Security', 'blacklist', 'UploadExtensionsListType', 'UploadExtensionsListTypeComment', NULL, NULL, 0),
  92. ('upload_extensions_blacklist', NULL, 'textfield', 'Security', '', 'UploadExtensionsBlacklist', 'UploadExtensionsBlacklistComment', NULL, NULL, 0),
  93. ('upload_extensions_whitelist', NULL, 'textfield', 'Security', 'htm;html;jpg;jpeg;gif;png;swf;avi;mpg;mpeg;mov;flv;doc;docx;xls;xlsx;ppt;pptx;odt;odp;ods;pdf', 'UploadExtensionsWhitelist', 'UploadExtensionsWhitelistComment', NULL, NULL, 0),
  94. ('upload_extensions_skip', NULL, 'radio', 'Security', 'true', 'UploadExtensionsSkip', 'UploadExtensionsSkipComment', NULL, NULL, 0),
  95. ('upload_extensions_replace_by', NULL, 'textfield', 'Security', 'dangerous', 'UploadExtensionsReplaceBy', 'UploadExtensionsReplaceByComment', NULL, NULL, 0),
  96. ('show_number_of_courses', NULL, 'radio','Platform','false', 'ShowNumberOfCourses','ShowNumberOfCoursesComment', NULL, NULL, 0),
  97. ('show_empty_course_categories', NULL, 'radio','Platform','true', 'ShowEmptyCourseCategories','ShowEmptyCourseCategoriesComment', NULL, NULL, 0),
  98. ('show_back_link_on_top_of_tree', NULL, 'radio','Platform','false', 'ShowBackLinkOnTopOfCourseTree','ShowBackLinkOnTopOfCourseTreeComment', NULL, NULL, 0),
  99. ('show_different_course_language', NULL, 'radio','Platform','true', 'ShowDifferentCourseLanguage','ShowDifferentCourseLanguageComment', NULL, NULL, 1),
  100. ('split_users_upload_directory', NULL, 'radio','Tuning','true', 'SplitUsersUploadDirectory','SplitUsersUploadDirectoryComment', NULL, NULL, 0),
  101. ('hide_dltt_markup', NULL, 'radio','Languages','true', 'HideDLTTMarkup','HideDLTTMarkupComment', NULL, NULL, 0),
  102. ('display_categories_on_homepage',NULL,'radio','Platform','false','DisplayCategoriesOnHomepageTitle','DisplayCategoriesOnHomepageComment',NULL,NULL, 1),
  103. ('permissions_for_new_directories', NULL, 'textfield', 'Security', '0777', 'PermissionsForNewDirs', 'PermissionsForNewDirsComment', NULL, NULL, 0),
  104. ('permissions_for_new_files', NULL, 'textfield', 'Security', '0666', 'PermissionsForNewFiles', 'PermissionsForNewFilesComment', NULL, NULL, 0),
  105. ('show_tabs', 'campus_homepage', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsCampusHomepage', 1),
  106. ('show_tabs', 'my_courses', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsMyCourses', 1),
  107. ('show_tabs', 'reporting', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsReporting', 1),
  108. ('show_tabs', 'platform_administration', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsPlatformAdministration', 1),
  109. ('show_tabs', 'my_agenda', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsMyAgenda', 1),
  110. ('show_tabs', 'my_profile', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsMyProfile', 1),
  111. ('default_forum_view', NULL, 'radio', 'Course', 'flat', 'DefaultForumViewTitle','DefaultForumViewComment',NULL,NULL, 0),
  112. ('platform_charset',NULL,'textfield','Languages','UTF-8','PlatformCharsetTitle','PlatformCharsetComment','platform',NULL, 0),
  113. ('noreply_email_address', '', 'textfield', 'Platform', '', 'NoReplyEmailAddress', 'NoReplyEmailAddressComment', NULL, NULL, 0),
  114. ('survey_email_sender_noreply', '', 'radio', 'Course', 'coach', 'SurveyEmailSenderNoReply', 'SurveyEmailSenderNoReplyComment', NULL, NULL, 0),
  115. ('openid_authentication',NULL,'radio','Security','false','OpenIdAuthentication','OpenIdAuthenticationComment',NULL,NULL, 0),
  116. ('profile','openid','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'OpenIDURL', 0),
  117. ('gradebook_enable',NULL,'radio','Gradebook','false','GradebookActivation','GradebookActivationComment',NULL,NULL, 0),
  118. ('show_tabs','my_gradebook','checkbox','Platform','true','ShowTabsTitle','ShowTabsComment',NULL,'TabsMyGradebook', 1),
  119. ('gradebook_score_display_coloring','my_display_coloring','checkbox','Gradebook','false','GradebookScoreDisplayColoring','GradebookScoreDisplayColoringComment',NULL,'TabsGradebookEnableColoring', 0),
  120. ('gradebook_score_display_custom','my_display_custom','checkbox','Gradebook','false','GradebookScoreDisplayCustom','GradebookScoreDisplayCustomComment',NULL,'TabsGradebookEnableCustom', 0),
  121. ('gradebook_score_display_colorsplit',NULL,'textfield','Gradebook','50','GradebookScoreDisplayColorSplit','GradebookScoreDisplayColorSplitComment',NULL,NULL, 0),
  122. ('gradebook_score_display_upperlimit','my_display_upperlimit','checkbox','Gradebook','false','GradebookScoreDisplayUpperLimit','GradebookScoreDisplayUpperLimitComment',NULL,'TabsGradebookEnableUpperLimit', 0),
  123. ('gradebook_number_decimals', NULL, 'select', 'Gradebook', '0', 'GradebookNumberDecimals', 'GradebookNumberDecimalsComment', NULL, NULL, 0),
  124. ('user_selected_theme',NULL,'radio','Platform','false','UserThemeSelection','UserThemeSelectionComment',NULL,NULL, 0),
  125. ('profile','theme','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'UserTheme', 0),
  126. ('allow_course_theme',NULL,'radio','Course','true','AllowCourseThemeTitle','AllowCourseThemeComment',NULL,NULL, 0),
  127. ('display_mini_month_calendar',NULL,'radio','Tools', 'true', 'DisplayMiniMonthCalendarTitle', 'DisplayMiniMonthCalendarComment', NULL, NULL, 0),
  128. ('display_upcoming_events',NULL,'radio','Tools','true','DisplayUpcomingEventsTitle','DisplayUpcomingEventsComment',NULL,NULL, 0),
  129. ('number_of_upcoming_events',NULL,'textfield','Tools','1','NumberOfUpcomingEventsTitle','NumberOfUpcomingEventsComment',NULL,NULL, 0),
  130. ('show_closed_courses',NULL,'radio','Platform','false','ShowClosedCoursesTitle','ShowClosedCoursesComment',NULL,NULL, 0),
  131. ('service_visio', 'visio_use_rtmpt', 'radio',null,'false', 'VisioUseRtmptTitle','VisioUseRtmptComment', NULL, NULL, 0),
  132. ('extendedprofile_registration', 'mycomptetences', 'checkbox','User','false', 'ExtendedProfileRegistrationTitle','ExtendedProfileRegistrationComment', NULL, 'MyCompetences', 0),
  133. ('extendedprofile_registration', 'mydiplomas', 'checkbox','User','false', 'ExtendedProfileRegistrationTitle','ExtendedProfileRegistrationComment', NULL, 'MyDiplomas', 0),
  134. ('extendedprofile_registration', 'myteach', 'checkbox','User','false', 'ExtendedProfileRegistrationTitle','ExtendedProfileRegistrationComment', NULL, 'MyTeach', 0),
  135. ('extendedprofile_registration', 'mypersonalopenarea', 'checkbox','User','false', 'ExtendedProfileRegistrationTitle','ExtendedProfileRegistrationComment', NULL, 'MyPersonalOpenArea', 0),
  136. ('extendedprofile_registrationrequired', 'mycomptetences', 'checkbox','User','false', 'ExtendedProfileRegistrationRequiredTitle','ExtendedProfileRegistrationRequiredComment', NULL, 'MyCompetences', 0),
  137. ('extendedprofile_registrationrequired', 'mydiplomas', 'checkbox','User','false', 'ExtendedProfileRegistrationRequiredTitle','ExtendedProfileRegistrationRequiredComment', NULL, 'MyDiplomas', 0),
  138. ('extendedprofile_registrationrequired', 'myteach', 'checkbox','User','false', 'ExtendedProfileRegistrationRequiredTitle','ExtendedProfileRegistrationRequiredComment', NULL, 'MyTeach', 0),
  139. ('extendedprofile_registrationrequired', 'mypersonalopenarea', 'checkbox','User','false', 'ExtendedProfileRegistrationRequiredTitle','ExtendedProfileRegistrationRequiredComment', NULL, 'MyPersonalOpenArea', 0),
  140. ('registration','phone','textfield','User','false','RegistrationRequiredFormsTitle','RegistrationRequiredFormsComment',NULL,'Phone', 0),
  141. ('add_users_by_coach',NULL,'radio','Session','false','AddUsersByCoachTitle','AddUsersByCoachComment',NULL,NULL, 0),
  142. ('extend_rights_for_coach',NULL,'radio','Security','false','ExtendRightsForCoachTitle','ExtendRightsForCoachComment',NULL,NULL, 0),
  143. ('extend_rights_for_coach_on_survey',NULL,'radio','Security','true','ExtendRightsForCoachOnSurveyTitle','ExtendRightsForCoachOnSurveyComment',NULL,NULL, 0),
  144. ('course_create_active_tools','wiki','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Wiki', 0),
  145. ('show_session_coach', NULL, 'radio','Session','false', 'ShowSessionCoachTitle','ShowSessionCoachComment', NULL, NULL, 0),
  146. ('course_create_active_tools','gradebook','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Gradebook', 0),
  147. ('allow_users_to_create_courses',NULL,'radio','Platform','true','AllowUsersToCreateCoursesTitle','AllowUsersToCreateCoursesComment',NULL,NULL, 0),
  148. ('course_create_active_tools','survey','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Survey', 0),
  149. ('course_create_active_tools','glossary','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Glossary', 0),
  150. ('course_create_active_tools','notebook','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Notebook', 0),
  151. ('course_create_active_tools','attendances','checkbox','Tools','false','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Attendances', 0),
  152. ('course_create_active_tools','course_progress','checkbox','Tools','false','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'CourseProgress', 0),
  153. ('allow_reservation', NULL, 'radio', 'Tools', 'false', 'AllowReservationTitle', 'AllowReservationComment', NULL, NULL, 0),
  154. ('profile','apikeys','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'ApiKeys', 0),
  155. ('allow_message_tool', NULL, 'radio', 'Tools', 'true', 'AllowMessageToolTitle', 'AllowMessageToolComment', NULL, NULL,1),
  156. ('allow_social_tool', NULL, 'radio', 'Tools', 'true', 'AllowSocialToolTitle', 'AllowSocialToolComment', NULL, NULL,1),
  157. ('allow_students_to_browse_courses',NULL,'radio','Platform','true','AllowStudentsToBrowseCoursesTitle','AllowStudentsToBrowseCoursesComment',NULL,NULL, 1),
  158. ('show_session_data', NULL, 'radio', 'Session', 'false', 'ShowSessionDataTitle', 'ShowSessionDataComment', NULL, NULL, 1),
  159. ('allow_use_sub_language', NULL, 'radio', 'Languages', 'false', 'AllowUseSubLanguageTitle', 'AllowUseSubLanguageComment', NULL, NULL,0),
  160. ('show_glossary_in_documents', NULL, 'radio', 'Course', 'none', 'ShowGlossaryInDocumentsTitle', 'ShowGlossaryInDocumentsComment', NULL, NULL,1),
  161. ('allow_terms_conditions', NULL, 'radio', 'Platform', 'false', 'AllowTermsAndConditionsTitle', 'AllowTermsAndConditionsComment', NULL, NULL,0),
  162. ('course_create_active_tools','enable_search','checkbox','Tools','false','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Search',0),
  163. ('search_enabled',NULL,'radio','Search','false','EnableSearchTitle','EnableSearchComment',NULL,NULL,1),
  164. ('search_prefilter_prefix',NULL, NULL,'Search','','SearchPrefilterPrefix','SearchPrefilterPrefixComment',NULL,NULL,0),
  165. ('search_show_unlinked_results',NULL,'radio','Search','true','SearchShowUnlinkedResultsTitle','SearchShowUnlinkedResultsComment',NULL,NULL,1),
  166. ('show_courses_descriptions_in_catalog', NULL, 'radio', 'Course', 'true', 'ShowCoursesDescriptionsInCatalogTitle', 'ShowCoursesDescriptionsInCatalogComment', NULL, NULL, 1),
  167. ('allow_coach_to_edit_course_session',NULL,'radio','Session','true','AllowCoachsToEditInsideTrainingSessions','AllowCoachsToEditInsideTrainingSessionsComment',NULL,NULL, 0),
  168. ('show_glossary_in_extra_tools', NULL, 'radio', 'Course', 'none', 'ShowGlossaryInExtraToolsTitle', 'ShowGlossaryInExtraToolsComment', NULL, NULL,1),
  169. ('send_email_to_admin_when_create_course',NULL,'radio','Platform','false','SendEmailToAdminTitle','SendEmailToAdminComment',NULL,NULL, 1),
  170. ('go_to_course_after_login',NULL,'radio','Course','false','GoToCourseAfterLoginTitle','GoToCourseAfterLoginComment',NULL,NULL, 0),
  171. ('math_mimetex',NULL,'radio','Editor','false','MathMimetexTitle','MathMimetexComment',NULL,NULL, 0),
  172. ('math_asciimathML',NULL,'radio','Editor','false','MathASCIImathMLTitle','MathASCIImathMLComment',NULL,NULL, 0),
  173. ('enabled_asciisvg',NULL,'radio','Editor','false','AsciiSvgTitle','AsciiSvgComment',NULL,NULL, 0),
  174. ('include_asciimathml_script',NULL,'radio','Editor','false','IncludeAsciiMathMlTitle','IncludeAsciiMathMlComment',NULL,NULL, 0),
  175. ('youtube_for_students',NULL,'radio','Editor','true','YoutubeForStudentsTitle','YoutubeForStudentsComment',NULL,NULL, 0),
  176. ('block_copy_paste_for_students',NULL,'radio','Editor','false','BlockCopyPasteForStudentsTitle','BlockCopyPasteForStudentsComment',NULL,NULL, 0),
  177. ('more_buttons_maximized_mode',NULL,'radio','Editor','true','MoreButtonsForMaximizedModeTitle','MoreButtonsForMaximizedModeComment',NULL,NULL, 0),
  178. ('students_download_folders',NULL,'radio','Tools','true','AllowStudentsDownloadFoldersTitle','AllowStudentsDownloadFoldersComment',NULL,NULL, 0),
  179. ('users_copy_files',NULL,'radio','Tools','true','AllowUsersCopyFilesTitle','AllowUsersCopyFilesComment',NULL,NULL, 1),
  180. ('show_tabs', 'social', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsSocial', 0),
  181. ('allow_students_to_create_groups_in_social',NULL,'radio','Tools','false','AllowStudentsToCreateGroupsInSocialTitle','AllowStudentsToCreateGroupsInSocialComment',NULL,NULL, 0),
  182. ('allow_send_message_to_all_platform_users',NULL,'radio','Tools','true','AllowSendMessageToAllPlatformUsersTitle','AllowSendMessageToAllPlatformUsersComment',NULL,NULL, 0),
  183. ('message_max_upload_filesize',NULL,'textfield','Tools','20971520','MessageMaxUploadFilesizeTitle','MessageMaxUploadFilesizeComment',NULL,NULL, 0),
  184. ('show_tabs', 'dashboard', 'checkbox', 'Platform', 'true', 'ShowTabsTitle', 'ShowTabsComment', NULL, 'TabsDashboard', 1),
  185. ('use_users_timezone', 'timezones', 'radio', 'Timezones', 'true', 'UseUsersTimezoneTitle','UseUsersTimezoneComment',NULL,'Timezones', 1),
  186. ('timezone_value', 'timezones', 'select', 'Timezones', '', 'TimezoneValueTitle','TimezoneValueComment',NULL,'Timezones', 1),
  187. ('allow_user_course_subscription_by_course_admin', NULL, 'radio', 'Security', 'true', 'AllowUserCourseSubscriptionByCourseAdminTitle', 'AllowUserCourseSubscriptionByCourseAdminComment', NULL, NULL, 1),
  188. ('show_link_bug_notification', NULL, 'radio', 'Platform', 'true', 'ShowLinkBugNotificationTitle', 'ShowLinkBugNotificationComment', NULL, NULL, 0),
  189. ('course_validation', NULL, 'radio', 'Platform', 'false', 'EnableCourseValidation', 'EnableCourseValidationComment', NULL, NULL, 1),
  190. ('course_validation_terms_and_conditions_url', NULL, 'textfield', 'Platform', '', 'CourseValidationTermsAndConditionsLink', 'CourseValidationTermsAndConditionsLinkComment', NULL, NULL, 1),
  191. ('sso_authentication',NULL,'radio','Security','false','EnableSSOTitle','EnableSSOComment',NULL,NULL,1),
  192. ('sso_authentication_domain',NULL,'textfield','Security','','SSOServerDomainTitle','SSOServerDomainComment',NULL,NULL,1),
  193. ('sso_authentication_auth_uri',NULL,'textfield','Security','/?q=user','SSOServerAuthURITitle','SSOServerAuthURIComment',NULL,NULL,1),
  194. ('sso_authentication_unauth_uri',NULL,'textfield','Security','/?q=logout','SSOServerUnAuthURITitle','SSOServerUnAuthURIComment',NULL,NULL,1),
  195. ('sso_authentication_protocol',NULL,'radio','Security','http://','SSOServerProtocolTitle','SSOServerProtocolComment',NULL,NULL,1),
  196. ('enabled_wiris',NULL,'radio','Editor','false','EnabledWirisTitle','EnabledWirisComment',NULL,NULL, 0),
  197. ('allow_spellcheck',NULL,'radio','Editor','false','AllowSpellCheckTitle','AllowSpellCheckComment',NULL,NULL, 0),
  198. ('force_wiki_paste_as_plain_text',NULL,'radio','Editor','false','ForceWikiPasteAsPlainTextTitle','ForceWikiPasteAsPlainTextComment',NULL,NULL, 0),
  199. ('enabled_googlemaps',NULL,'radio','Editor','false','EnabledGooglemapsTitle','EnabledGooglemapsComment',NULL,NULL, 0),
  200. ('enabled_imgmap',NULL,'radio','Editor','true','EnabledImageMapsTitle','EnabledImageMapsComment',NULL,NULL, 0),
  201. ('enabled_support_svg', NULL,'radio', 'Tools', 'true', 'EnabledSVGTitle','EnabledSVGComment',NULL,NULL, 0),
  202. ('pdf_export_watermark_enable', NULL,'radio', 'Platform', 'false','PDFExportWatermarkEnableTitle', 'PDFExportWatermarkEnableComment', 'platform',NULL, 1),
  203. ('pdf_export_watermark_by_course', NULL,'radio', 'Platform', 'false','PDFExportWatermarkByCourseTitle', 'PDFExportWatermarkByCourseComment','platform',NULL, 1),
  204. ('pdf_export_watermark_text', NULL,'textfield', 'Platform', '', 'PDFExportWatermarkTextTitle', 'PDFExportWatermarkTextComment', 'platform',NULL, 1),
  205. ('enabled_insertHtml', NULL,'radio', 'Editor', 'true','EnabledInsertHtmlTitle', 'EnabledInsertHtmlComment',NULL,NULL, 0),
  206. ('students_export2pdf', NULL,'radio', 'Tools', 'true', 'EnabledStudentExport2PDFTitle', 'EnabledStudentExport2PDFComment',NULL,NULL, 0),
  207. ('exercise_min_score', NULL,'textfield', 'Course', '', 'ExerciseMinScoreTitle', 'ExerciseMinScoreComment','platform',NULL, 1),
  208. ('exercise_max_score', NULL,'textfield', 'Course', '', 'ExerciseMaxScoreTitle', 'ExerciseMaxScoreComment','platform',NULL, 1),
  209. ('show_users_folders', NULL,'radio', 'Tools', 'true', 'ShowUsersFoldersTitle','ShowUsersFoldersComment',NULL,NULL, 0),
  210. ('show_default_folders', NULL,'radio', 'Tools', 'true', 'ShowDefaultFoldersTitle','ShowDefaultFoldersComment',NULL,NULL, 0),
  211. ('show_chat_folder', NULL,'radio', 'Tools', 'true', 'ShowChatFolderTitle','ShowChatFolderComment',NULL,NULL, 0),
  212. ('enabled_text2audio', NULL,'radio', 'Tools', 'false', 'Text2AudioTitle','Text2AudioComment',NULL,NULL, 0),
  213. ('course_hide_tools','course_description','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'CourseDescription', 1),
  214. ('course_hide_tools','calendar_event','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Agenda', 1),
  215. ('course_hide_tools','document','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Documents', 1),
  216. ('course_hide_tools','learnpath','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'LearningPath', 1),
  217. ('course_hide_tools','link','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Links', 1),
  218. ('course_hide_tools','announcement','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Announcements', 1),
  219. ('course_hide_tools','forum','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Forums', 1),
  220. ('course_hide_tools','dropbox','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Dropbox', 1),
  221. ('course_hide_tools','quiz','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Quiz', 1),
  222. ('course_hide_tools','user','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Users', 1),
  223. ('course_hide_tools','group','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Groups', 1),
  224. ('course_hide_tools','chat','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Chat', 1),
  225. ('course_hide_tools','student_publication','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'StudentPublications', 1),
  226. ('course_hide_tools','wiki','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Wiki', 1),
  227. ('course_hide_tools','gradebook','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Gradebook', 1),
  228. ('course_hide_tools','survey','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Survey', 1),
  229. ('course_hide_tools','glossary','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Glossary', 1),
  230. ('course_hide_tools','notebook','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Notebook', 1),
  231. ('course_hide_tools','attendance','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Attendances', 1),
  232. ('course_hide_tools','course_progress','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'CourseProgress', 1),
  233. ('course_hide_tools','blog_management','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Blog',1),
  234. ('course_hide_tools','tracking','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Stats',1),
  235. ('course_hide_tools','course_maintenance','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'Maintenance',1),
  236. ('course_hide_tools','course_setting','checkbox','Tools','false','CourseHideToolsTitle','CourseHideToolsComment',NULL,'CourseSettings',1),
  237. ('enabled_support_pixlr',NULL,'radio','Tools','false','EnabledPixlrTitle','EnabledPixlrComment',NULL,NULL, 0),
  238. ('show_groups_to_users',NULL,'radio','Session','false','ShowGroupsToUsersTitle','ShowGroupsToUsersComment',NULL,NULL, 0),
  239. ('accessibility_font_resize',NULL,'radio','Platform','false','EnableAccessibilityFontResizeTitle','EnableAccessibilityFontResizeComment',NULL,NULL, 1),
  240. ('hide_courses_in_sessions',NULL,'radio', 'Session','false','HideCoursesInSessionsTitle', 'HideCoursesInSessionsComment','platform',NULL, 1),
  241. ('enable_quiz_scenario', NULL,'radio','Course','false','EnableQuizScenarioTitle','EnableQuizScenarioComment',NULL,NULL, 1),
  242. ('enable_nanogong',NULL,'radio','Tools','false','EnableNanogongTitle','EnableNanogongComment',NULL,NULL, 0),
  243. ('filter_terms',NULL,'textarea','Security','','FilterTermsTitle','FilterTermsComment',NULL,NULL, 0),
  244. ('header_extra_content', NULL, 'textarea', 'Tracking', '', 'HeaderExtraContentTitle', 'HeaderExtraContentComment', NULL, NULL, 1),
  245. ('footer_extra_content', NULL, 'textarea', 'Tracking', '', 'FooterExtraContentTitle', 'FooterExtraContentComment', NULL, NULL, 1),
  246. ('show_documents_preview', NULL, 'radio', 'Tools', 'false', 'ShowDocumentPreviewTitle', 'ShowDocumentPreviewComment', NULL, NULL, 1),
  247. ('htmlpurifier_wiki', NULL, 'radio', 'Editor', 'false', 'HtmlPurifierWikiTitle', 'HtmlPurifierWikiComment', NULL, NULL, 0),
  248. ('cas_activate', NULL, 'radio', 'CAS', 'false', 'CasMainActivateTitle', 'CasMainActivateComment', NULL, NULL, 0),
  249. ('cas_server', NULL, 'textfield', 'CAS', '', 'CasMainServerTitle', 'CasMainServerComment', NULL, NULL, 0),
  250. ('cas_server_uri', NULL, 'textfield', 'CAS', '', 'CasMainServerURITitle', 'CasMainServerURIComment', NULL, NULL, 0),
  251. ('cas_port', NULL, 'textfield', 'CAS', '', 'CasMainPortTitle', 'CasMainPortComment', NULL, NULL, 0),
  252. ('cas_protocol', NULL, 'radio', 'CAS', '', 'CasMainProtocolTitle', 'CasMainProtocolComment', NULL, NULL, 0),
  253. ('cas_add_user_activate', NULL, 'radio', 'CAS', 'false', 'CasUserAddActivateTitle', 'CasUserAddActivateComment', NULL, NULL, 0),
  254. ('update_user_info_cas_with_ldap', NULL, 'radio', 'CAS', 'true', 'UpdateUserInfoCasWithLdapTitle', 'UpdateUserInfoCasWithLdapComment', NULL, NULL, 0),
  255. ('student_page_after_login', NULL, 'textfield', 'Platform', '', 'StudentPageAfterLoginTitle', 'StudentPageAfterLoginComment', NULL, NULL, 0),
  256. ('teacher_page_after_login', NULL, 'textfield', 'Platform', '', 'TeacherPageAfterLoginTitle', 'TeacherPageAfterLoginComment', NULL, NULL, 0),
  257. ('drh_page_after_login', NULL, 'textfield', 'Platform', '', 'DRHPageAfterLoginTitle', 'DRHPageAfterLoginComment', NULL, NULL, 0),
  258. ('sessionadmin_page_after_login', NULL, 'textfield', 'Session', '', 'SessionAdminPageAfterLoginTitle', 'SessionAdminPageAfterLoginComment', NULL, NULL, 0),
  259. ('student_autosubscribe', NULL, 'textfield', 'Platform', '', 'StudentAutosubscribeTitle', 'StudentAutosubscribeComment', NULL, NULL, 0),
  260. ('teacher_autosubscribe', NULL, 'textfield', 'Platform', '', 'TeacherAutosubscribeTitle', 'TeacherAutosubscribeComment', NULL, NULL, 0),
  261. ('drh_autosubscribe', NULL, 'textfield', 'Platform', '', 'DRHAutosubscribeTitle', 'DRHAutosubscribeComment', NULL, NULL, 0),
  262. ('sessionadmin_autosubscribe', NULL, 'textfield', 'Session', '', 'SessionadminAutosubscribeTitle', 'SessionadminAutosubscribeComment', NULL, NULL, 0),
  263. ('scorm_cumulative_session_time', NULL, 'radio', 'Course', 'true', 'ScormCumulativeSessionTimeTitle', 'ScormCumulativeSessionTimeComment', NULL, NULL, 0),
  264. ('allow_hr_skills_management', NULL, 'radio', 'Gradebook', 'true', 'AllowHRSkillsManagementTitle', 'AllowHRSkillsManagementComment', NULL, NULL, 1),
  265. ('enable_help_link', NULL, 'radio', 'Platform', 'true', 'EnableHelpLinkTitle', 'EnableHelpLinkComment', NULL, NULL, 0),
  266. ('teachers_can_change_score_settings', NULL, 'radio', 'Gradebook', 'true', 'TeachersCanChangeScoreSettingsTitle', 'TeachersCanChangeScoreSettingsComment', NULL, NULL, 1),
  267. ('allow_users_to_change_email_with_no_password', NULL, 'radio', 'User', 'false', 'AllowUsersToChangeEmailWithNoPasswordTitle', 'AllowUsersToChangeEmailWithNoPasswordComment', NULL, NULL, 0),
  268. ('show_admin_toolbar', NULL, 'radio', 'Platform', 'show_to_admin', 'ShowAdminToolbarTitle', 'ShowAdminToolbarComment', NULL, NULL, 1),
  269. ('allow_global_chat', NULL, 'radio', 'Platform', 'true', 'AllowGlobalChatTitle', 'AllowGlobalChatComment', NULL, NULL, 1),
  270. ('languagePriority1', NULL, 'radio', 'Languages', 'course_lang', 'LanguagePriority1Title', 'LanguagePriority1Comment', NULL, NULL, 0),
  271. ('languagePriority2', NULL, 'radio', 'Languages','user_profil_lang', 'LanguagePriority2Title', 'LanguagePriority2Comment', NULL, NULL, 0),
  272. ('languagePriority3', NULL, 'radio', 'Languages','user_selected_lang', 'LanguagePriority3Title', 'LanguagePriority3Comment', NULL, NULL, 0),
  273. ('languagePriority4', NULL, 'radio', 'Languages', 'platform_lang','LanguagePriority4Title', 'LanguagePriority4Comment', NULL, NULL, 0),
  274. ('login_is_email', NULL, 'radio', 'Platform', 'false', 'LoginIsEmailTitle', 'LoginIsEmailComment', NULL, NULL, 0),
  275. ('courses_default_creation_visibility', NULL, 'radio', 'Course', '2', 'CoursesDefaultCreationVisibilityTitle', 'CoursesDefaultCreationVisibilityComment', NULL, NULL, 1),
  276. ('allow_browser_sniffer', NULL, 'radio', 'Tuning', 'false', 'AllowBrowserSnifferTitle', 'AllowBrowserSnifferComment', NULL, NULL, 0),
  277. ('enable_wami_record',NULL,'radio','Tools','false','EnableWamiRecordTitle','EnableWamiRecordComment',NULL,NULL, 0),
  278. ('gradebook_enable_grade_model', NULL, 'radio', 'Gradebook', 'false', 'GradebookEnableGradeModelTitle', 'GradebookEnableGradeModelComment', NULL, NULL, 1),
  279. ('teachers_can_change_grade_model_settings', NULL, 'radio', 'Gradebook', 'true', 'TeachersCanChangeGradeModelSettingsTitle', 'TeachersCanChangeGradeModelSettingsComment', NULL, NULL, 1),
  280. ('gradebook_default_weight', NULL, 'textfield', 'Gradebook', '100', 'GradebookDefaultWeightTitle', 'GradebookDefaultWeightComment', NULL, NULL, 0),
  281. ('ldap_description', NULL, 'radio', 'LDAP', NULL, 'LdapDescriptionTitle', 'LdapDescriptionComment', NULL, NULL, 0),
  282. ('shibboleth_description', NULL, 'radio', 'Shibboleth', 'false', 'ShibbolethMainActivateTitle', 'ShibbolethMainActivateComment', NULL, NULL, 0),
  283. ('facebook_description', NULL, 'radio', 'Facebook', 'false', 'FacebookMainActivateTitle', 'FacebookMainActivateComment', NULL, NULL, 0),
  284. ('gradebook_locking_enabled', NULL, 'radio', 'Gradebook', 'false', 'GradebookEnableLockingTitle', 'GradebookEnableLockingComment', NULL, NULL, 0),
  285. ('gradebook_default_grade_model_id', NULL, 'select', 'Gradebook', '', 'GradebookDefaultGradeModelTitle', 'GradebookDefaultGradeModelComment', NULL, NULL, 1),
  286. ('allow_session_admins_to_manage_all_sessions', NULL, 'radio', 'Session', 'false', 'AllowSessionAdminsToSeeAllSessionsTitle', 'AllowSessionAdminsToSeeAllSessionsComment', NULL, NULL, 1),
  287. ('allow_skills_tool', NULL, 'radio', 'Platform', 'false', 'AllowSkillsToolTitle', 'AllowSkillsToolComment', NULL, NULL, 1),
  288. ('allow_public_certificates', NULL, 'radio', 'Course', 'false', 'AllowPublicCertificatesTitle', 'AllowPublicCertificatesComment', NULL, NULL, 1),
  289. ('platform_unsubscribe_allowed', NULL, 'radio', 'Platform', 'false', 'PlatformUnsubscribeTitle', 'PlatformUnsubscribeComment', NULL, NULL, 1),
  290. ('activate_email_template', NULL, 'radio', 'Platform', 'false', 'ActivateEmailTemplateTitle', 'ActivateEmailTemplateComment', NULL, NULL, 0),
  291. ('enable_iframe_inclusion', NULL, 'radio', 'Editor', 'false', 'EnableIframeInclusionTitle', 'EnableIframeInclusionComment', NULL, NULL, 1),
  292. ('show_hot_courses', NULL, 'radio', 'Platform', 'true', 'ShowHotCoursesTitle', 'ShowHotCoursesComment', NULL, NULL, 1),
  293. ('enable_webcam_clip',NULL,'radio','Tools','false','EnableWebCamClipTitle','EnableWebCamClipComment',NULL,NULL, 0),
  294. ('use_custom_pages', NULL, 'radio','Platform','false','UseCustomPagesTitle','UseCustomPagesComment', NULL, NULL, 1),
  295. ('tool_visible_by_default_at_creation','documents','checkbox','Tools','true','ToolVisibleByDefaultAtCreationTitle','ToolVisibleByDefaultAtCreationComment',NULL,'Documents', 1),
  296. ('tool_visible_by_default_at_creation','learning_path','checkbox','Tools','true','ToolVisibleByDefaultAtCreationTitle','ToolVisibleByDefaultAtCreationComment',NULL,'LearningPath', 1),
  297. ('tool_visible_by_default_at_creation','links','checkbox','Tools','true','ToolVisibleByDefaultAtCreationTitle','ToolVisibleByDefaultAtCreationComment',NULL,'Links', 1),
  298. ('tool_visible_by_default_at_creation','announcements','checkbox','Tools','true','ToolVisibleByDefaultAtCreationTitle','ToolVisibleByDefaultAtCreationComment',NULL,'Announcements', 1),
  299. ('tool_visible_by_default_at_creation','forums','checkbox','Tools','true','ToolVisibleByDefaultAtCreationTitle','ToolVisibleByDefaultAtCreationComment',NULL,'Forums', 1),
  300. ('tool_visible_by_default_at_creation','quiz','checkbox','Tools','true','ToolVisibleByDefaultAtCreationTitle','ToolVisibleByDefaultAtCreationComment',NULL,'Quiz', 1),
  301. ('tool_visible_by_default_at_creation','gradebook','checkbox','Tools','true','ToolVisibleByDefaultAtCreationTitle','ToolVisibleByDefaultAtCreationComment',NULL,'Gradebook', 1),
  302. ('prevent_session_admins_to_manage_all_users', NULL, 'radio', 'Session', 'false', 'PreventSessionAdminsToManageAllUsersTitle', 'PreventSessionAdminsToManageAllUsersComment', NULL, NULL, 1),
  303. ('documents_default_visibility_defined_in_course', NULL,'radio','Tools','false','DocumentsDefaultVisibilityDefinedInCourseTitle','DocumentsDefaultVisibilityDefinedInCourseComment',NULL, NULL, 1),
  304. ('enabled_mathjax', NULL, 'radio', 'Editor', 'false', 'EnableMathJaxTitle', 'EnableMathJaxComment', NULL, NULL, 0),
  305. ('meta_twitter_site', NULL, 'textfield', 'Tracking', '', 'MetaTwitterSiteTitle', 'MetaTwitterSiteComment', NULL, NULL, 1),
  306. ('meta_twitter_creator', NULL, 'textfield', 'Tracking', '', 'MetaTwitterCreatorTitle', 'MetaTwitterCreatorComment', NULL, NULL, 1),
  307. ('meta_title', NULL, 'textfield', 'Tracking', '', 'MetaTitleTitle', 'MetaTitleComment', NULL, NULL, 1),
  308. ('meta_description', NULL, 'textfield', 'Tracking', '', 'MetaDescriptionTitle', 'MetaDescriptionComment', NULL, NULL, 1),
  309. ('meta_image_path', NULL, 'textfield', 'Tracking', '', 'MetaImagePathTitle', 'MetaImagePathComment', NULL, NULL, 1),
  310. ('allow_teachers_to_create_sessions', NULL, 'radio', 'Session', 'false', 'AllowTeachersToCreateSessionsTitle', 'AllowTeachersToCreateSessionsComment', NULL, NULL, 0),
  311. ('institution_address',NULL,'textfield','Platform','','InstitutionAddressTitle','InstitutionAddressComment',NULL,NULL, 1),
  312. ('chamilo_database_version', NULL, 'textfield', NULL, '0', 'DatabaseVersion', '', NULL, NULL, 0),
  313. ('cron_remind_course_finished_activate', NULL, 'radio', 'Crons', 'false', 'CronRemingCourseFinishedActivateText', 'CronRemingCourseFinishedActivateComment', NULL, NULL, 1),
  314. ('cron_remind_course_expiration_frecuency', NULL, 'textfield', 'Crons', '2', 'CronRemingCourseExpirationFrecuencyText', 'CronRemingCourseExpirationFrecuencyComment', NULL, NULL, 1),
  315. ('cron_remind_course_expiration_activate', NULL, 'radio', 'Crons', 'false', 'CronRemingCourseExpirationActivateText', 'CronRemingCourseExpirationActivateComment', NULL, NULL, 1);
  316. INSERT INTO settings_options (variable, value, display_text)
  317. VALUES
  318. ('show_administrator_data','true','Yes'),
  319. ('show_administrator_data','false','No'),
  320. ('show_tutor_data','true','Yes'),
  321. ('show_tutor_data','false','No'),
  322. ('show_teacher_data','true','Yes'),
  323. ('show_teacher_data','false','No'),
  324. ('homepage_view','activity','HomepageViewActivity'),
  325. ('homepage_view','2column','HomepageView2column'),
  326. ('homepage_view','3column','HomepageView3column'),
  327. ('homepage_view','vertical_activity','HomepageViewVerticalActivity'),
  328. ('homepage_view','activity_big','HomepageViewActivityBig'),
  329. ('show_toolshortcuts','true','Yes'),
  330. ('show_toolshortcuts','false','No'),
  331. ('allow_group_categories','true','Yes'),
  332. ('allow_group_categories','false','No'),
  333. ('server_type','production','ProductionServer'),
  334. ('server_type','test','TestServer'),
  335. ('allow_name_change','true','Yes'),
  336. ('allow_name_change','false','No'),
  337. ('allow_officialcode_change','true','Yes'),
  338. ('allow_officialcode_change','false','No'),
  339. ('allow_registration','true','Yes'),
  340. ('allow_registration','false','No'),
  341. ('allow_registration','approval','AfterApproval'),
  342. ('allow_registration_as_teacher','true','Yes'),
  343. ('allow_registration_as_teacher','false','No'),
  344. ('allow_lostpassword','true','Yes'),
  345. ('allow_lostpassword','false','No'),
  346. ('allow_user_headings','true','Yes'),
  347. ('allow_user_headings','false','No'),
  348. ('allow_personal_agenda','true','Yes'),
  349. ('allow_personal_agenda','false','No'),
  350. ('display_coursecode_in_courselist','true','Yes'),
  351. ('display_coursecode_in_courselist','false','No'),
  352. ('display_teacher_in_courselist','true','Yes'),
  353. ('display_teacher_in_courselist','false','No'),
  354. ('permanently_remove_deleted_files','true','YesWillDeletePermanently'),
  355. ('permanently_remove_deleted_files','false','NoWillDeletePermanently'),
  356. ('dropbox_allow_overwrite','true','Yes'),
  357. ('dropbox_allow_overwrite','false','No'),
  358. ('dropbox_allow_just_upload','true','Yes'),
  359. ('dropbox_allow_just_upload','false','No'),
  360. ('dropbox_allow_student_to_student','true','Yes'),
  361. ('dropbox_allow_student_to_student','false','No'),
  362. ('dropbox_allow_group','true','Yes'),
  363. ('dropbox_allow_group','false','No'),
  364. ('dropbox_allow_mailing','true','Yes'),
  365. ('dropbox_allow_mailing','false','No'),
  366. ('extended_profile','true','Yes'),
  367. ('extended_profile','false','No'),
  368. ('student_view_enabled','true','Yes'),
  369. ('student_view_enabled','false','No'),
  370. ('show_navigation_menu','false','No'),
  371. ('show_navigation_menu','icons','IconsOnly'),
  372. ('show_navigation_menu','text','TextOnly'),
  373. ('show_navigation_menu','iconstext','IconsText'),
  374. ('enable_tool_introduction','true','Yes'),
  375. ('enable_tool_introduction','false','No'),
  376. ('page_after_login', 'index.php', 'CampusHomepage'),
  377. ('page_after_login', 'user_portal.php', 'MyCourses'),
  378. ('page_after_login', 'main/auth/courses.php', 'CourseCatalog'),
  379. ('breadcrumbs_course_homepage', 'get_lang', 'CourseHomepage'),
  380. ('breadcrumbs_course_homepage', 'course_code', 'CourseCode'),
  381. ('breadcrumbs_course_homepage', 'course_title', 'CourseTitle'),
  382. ('example_material_course_creation', 'true', 'Yes'),
  383. ('example_material_course_creation', 'false', 'No'),
  384. ('use_session_mode', 'true', 'Yes'),
  385. ('use_session_mode', 'false', 'No'),
  386. ('allow_email_editor', 'true' ,'Yes'),
  387. ('allow_email_editor', 'false', 'No'),
  388. ('show_email_addresses','true','Yes'),
  389. ('show_email_addresses','false','No'),
  390. ('upload_extensions_list_type', 'blacklist', 'Blacklist'),
  391. ('upload_extensions_list_type', 'whitelist', 'Whitelist'),
  392. ('upload_extensions_skip', 'true', 'Remove'),
  393. ('upload_extensions_skip', 'false', 'Rename'),
  394. ('show_number_of_courses', 'true', 'Yes'),
  395. ('show_number_of_courses', 'false', 'No'),
  396. ('show_empty_course_categories', 'true', 'Yes'),
  397. ('show_empty_course_categories', 'false', 'No'),
  398. ('show_back_link_on_top_of_tree', 'true', 'Yes'),
  399. ('show_back_link_on_top_of_tree', 'false', 'No'),
  400. ('show_different_course_language', 'true', 'Yes'),
  401. ('show_different_course_language', 'false', 'No'),
  402. ('split_users_upload_directory', 'true', 'Yes'),
  403. ('split_users_upload_directory', 'false', 'No'),
  404. ('hide_dltt_markup', 'false', 'No'),
  405. ('hide_dltt_markup', 'true', 'Yes'),
  406. ('display_categories_on_homepage','true','Yes'),
  407. ('display_categories_on_homepage','false','No'),
  408. ('default_forum_view', 'flat', 'Flat'),
  409. ('default_forum_view', 'threaded', 'Threaded'),
  410. ('default_forum_view', 'nested', 'Nested'),
  411. ('survey_email_sender_noreply', 'coach', 'CourseCoachEmailSender'),
  412. ('survey_email_sender_noreply', 'noreply', 'NoReplyEmailSender'),
  413. ('openid_authentication','true','Yes'),
  414. ('openid_authentication','false','No'),
  415. ('gradebook_enable','true','Yes'),
  416. ('gradebook_enable','false','No'),
  417. ('user_selected_theme','true','Yes'),
  418. ('user_selected_theme','false','No'),
  419. ('allow_course_theme','true','Yes'),
  420. ('allow_course_theme','false','No'),
  421. ('display_mini_month_calendar', 'true', 'Yes'),
  422. ('display_mini_month_calendar', 'false', 'No'),
  423. ('display_upcoming_events', 'true', 'Yes'),
  424. ('display_upcoming_events', 'false', 'No'),
  425. ('show_closed_courses', 'true', 'Yes'),
  426. ('show_closed_courses', 'false', 'No'),
  427. ('ldap_version', '2', 'LDAPVersion2'),
  428. ('ldap_version', '3', 'LDAPVersion3'),
  429. ('visio_use_rtmpt','true','Yes'),
  430. ('visio_use_rtmpt','false','No'),
  431. ('add_users_by_coach', 'true', 'Yes'),
  432. ('add_users_by_coach', 'false', 'No'),
  433. ('extend_rights_for_coach', 'true', 'Yes'),
  434. ('extend_rights_for_coach', 'false', 'No'),
  435. ('extend_rights_for_coach_on_survey', 'true', 'Yes'),
  436. ('extend_rights_for_coach_on_survey', 'false', 'No'),
  437. ('show_session_coach', 'true', 'Yes'),
  438. ('show_session_coach', 'false', 'No'),
  439. ('allow_users_to_create_courses','true','Yes'),
  440. ('allow_users_to_create_courses','false','No'),
  441. ('breadcrumbs_course_homepage', 'session_name_and_course_title', 'SessionNameAndCourseTitle'),
  442. ('allow_reservation', 'true', 'Yes'),
  443. ('allow_reservation', 'false', 'No'),
  444. ('allow_message_tool', 'true', 'Yes'),
  445. ('allow_message_tool', 'false', 'No'),
  446. ('allow_social_tool', 'true', 'Yes'),
  447. ('allow_social_tool', 'false', 'No'),
  448. ('allow_students_to_browse_courses','true','Yes'),
  449. ('allow_students_to_browse_courses','false','No'),
  450. ('show_email_of_teacher_or_tutor ', 'true', 'Yes'),
  451. ('show_email_of_teacher_or_tutor ', 'false', 'No'),
  452. ('show_session_data ', 'true', 'Yes'),
  453. ('show_session_data ', 'false', 'No'),
  454. ('allow_use_sub_language', 'true', 'Yes'),
  455. ('allow_use_sub_language', 'false', 'No'),
  456. ('show_glossary_in_documents', 'none', 'ShowGlossaryInDocumentsIsNone'),
  457. ('show_glossary_in_documents', 'ismanual', 'ShowGlossaryInDocumentsIsManual'),
  458. ('show_glossary_in_documents', 'isautomatic', 'ShowGlossaryInDocumentsIsAutomatic'),
  459. ('allow_terms_conditions', 'true', 'Yes'),
  460. ('allow_terms_conditions', 'false', 'No'),
  461. ('search_enabled', 'true', 'Yes'),
  462. ('search_enabled', 'false', 'No'),
  463. ('search_show_unlinked_results', 'true', 'SearchShowUnlinkedResults'),
  464. ('search_show_unlinked_results', 'false', 'SearchHideUnlinkedResults'),
  465. ('show_courses_descriptions_in_catalog', 'true', 'Yes'),
  466. ('show_courses_descriptions_in_catalog', 'false', 'No'),
  467. ('allow_coach_to_edit_course_session','true','Yes'),
  468. ('allow_coach_to_edit_course_session','false','No'),
  469. ('show_glossary_in_extra_tools', 'none', 'None'),
  470. ('show_glossary_in_extra_tools', 'exercise', 'Exercise'),
  471. ('show_glossary_in_extra_tools', 'lp', 'Learning path'),
  472. ('show_glossary_in_extra_tools', 'exercise_and_lp', 'ExerciseAndLearningPath'),
  473. ('send_email_to_admin_when_create_course','true','Yes'),
  474. ('send_email_to_admin_when_create_course','false','No'),
  475. ('go_to_course_after_login','true','Yes'),
  476. ('go_to_course_after_login','false','No'),
  477. ('math_mimetex','true','Yes'),
  478. ('math_mimetex','false','No'),
  479. ('math_asciimathML','true','Yes'),
  480. ('math_asciimathML','false','No'),
  481. ('enabled_asciisvg','true','Yes'),
  482. ('enabled_asciisvg','false','No'),
  483. ('include_asciimathml_script','true','Yes'),
  484. ('include_asciimathml_script','false','No'),
  485. ('youtube_for_students','true','Yes'),
  486. ('youtube_for_students','false','No'),
  487. ('block_copy_paste_for_students','true','Yes'),
  488. ('block_copy_paste_for_students','false','No'),
  489. ('more_buttons_maximized_mode','true','Yes'),
  490. ('more_buttons_maximized_mode','false','No'),
  491. ('students_download_folders','true','Yes'),
  492. ('students_download_folders','false','No'),
  493. ('users_copy_files','true','Yes'),
  494. ('users_copy_files','false','No'),
  495. ('allow_students_to_create_groups_in_social','true','Yes'),
  496. ('allow_students_to_create_groups_in_social','false','No'),
  497. ('allow_send_message_to_all_platform_users','true','Yes'),
  498. ('allow_send_message_to_all_platform_users','false','No'),
  499. ('use_users_timezone', 'true', 'Yes'),
  500. ('use_users_timezone', 'false', 'No'),
  501. ('allow_user_course_subscription_by_course_admin', 'true', 'Yes'),
  502. ('allow_user_course_subscription_by_course_admin', 'false', 'No'),
  503. ('show_link_bug_notification', 'true', 'Yes'),
  504. ('show_link_bug_notification', 'false', 'No'),
  505. ('course_validation', 'true', 'Yes'),
  506. ('course_validation', 'false', 'No'),
  507. ('sso_authentication', 'true', 'Yes'),
  508. ('sso_authentication', 'false', 'No'),
  509. ('sso_authentication_protocol', 'http://', 'http://'),
  510. ('sso_authentication_protocol', 'https://', 'https://'),
  511. ('enabled_wiris','true','Yes'),
  512. ('enabled_wiris','false','No'),
  513. ('allow_spellcheck','true','Yes'),
  514. ('allow_spellcheck','false','No'),
  515. ('force_wiki_paste_as_plain_text','true','Yes'),
  516. ('force_wiki_paste_as_plain_text','false','No'),
  517. ('enabled_googlemaps','true','Yes'),
  518. ('enabled_googlemaps','false','No'),
  519. ('enabled_imgmap','true','Yes'),
  520. ('enabled_imgmap','false','No'),
  521. ('enabled_support_svg','true','Yes'),
  522. ('enabled_support_svg','false','No'),
  523. ('pdf_export_watermark_enable','true','Yes'),
  524. ('pdf_export_watermark_enable','false','No'),
  525. ('pdf_export_watermark_by_course','true','Yes'),
  526. ('pdf_export_watermark_by_course','false','No'),
  527. ('enabled_insertHtml','true','Yes'),
  528. ('enabled_insertHtml','false','No'),
  529. ('students_export2pdf','true','Yes'),
  530. ('students_export2pdf','false','No'),
  531. ('show_users_folders','true','Yes'),
  532. ('show_users_folders','false','No'),
  533. ('show_default_folders','true','Yes'),
  534. ('show_default_folders','false','No'),
  535. ('show_chat_folder','true','Yes'),
  536. ('show_chat_folder','false','No'),
  537. ('enabled_text2audio','true','Yes'),
  538. ('enabled_text2audio','false','No'),
  539. ('enabled_support_pixlr','true','Yes'),
  540. ('enabled_support_pixlr','false','No'),
  541. ('show_groups_to_users','true','Yes'),
  542. ('show_groups_to_users','false','No'),
  543. ('accessibility_font_resize', 'true', 'Yes'),
  544. ('accessibility_font_resize', 'false', 'No'),
  545. ('hide_courses_in_sessions','true','Yes'),
  546. ('hide_courses_in_sessions','false','No'),
  547. ('enable_quiz_scenario', 'true', 'Yes'),
  548. ('enable_quiz_scenario', 'false', 'No'),
  549. ('enable_nanogong','true','Yes'),
  550. ('enable_nanogong','false','No'),
  551. ('show_documents_preview', 'true', 'Yes'),
  552. ('show_documents_preview', 'false', 'No'),
  553. ('htmlpurifier_wiki', 'true', 'Yes'),
  554. ('htmlpurifier_wiki', 'false', 'No'),
  555. ('cas_activate', 'true', 'Yes'),
  556. ('cas_activate', 'false', 'No'),
  557. ('cas_protocol', 'CAS1', 'CAS1Text'),
  558. ('cas_protocol', 'CAS2', 'CAS2Text'),
  559. ('cas_protocol', 'SAML', 'SAMLText'),
  560. ('cas_add_user_activate', 'false', 'No'),
  561. ('cas_add_user_activate', 'platform', 'casAddUserActivatePlatform'),
  562. ('cas_add_user_activate', 'extldap', 'casAddUserActivateLDAP'),
  563. ('update_user_info_cas_with_ldap', 'true', 'Yes'),
  564. ('update_user_info_cas_with_ldap', 'false', 'No'),
  565. ('scorm_cumulative_session_time','true','Yes'),
  566. ('scorm_cumulative_session_time','false','No'),
  567. ('allow_hr_skills_management', 'true', 'Yes'),
  568. ('allow_hr_skills_management', 'false', 'No'),
  569. ('enable_help_link', 'true', 'Yes'),
  570. ('enable_help_link', 'false', 'No'),
  571. ('allow_users_to_change_email_with_no_password', 'true', 'Yes'),
  572. ('allow_users_to_change_email_with_no_password', 'false', 'No'),
  573. ('show_admin_toolbar', 'do_not_show', 'DoNotShow'),
  574. ('show_admin_toolbar', 'show_to_admin', 'ShowToAdminsOnly'),
  575. ('show_admin_toolbar', 'show_to_admin_and_teachers', 'ShowToAdminsAndTeachers'),
  576. ('show_admin_toolbar', 'show_to_all', 'ShowToAllUsers'),
  577. ('use_custom_pages','true','Yes'),
  578. ('use_custom_pages','false','No'),
  579. ('languagePriority1','platform_lang','PlatformLanguage'),
  580. ('languagePriority1','user_profil_lang','UserLanguage'),
  581. ('languagePriority1','user_selected_lang','UserSelectedLanguage'),
  582. ('languagePriority1','course_lang','CourseLanguage'),
  583. ('languagePriority2','platform_lang','PlatformLanguage'),
  584. ('languagePriority2','user_profil_lang','UserLanguage'),
  585. ('languagePriority2','user_selected_lang','UserSelectedLanguage'),
  586. ('languagePriority2','course_lang','CourseLanguage'),
  587. ('languagePriority3','platform_lang','PlatformLanguage'),
  588. ('languagePriority3','user_profil_lang','UserLanguage'),
  589. ('languagePriority3','user_selected_lang','UserSelectedLanguage'),
  590. ('languagePriority3','course_lang','CourseLanguage'),
  591. ('languagePriority4','platform_lang','PlatformLanguage'),
  592. ('languagePriority4','user_profil_lang','UserLanguage'),
  593. ('languagePriority4','user_selected_lang','UserSelectedLanguage'),
  594. ('languagePriority4','course_lang','CourseLanguage'),
  595. ('allow_global_chat', 'true', 'Yes'),
  596. ('allow_global_chat', 'false', 'No'),
  597. ('login_is_email','true','Yes'),
  598. ('login_is_email','false','No'),
  599. ('courses_default_creation_visibility', '3', 'OpenToTheWorld'),
  600. ('courses_default_creation_visibility', '2', 'OpenToThePlatform'),
  601. ('courses_default_creation_visibility', '1', 'Private'),
  602. ('courses_default_creation_visibility', '0', 'CourseVisibilityClosed'),
  603. ('allow_browser_sniffer', 'true', 'Yes'),
  604. ('allow_browser_sniffer', 'false', 'No'),
  605. ('enable_wami_record', 'true', 'Yes'),
  606. ('enable_wami_record', 'false', 'No'),
  607. ('teachers_can_change_score_settings', 'true', 'Yes'),
  608. ('teachers_can_change_score_settings', 'false', 'No'),
  609. ('teachers_can_change_grade_model_settings', 'true', 'Yes'),
  610. ('teachers_can_change_grade_model_settings', 'false', 'No'),
  611. ('gradebook_locking_enabled', 'true', 'Yes'),
  612. ('gradebook_locking_enabled', 'false', 'No'),
  613. ('gradebook_enable_grade_model', 'true', 'Yes'),
  614. ('gradebook_enable_grade_model', 'false', 'No'),
  615. ('allow_session_admins_to_manage_all_sessions', 'true', 'Yes'),
  616. ('allow_session_admins_to_manage_all_sessions', 'false', 'No'),
  617. ('allow_skills_tool', 'true', 'Yes'),
  618. ('allow_skills_tool', 'false', 'No'),
  619. ('allow_public_certificates', 'true', 'Yes'),
  620. ('allow_public_certificates', 'false', 'No'),
  621. ('platform_unsubscribe_allowed', 'true', 'Yes'),
  622. ('platform_unsubscribe_allowed', 'false', 'No'),
  623. ('activate_email_template', 'true', 'Yes'),
  624. ('activate_email_template', 'false', 'No'),
  625. ('enable_iframe_inclusion', 'true', 'Yes'),
  626. ('enable_iframe_inclusion', 'false', 'No'),
  627. ('show_hot_courses', 'true', 'Yes'),
  628. ('show_hot_courses', 'false', 'No'),
  629. ('enable_webcam_clip', 'true', 'Yes'),
  630. ('enable_webcam_clip', 'false', 'No'),
  631. ('prevent_session_admins_to_manage_all_users', 'true', 'Yes'),
  632. ('prevent_session_admins_to_manage_all_users', 'false', 'No'),
  633. ('documents_default_visibility_defined_in_course', 'true', 'Yes'),
  634. ('documents_default_visibility_defined_in_course', 'false', 'No'),
  635. ('enabled_mathjax','true','Yes'),
  636. ('enabled_mathjax','false','No'),
  637. ('allow_teachers_to_create_sessions', 'true', 'Yes'),
  638. ('allow_teachers_to_create_sessions', 'false', 'No'),
  639. ('cron_remind_course_finished_activate', 'false', 'No'),
  640. ('cron_remind_course_finished_activate', 'true', 'Yes'),
  641. ('cron_remind_course_expiration_activate', 'false', 'No'),
  642. ('cron_remind_course_expiration_activate', 'true', 'Yes');
  643. INSERT INTO language (original_name, english_name, isocode, dokeos_folder, available) VALUES
  644. ('العربية','arabic','ar','arabic',0),
  645. ('Asturianu','asturian','ast','asturian',0),
  646. ('Euskara','basque','eu','basque',1),
  647. ('বাংলা','bengali','bn','bengali',0),
  648. ('Bosanski','bosnian','bs','bosnian',1),
  649. ('Português do Brasil','brazilian','pt-BR','brazilian',1),
  650. ('Български','bulgarian','bg','bulgarian',1),
  651. ('Català','catalan','ca','catalan',0),
  652. ('Hrvatski','croatian','hr','croatian',0),
  653. ('Česky','czech','cs','czech',0),
  654. ('Dansk','danish','da','danish',0),
  655. ('دری','dari','prs','dari',0),
  656. ('Nederlands','dutch','nl','dutch',1),
  657. ('English','english','en','english',1),
  658. ('Esperanto','esperanto','eo','esperanto',0),
  659. ('Føroyskt', 'faroese', 'fo', 'faroese', 0),
  660. ('Suomi','finnish','fi','finnish',0),
  661. ('Français','french','fr','french',1),
  662. ('Furlan','friulian','fur','friulian',0),
  663. ('Galego','galician','gl','galician',1),
  664. ('ქართული','georgian','ka','georgian',0),
  665. ('Deutsch','german','de','german',1),
  666. ('Ελληνικά','greek','el','greek',1),
  667. ('עברית','hebrew','he','hebrew',0),
  668. ('हिन्दी','hindi','hi','hindi',0),
  669. ('Magyar','hungarian','hu','hungarian',1),
  670. ('Bahasa Indonesia','indonesian','id','indonesian',1),
  671. ('Italiano','italian','it','italian',1),
  672. ('日本語','japanese','ja','japanese',0),
  673. ('한국어','korean','ko','korean',0),
  674. ('Latviešu','latvian','lv','latvian',1),
  675. ('Lietuvių','lithuanian','lt','lithuanian',0),
  676. ('Македонски','macedonian','mk','macedonian',0),
  677. ('Bahasa Melayu','malay','ms','malay',0),
  678. ('Norsk','norwegian','no','norwegian',0),
  679. ('Occitan','occitan','oc','occitan',0),
  680. ('پښتو','pashto','ps','pashto',0),
  681. ('فارسی','persian','fa','persian',0),
  682. ('Polski','polish','pl','polish',1),
  683. ('Português europeu','portuguese','pt','portuguese',1),
  684. ('Runasimi','quechua_cusco','qu','quechua_cusco',0),
  685. ('Română','romanian','ro','romanian',0),
  686. ('Русский','russian','ru','russian',0),
  687. ('Srpski','serbian','sr','serbian',0),
  688. ('中文(简体)','simpl_chinese','zh','simpl_chinese',0),
  689. ('Slovenčina','slovak','sk','slovak',1),
  690. ('Slovenščina','slovenian','sl','slovenian',1),
  691. ('الصومالية','somali','so','somali',0),
  692. ('Español','spanish','es','spanish',1),
  693. ('Kiswahili','swahili','sw','swahili',0),
  694. ('Svenska','swedish','sv','swedish',0),
  695. ('Tagalog', 'tagalog', 'tl', 'tagalog',1),
  696. ('ไทย','thai','th','thai',0),
  697. ('Tibetan', 'tibetan', 'bo', 'tibetan', 0),
  698. ('繁體中文','trad_chinese','zh-TW','trad_chinese',0),
  699. ('Türkçe','turkish','tr','turkish',0),
  700. ('Українська','ukrainian','uk','ukrainian',0),
  701. ('Tiếng Việt','vietnamese','vi','vietnamese',0),
  702. ('isiXhosa', 'xhosa', 'xh', 'xhosa', 0),
  703. ('Yorùbá','yoruba','yo','yoruba',0);
  704. -- Set parent language to Spanish for all close-by languages, same for Italian, French, Portuguese and Chinese
  705. UPDATE language SET parent_id = 49 WHERE english_name = 'quechua_cusco';
  706. UPDATE language SET parent_id = 49 WHERE english_name = 'galician';
  707. UPDATE language SET parent_id = 49 WHERE english_name = 'esperanto';
  708. UPDATE language SET parent_id = 49 WHERE english_name = 'catalan';
  709. UPDATE language SET parent_id = 49 WHERE english_name = 'asturian';
  710. UPDATE language SET parent_id = 28 WHERE english_name = 'friulian';
  711. UPDATE language SET parent_id = 18 WHERE english_name = 'occitan';
  712. UPDATE language SET parent_id = 40 WHERE english_name = 'brazilian';
  713. UPDATE language SET parent_id = 45 WHERE english_name = 'trad_chinese';
  714. INSERT INTO course_category VALUES (1,'Language skills','LANG',NULL,1,0,'TRUE','TRUE'),(2,'PC Skills','PC',NULL,2,0,'TRUE','TRUE'),(3,'Projects','PROJ',NULL,3,0,'TRUE','TRUE');
  715. INSERT INTO course_module VALUES
  716. (1,'calendar_event','calendar/agenda.php','agenda.gif',1,1,'basic'),
  717. (2,'link','link/link.php','links.gif',4,1,'basic'),
  718. (3,'document','document/document.php','documents.gif',3,1,'basic'),
  719. (4,'student_publication','work/work.php','works.gif',3,2,'basic'),
  720. (5,'announcement','announcements/announcements.php','valves.gif',2,1,'basic'),
  721. (6,'user','user/user.php','members.gif',2,3,'basic'),
  722. (7,'forum','forum/index.php','forum.gif',1,2,'basic'),
  723. (8,'quiz','exercice/exercice.php','quiz.gif',2,2,'basic'),
  724. (9,'group','group/group.php','group.gif',3,3,'basic'),
  725. (10,'course_description','course_description/','info.gif',1,3,'basic'),
  726. (11,'chat','chat/chat.php','chat.gif',0,0,'external'),
  727. (12,'dropbox','dropbox/index.php','dropbox.gif',4,2,'basic'),
  728. (13,'tracking','tracking/courseLog.php','statistics.gif',1,3,'courseadmin'),
  729. (14,'homepage_link','link/link.php?action=addlink','npage.gif',1,1,'courseadmin'),
  730. (15,'course_setting','course_info/infocours.php','reference.gif',1,1,'courseadmin'),
  731. (16,'External','','external.gif',0,0,'external'),
  732. (17,'AddedLearnpath','','scormbuilder.gif',0,0,'external'),
  733. (18,'conference','conference/index.php?type=conference','conf.gif',0,0,'external'),
  734. (19,'conference','conference/index.php?type=classroom','conf.gif',0,0,'external'),
  735. (20,'learnpath','newscorm/lp_controller.php','scorms.gif',5,1,'basic'),
  736. (21,'blog','blog/blog.php','blog.gif',1,2,'basic'),
  737. (22,'blog_management','blog/blog_admin.php','blog_admin.gif',1,2,'courseadmin'),
  738. (23,'course_maintenance','course_info/maintenance.php','backup.gif',2,3,'courseadmin'),
  739. (24,'survey','survey/survey_list.php','survey.gif',2,1,'basic'),
  740. (25,'wiki','wiki/index.php','wiki.gif',2,3,'basic'),
  741. (26,'gradebook','gradebook/index.php','gradebook.gif',2,2,'basic'),
  742. (27,'glossary','glossary/index.php','glossary.gif',2,1,'basic'),
  743. (28,'notebook','notebook/index.php','notebook.gif',2,1,'basic'),
  744. (29,'attendance','attendance/index.php','attendance.gif',2,1,'basic'),
  745. (30,'course_progress','course_progress/index.php','course_progress.gif',2,1,'basic');
  746. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'legal_accept','Legal',0,0);
  747. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'already_logged_in','Already logged in',0,0);
  748. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'update_type','Update script type',0,0);
  749. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 10, 'tags','tags',0,0);
  750. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'rssfeeds','RSS',0,0);
  751. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'dashboard', 'Dashboard', 0, 0);
  752. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 11, 'timezone', 'Timezone', 0, 0);
  753. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, default_value) values (1, 4, 'mail_notify_invitation', 'MailNotifyInvitation',1,1,'1');
  754. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, default_value) values (1, 4, 'mail_notify_message', 'MailNotifyMessage',1,1,'1');
  755. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, default_value) values (1, 4, 'mail_notify_group_message','MailNotifyGroupMessage',1,1,'1');
  756. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'user_chat_status','User chat status',0,0);
  757. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'google_calendar_url','Google Calendar URL',0,0);
  758. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, default_value) VALUES (2, 1, 'special_course', 'Special course', 1 , 1, '');
  759. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (2, 10, 'tags', 'Tags', 1, 1);
  760. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (2, 19, 'video_url', 'VideoUrl', 1, 1);
  761. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (3, 16, 'image', 'Image', 1, 1);
  762. INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable) VALUES (1, 1, 'captcha_blocked_until_date', 'Account locked until', 0, 0);
  763. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (8, '1', 'AtOnce',1);
  764. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (8, '8', 'Daily',2);
  765. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (8, '0', 'No',3);
  766. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (9, '1', 'AtOnce',1);
  767. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (9, '8', 'Daily',2);
  768. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (9, '0', 'No',3);
  769. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (10, '1', 'AtOnce',1);
  770. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (10, '8', 'Daily',2);
  771. INSERT INTO extra_field_options (field_id, option_value, display_text, option_order) VALUES (10, '0', 'No',3);
  772. INSERT INTO access_url(url, description, active, created_by) VALUES ('http://localhost/',' ',1,1);
  773. -- Adding admin to the first portal
  774. INSERT INTO access_url_rel_user VALUES(1, 1);
  775. -- Adding the platform templates
  776. -- Adding the platform templates
  777. INSERT INTO system_template (title, comment, image, content) VALUES
  778. ('TemplateTitleCourseTitle', 'TemplateTitleCourseTitleDescription', 'coursetitle.gif', '
  779. <head>
  780. {CSS}
  781. <style type="text/css">
  782. .gris_title {
  783. color: silver;
  784. }
  785. h1
  786. {
  787. text-align: right;
  788. }
  789. </style>
  790. </head>
  791. <body>
  792. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  793. <tbody>
  794. <tr>
  795. <td style="vertical-align: middle; width: 50%;" colspan="1" rowspan="1">
  796. <h1>TITULUS 1<br>
  797. <span class="gris_title">TITULUS 2</span><br>
  798. </h1>
  799. </td>
  800. <td style="width: 50%;">
  801. <img style="width: 100px; height: 100px;" alt="Chamilo logo" src="{COURSE_DIR}images/logo_chamilo.png"></td>
  802. </tr>
  803. </tbody>
  804. </table>
  805. <p><br>
  806. <br>
  807. </p>
  808. </body>
  809. ');
  810. /*
  811. INSERT INTO system_template (title, comment, image, content) VALUES
  812. ('TemplateTitleCheckList', 'TemplateTitleCheckListDescription', 'checklist.gif', '
  813. <head>
  814. {CSS}
  815. </head>
  816. <body>
  817. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  818. <tbody>
  819. <tr>
  820. <td style="vertical-align: top; width: 66%;">
  821. <h3>Lorem ipsum dolor sit amet</h3>
  822. <ul>
  823. <li>consectetur adipisicing elit</li>
  824. <li>sed do eiusmod tempor incididunt</li>
  825. <li>ut labore et dolore magna aliqua</li>
  826. </ul>
  827. <h3>Ut enim ad minim veniam</h3>
  828. <ul>
  829. <li>quis nostrud exercitation ullamco</li>
  830. <li>laboris nisi ut aliquip ex ea commodo consequat</li>
  831. <li>Excepteur sint occaecat cupidatat non proident</li>
  832. </ul>
  833. <h3>Sed ut perspiciatis unde omnis</h3>
  834. <ul>
  835. <li>iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam</li>
  836. <li>eaque ipsa quae ab illo inventore veritatis</li>
  837. <li>et quasi architecto beatae vitae dicta sunt explicabo.&nbsp;</li>
  838. </ul>
  839. </td>
  840. <td style="background: transparent url({IMG_DIR}postit.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; width: 33%; text-align: center; vertical-align: bottom;">
  841. <h3>Ut enim ad minima</h3>
  842. Veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur.<br>
  843. <h3>
  844. <img style="width: 180px; height: 144px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_smile.png "><br></h3>
  845. </td>
  846. </tr>
  847. </tbody>
  848. </table>
  849. <p><br>
  850. <br>
  851. </p>
  852. </body>
  853. ');
  854. */
  855. INSERT INTO system_template (title, comment, image, content) VALUES
  856. ('TemplateTitleTeacher', 'TemplateTitleTeacherDescription', 'yourinstructor.gif', '
  857. <head>
  858. {CSS}
  859. <style type="text/css">
  860. .text
  861. {
  862. font-weight: normal;
  863. }
  864. </style>
  865. </head>
  866. <body>
  867. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  868. <tbody>
  869. <tr>
  870. <td></td>
  871. <td style="height: 33%;"></td>
  872. <td></td>
  873. </tr>
  874. <tr>
  875. <td style="width: 25%;"></td>
  876. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: right; font-weight: bold;" colspan="1" rowspan="1">
  877. <span class="text">
  878. <br>
  879. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis pellentesque.</span>
  880. </td>
  881. <td style="width: 25%; font-weight: bold;">
  882. <img style="width: 180px; height: 241px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_case.png "></td>
  883. </tr>
  884. </tbody>
  885. </table>
  886. <p><br>
  887. <br>
  888. </p>
  889. </body>
  890. ');
  891. INSERT INTO system_template (title, comment, image, content) VALUES
  892. ('TemplateTitleLeftList', 'TemplateTitleListLeftListDescription', 'leftlist.gif', '
  893. <head>
  894. {CSS}
  895. </head>
  896. <body>
  897. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  898. <tbody>
  899. <tr>
  900. <td style="width: 66%;"></td>
  901. <td style="vertical-align: bottom; width: 33%;" colspan="1" rowspan="4">&nbsp;<img style="width: 180px; height: 248px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_reads.png "><br>
  902. </td>
  903. </tr>
  904. <tr align="right">
  905. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 66%;">Lorem
  906. ipsum dolor sit amet.
  907. </td>
  908. </tr>
  909. <tr align="right">
  910. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 66%;">
  911. Vivamus
  912. a quam.&nbsp;<br>
  913. </td>
  914. </tr>
  915. <tr align="right">
  916. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 66%;">
  917. Proin
  918. a est stibulum ante ipsum.</td>
  919. </tr>
  920. </tbody>
  921. </table>
  922. <p><br>
  923. <br>
  924. </p>
  925. </body>
  926. ');
  927. INSERT INTO system_template (title, comment, image, content) VALUES
  928. ('TemplateTitleLeftRightList', 'TemplateTitleLeftRightListDescription', 'leftrightlist.gif', '
  929. <head>
  930. {CSS}
  931. </head>
  932. <body>
  933. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; height: 400px; width: 720px;" border="0" cellpadding="15" cellspacing="6">
  934. <tbody>
  935. <tr>
  936. <td></td>
  937. <td style="vertical-align: top;" colspan="1" rowspan="4">&nbsp;<img style="width: 180px; height: 294px;" alt="Trainer" src="{COURSE_DIR}images/trainer/trainer_join_hands.png "><br>
  938. </td>
  939. <td></td>
  940. </tr>
  941. <tr>
  942. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: right;">Lorem
  943. ipsum dolor sit amet.
  944. </td>
  945. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: left;">
  946. Convallis
  947. ut.&nbsp;Cras dui magna.</td>
  948. </tr>
  949. <tr>
  950. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: right;">
  951. Vivamus
  952. a quam.&nbsp;<br>
  953. </td>
  954. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: left;">
  955. Etiam
  956. lacinia stibulum ante.<br>
  957. </td>
  958. </tr>
  959. <tr>
  960. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: right;">
  961. Proin
  962. a est stibulum ante ipsum.</td>
  963. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: left;">
  964. Consectetuer
  965. adipiscing elit. <br>
  966. </td>
  967. </tr>
  968. </tbody>
  969. </table>
  970. <p><br>
  971. <br>
  972. </p>
  973. </body>
  974. ');
  975. INSERT INTO system_template (title, comment, image, content) VALUES
  976. ('TemplateTitleRightList', 'TemplateTitleRightListDescription', 'rightlist.gif', '
  977. <head>
  978. {CSS}
  979. </head>
  980. <body style="direction: ltr;">
  981. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  982. <tbody>
  983. <tr>
  984. <td style="vertical-align: bottom; width: 50%;" colspan="1" rowspan="4"><img style="width: 300px; height: 199px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_points_right.png"><br>
  985. </td>
  986. <td style="width: 50%;"></td>
  987. </tr>
  988. <tr>
  989. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; text-align: left; width: 50%;">
  990. Convallis
  991. ut.&nbsp;Cras dui magna.</td>
  992. </tr>
  993. <tr>
  994. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; text-align: left; width: 50%;">
  995. Etiam
  996. lacinia.<br>
  997. </td>
  998. </tr>
  999. <tr>
  1000. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; text-align: left; width: 50%;">
  1001. Consectetuer
  1002. adipiscing elit. <br>
  1003. </td>
  1004. </tr>
  1005. </tbody>
  1006. </table>
  1007. <p><br>
  1008. <br>
  1009. </p>
  1010. </body>
  1011. ');
  1012. /*
  1013. INSERT INTO system_template (title, comment, image, content) VALUES
  1014. ('TemplateTitleComparison', 'TemplateTitleComparisonDescription', 'compare.gif', '
  1015. <head>
  1016. {CSS}
  1017. </head>
  1018. <body>
  1019. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1020. <tr>
  1021. <td style="height: 10%; width: 33%;"></td>
  1022. <td style="vertical-align: top; width: 33%;" colspan="1" rowspan="2">&nbsp;<img style="width: 180px; height: 271px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_standing.png "><br>
  1023. </td>
  1024. <td style="height: 10%; width: 33%;"></td>
  1025. </tr>
  1026. <tr>
  1027. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 33%; text-align: right;">
  1028. Lorem ipsum dolor sit amet.
  1029. </td>
  1030. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; text-align: left; width: 33%;">
  1031. Convallis
  1032. ut.&nbsp;Cras dui magna.</td>
  1033. </tr>
  1034. </body>
  1035. ');
  1036. */
  1037. INSERT INTO system_template (title, comment, image, content) VALUES
  1038. ('TemplateTitleDiagram', 'TemplateTitleDiagramDescription', 'diagram.gif', '
  1039. <head>
  1040. {CSS}
  1041. </head>
  1042. <body>
  1043. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1044. <tbody>
  1045. <tr>
  1046. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; text-align: left; height: 33%; width: 33%;">
  1047. <br>
  1048. Etiam
  1049. lacinia stibulum ante.
  1050. Convallis
  1051. ut.&nbsp;Cras dui magna.</td>
  1052. <td colspan="1" rowspan="3">
  1053. <img style="width: 350px; height: 267px;" alt="Alaska chart" src="{COURSE_DIR}images/diagrams/alaska_chart.png "></td>
  1054. </tr>
  1055. <tr>
  1056. <td colspan="1" rowspan="1">
  1057. <img style="width: 300px; height: 199px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_points_right.png "></td>
  1058. </tr>
  1059. <tr>
  1060. </tr>
  1061. </tbody>
  1062. </table>
  1063. <p><br>
  1064. <br>
  1065. </p>
  1066. </body>
  1067. ');
  1068. INSERT INTO system_template (title, comment, image, content) VALUES
  1069. ('TemplateTitleDesc', 'TemplateTitleCheckListDescription', 'description.gif', '
  1070. <head>
  1071. {CSS}
  1072. </head>
  1073. <body>
  1074. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1075. <tbody>
  1076. <tr>
  1077. <td style="width: 50%; vertical-align: top;">
  1078. <img style="width: 48px; height: 49px; float: left;" alt="01" src="{COURSE_DIR}images/small/01.png " hspace="5"><br>Lorem ipsum dolor sit amet<br><br><br>
  1079. <img style="width: 48px; height: 49px; float: left;" alt="02" src="{COURSE_DIR}images/small/02.png " hspace="5">
  1080. <br>Ut enim ad minim veniam<br><br><br>
  1081. <img style="width: 48px; height: 49px; float: left;" alt="03" src="{COURSE_DIR}images/small/03.png " hspace="5">Duis aute irure dolor in reprehenderit<br><br><br>
  1082. <img style="width: 48px; height: 49px; float: left;" alt="04" src="{COURSE_DIR}images/small/04.png " hspace="5">Neque porro quisquam est</td>
  1083. <td style="vertical-align: top; width: 50%; text-align: right;" colspan="1" rowspan="1">
  1084. <img style="width: 300px; height: 291px;" alt="Gearbox" src="{COURSE_DIR}images/diagrams/gearbox.jpg "><br></td>
  1085. </tr><tr></tr>
  1086. </tbody>
  1087. </table>
  1088. <p><br>
  1089. <br>
  1090. </p>
  1091. </body>
  1092. ');
  1093. /*
  1094. INSERT INTO system_template (title, comment, image, content) VALUES
  1095. ('TemplateTitleObjectives', 'TemplateTitleObjectivesDescription', 'courseobjectives.gif', '
  1096. <head>
  1097. {CSS}
  1098. </head>
  1099. <body>
  1100. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1101. <tbody>
  1102. <tr>
  1103. <td style="vertical-align: bottom; width: 33%;" colspan="1" rowspan="2">
  1104. <img style="width: 180px; height: 271px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_chair.png "><br>
  1105. </td>
  1106. <td style="height: 10%; width: 66%;"></td>
  1107. </tr>
  1108. <tr>
  1109. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; text-align: left; width: 66%;">
  1110. <h3>Lorem ipsum dolor sit amet</h3>
  1111. <ul>
  1112. <li>consectetur adipisicing elit</li>
  1113. <li>sed do eiusmod tempor incididunt</li>
  1114. <li>ut labore et dolore magna aliqua</li>
  1115. </ul>
  1116. <h3>Ut enim ad minim veniam</h3>
  1117. <ul>
  1118. <li>quis nostrud exercitation ullamco</li>
  1119. <li>laboris nisi ut aliquip ex ea commodo consequat</li>
  1120. <li>Excepteur sint occaecat cupidatat non proident</li>
  1121. </ul>
  1122. </td>
  1123. </tr>
  1124. </tbody>
  1125. </table>
  1126. <p><br>
  1127. <br>
  1128. </p>
  1129. </body>
  1130. ');
  1131. */
  1132. INSERT INTO system_template (title, comment, image, content) VALUES
  1133. ('TemplateTitleCycle', 'TemplateTitleCycleDescription', 'cyclechart.gif', '
  1134. <head>
  1135. {CSS}
  1136. <style>
  1137. .title
  1138. {
  1139. color: white; font-weight: bold;
  1140. }
  1141. </style>
  1142. </head>
  1143. <body>
  1144. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="8" cellspacing="6">
  1145. <tbody>
  1146. <tr>
  1147. <td style="text-align: center; vertical-align: bottom; height: 10%;" colspan="3" rowspan="1">
  1148. <img style="width: 250px; height: 76px;" alt="arrow" src="{COURSE_DIR}images/diagrams/top_arrow.png ">
  1149. </td>
  1150. </tr>
  1151. <tr>
  1152. <td style="height: 5%; width: 45%; vertical-align: top; background-color: rgb(153, 153, 153); text-align: center;">
  1153. <span class="title">Lorem ipsum</span>
  1154. </td>
  1155. <td style="height: 5%; width: 10%;"></td>
  1156. <td style="height: 5%; vertical-align: top; background-color: rgb(153, 153, 153); text-align: center;">
  1157. <span class="title">Sed ut perspiciatis</span>
  1158. </td>
  1159. </tr>
  1160. <tr>
  1161. <td style="background-color: rgb(204, 204, 255); width: 45%; vertical-align: top;">
  1162. <ul>
  1163. <li>dolor sit amet</li>
  1164. <li>consectetur adipisicing elit</li>
  1165. <li>sed do eiusmod tempor&nbsp;</li>
  1166. <li>adipisci velit, sed quia non numquam</li>
  1167. <li>eius modi tempora incidunt ut labore et dolore magnam</li>
  1168. </ul>
  1169. </td>
  1170. <td style="width: 10%;"></td>
  1171. <td style="background-color: rgb(204, 204, 255); width: 45%; vertical-align: top;">
  1172. <ul>
  1173. <li>ut enim ad minim veniam</li>
  1174. <li>quis nostrud exercitation</li><li>ullamco laboris nisi ut</li>
  1175. <li> Quis autem vel eum iure reprehenderit qui in ea</li>
  1176. <li>voluptate velit esse quam nihil molestiae consequatur,</li>
  1177. </ul>
  1178. </td>
  1179. </tr>
  1180. <tr align="center">
  1181. <td style="height: 10%; vertical-align: top;" colspan="3" rowspan="1">
  1182. <img style="width: 250px; height: 76px;" alt="arrow" src="{COURSE_DIR}images/diagrams/bottom_arrow.png ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
  1183. </td>
  1184. </tr>
  1185. </tbody>
  1186. </table>
  1187. <p><br>
  1188. <br>
  1189. </p>
  1190. </body>
  1191. ');
  1192. /*
  1193. INSERT INTO system_template (title, comment, image, content) VALUES
  1194. ('TemplateTitleLearnerWonder', 'TemplateTitleLearnerWonderDescription', 'learnerwonder.gif', '
  1195. <head>
  1196. {CSS}
  1197. </head>
  1198. <body>
  1199. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1200. <tbody>
  1201. <tr>
  1202. <td style="width: 33%;" colspan="1" rowspan="4">
  1203. <img style="width: 120px; height: 348px;" alt="learner wonders" src="{COURSE_DIR}images/silhouette.png "><br>
  1204. </td>
  1205. <td style="width: 66%;"></td>
  1206. </tr>
  1207. <tr align="center">
  1208. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 66%;">
  1209. Convallis
  1210. ut.&nbsp;Cras dui magna.</td>
  1211. </tr>
  1212. <tr align="center">
  1213. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 66%;">
  1214. Etiam
  1215. lacinia stibulum ante.<br>
  1216. </td>
  1217. </tr>
  1218. <tr align="center">
  1219. <td style="background: transparent url({IMG_DIR}faded_grey.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 66%;">
  1220. Consectetuer
  1221. adipiscing elit. <br>
  1222. </td>
  1223. </tr>
  1224. </tbody>
  1225. </table>
  1226. <p><br>
  1227. <br>
  1228. </p>
  1229. </body>
  1230. ');
  1231. */
  1232. INSERT INTO system_template (title, comment, image, content) VALUES
  1233. ('TemplateTitleTimeline', 'TemplateTitleTimelineDescription', 'phasetimeline.gif', '
  1234. <head>
  1235. {CSS}
  1236. <style>
  1237. .title
  1238. {
  1239. font-weight: bold; text-align: center;
  1240. }
  1241. </style>
  1242. </head>
  1243. <body>
  1244. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="8" cellspacing="5">
  1245. <tbody>
  1246. <tr class="title">
  1247. <td style="vertical-align: top; height: 3%; background-color: rgb(224, 224, 224);">Lorem ipsum</td>
  1248. <td style="height: 3%;"></td>
  1249. <td style="vertical-align: top; height: 3%; background-color: rgb(237, 237, 237);">Perspiciatis</td>
  1250. <td style="height: 3%;"></td>
  1251. <td style="vertical-align: top; height: 3%; background-color: rgb(245, 245, 245);">Nemo enim</td>
  1252. </tr>
  1253. <tr>
  1254. <td style="vertical-align: top; width: 30%; background-color: rgb(224, 224, 224);">
  1255. <ul>
  1256. <li>dolor sit amet</li>
  1257. <li>consectetur</li>
  1258. <li>adipisicing elit</li>
  1259. </ul>
  1260. <br>
  1261. </td>
  1262. <td>
  1263. <img style="width: 32px; height: 32px;" alt="arrow" src="{COURSE_DIR}images/small/arrow.png ">
  1264. </td>
  1265. <td style="vertical-align: top; width: 30%; background-color: rgb(237, 237, 237);">
  1266. <ul>
  1267. <li>ut labore</li>
  1268. <li>et dolore</li>
  1269. <li>magni dolores</li>
  1270. </ul>
  1271. </td>
  1272. <td>
  1273. <img style="width: 32px; height: 32px;" alt="arrow" src="{COURSE_DIR}images/small/arrow.png ">
  1274. </td>
  1275. <td style="vertical-align: top; background-color: rgb(245, 245, 245); width: 30%;">
  1276. <ul>
  1277. <li>neque porro</li>
  1278. <li>quisquam est</li>
  1279. <li>qui dolorem&nbsp;&nbsp;</li>
  1280. </ul>
  1281. <br><br>
  1282. </td>
  1283. </tr>
  1284. </tbody>
  1285. </table>
  1286. <p><br>
  1287. <br>
  1288. </p>
  1289. </body>
  1290. ');
  1291. /*
  1292. INSERT INTO system_template (title, comment, image, content) VALUES
  1293. ('TemplateTitleStopAndThink', 'TemplateTitleStopAndThinkDescription', 'stopthink.gif', '
  1294. <head>
  1295. {CSS}
  1296. </head>
  1297. <body>
  1298. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1299. <tbody>
  1300. <tr>
  1301. <td style="vertical-align: bottom; width: 33%;" colspan="1" rowspan="2">
  1302. <img style="width: 180px; height: 169px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_staring.png ">
  1303. <br>
  1304. </td>
  1305. <td style="height: 10%; width: 66%;"></td>
  1306. </tr>
  1307. <tr>
  1308. <td style="background: transparent url({IMG_DIR}postit.png ) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; width: 66%; vertical-align: middle; text-align: center;">
  1309. <h3>Attentio sectetur adipisicing elit</h3>
  1310. <ul>
  1311. <li>sed do eiusmod tempor incididunt</li>
  1312. <li>ut labore et dolore magna aliqua</li>
  1313. <li>quis nostrud exercitation ullamco</li>
  1314. </ul><br></td>
  1315. </tr>
  1316. </tbody>
  1317. </table>
  1318. <p><br>
  1319. <br>
  1320. </p>
  1321. </body>
  1322. ');
  1323. */
  1324. INSERT INTO system_template (title, comment, image, content) VALUES
  1325. ('TemplateTitleTable', 'TemplateTitleCheckListDescription', 'table.gif', '
  1326. <head>
  1327. {CSS}
  1328. <style type="text/css">
  1329. .title
  1330. {
  1331. font-weight: bold; text-align: center;
  1332. }
  1333. .items
  1334. {
  1335. text-align: right;
  1336. }
  1337. </style>
  1338. </head>
  1339. <body>
  1340. <br />
  1341. <h2>A table</h2>
  1342. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px;" border="1" cellpadding="5" cellspacing="0">
  1343. <tbody>
  1344. <tr class="title">
  1345. <td>City</td>
  1346. <td>2005</td>
  1347. <td>2006</td>
  1348. <td>2007</td>
  1349. <td>2008</td>
  1350. </tr>
  1351. <tr class="items">
  1352. <td>Lima</td>
  1353. <td>10,40</td>
  1354. <td>8,95</td>
  1355. <td>9,19</td>
  1356. <td>9,76</td>
  1357. </tr>
  1358. <tr class="items">
  1359. <td>New York</td>
  1360. <td>18,39</td>
  1361. <td>17,52</td>
  1362. <td>16,57</td>
  1363. <td>16,60</td>
  1364. </tr>
  1365. <tr class="items">
  1366. <td>Barcelona</td>
  1367. <td>0,10</td>
  1368. <td>0,10</td>
  1369. <td>0,05</td>
  1370. <td>0,05</td>
  1371. </tr>
  1372. <tr class="items">
  1373. <td>Paris</td>
  1374. <td>3,38</td>
  1375. <td >3,63</td>
  1376. <td>3,63</td>
  1377. <td>3,54</td>
  1378. </tr>
  1379. </tbody>
  1380. </table>
  1381. <br>
  1382. </body>
  1383. ');
  1384. INSERT INTO system_template (title, comment, image, content) VALUES
  1385. ('TemplateTitleAudio', 'TemplateTitleAudioDescription', 'audiocomment.gif', '
  1386. <head>
  1387. {CSS}
  1388. </head>
  1389. <body>
  1390. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1391. <tbody>
  1392. <tr>
  1393. <td>
  1394. <div align="center">
  1395. <span style="text-align: center;">
  1396. <embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="300" height="20" bgcolor="#FFFFFF" src="{REL_PATH}main/inc/lib/mediaplayer/player.swf" allowfullscreen="false" allowscriptaccess="always" flashvars="file={COURSE_DIR}audio/ListeningComprehension.mp3&amp;autostart=true"></embed>
  1397. </span></div>
  1398. <br>
  1399. </td>
  1400. <td colspan="1" rowspan="3"><br>
  1401. <img style="width: 300px; height: 341px; float: right;" alt="image" src="{COURSE_DIR}images/diagrams/head_olfactory_nerve.png "><br></td>
  1402. </tr>
  1403. <tr>
  1404. <td colspan="1" rowspan="1">
  1405. <img style="width: 180px; height: 271px;" alt="trainer" src="{COURSE_DIR}images/trainer/trainer_glasses.png"><br></td>
  1406. </tr>
  1407. <tr>
  1408. </tr>
  1409. </tbody>
  1410. </table>
  1411. <p><br>
  1412. <br>
  1413. </p>
  1414. </body>
  1415. ');
  1416. INSERT INTO system_template (title, comment, image, content) VALUES
  1417. ('TemplateTitleVideo', 'TemplateTitleVideoDescription', 'video.gif', '
  1418. <head>
  1419. {CSS}
  1420. </head>
  1421. <body>
  1422. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 720px; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1423. <tbody>
  1424. <tr>
  1425. <td style="width: 50%; vertical-align: top;">
  1426. <div style="text-align: center;" id="player810625-parent">
  1427. <div style="border-style: none; overflow: hidden; width: 320px; height: 240px; background-color: rgb(220, 220, 220);">
  1428. <div id="player810625">
  1429. <div id="player810625-config" style="overflow: hidden; display: none; visibility: hidden; width: 0px; height: 0px;">url={REL_PATH}main/default_course_document/video/flv/example.flv width=320 height=240 loop=false play=false downloadable=false fullscreen=true displayNavigation=true displayDigits=true align=left dispPlaylist=none playlistThumbs=false</div>
  1430. </div>
  1431. <embed
  1432. type="application/x-shockwave-flash"
  1433. src="{REL_PATH}main/inc/lib/mediaplayer/player.swf"
  1434. width="320"
  1435. height="240"
  1436. id="single"
  1437. name="single"
  1438. quality="high"
  1439. allowfullscreen="true"
  1440. flashvars="width=320&height=240&autostart=false&file={REL_PATH}main/default_course_document/video/flv/example.flv&repeat=false&image=&showdownload=false&link={REL_PATH}main/default_course_document/video/flv/example.flv&showdigits=true&shownavigation=true&logo="
  1441. />
  1442. </div>
  1443. </div>
  1444. </td>
  1445. <td style="background: transparent url({IMG_DIR}faded_grey.png) repeat scroll center top; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; vertical-align: top; width: 50%;">
  1446. <h3><br>
  1447. </h3>
  1448. <h3>Lorem ipsum dolor sit amet</h3>
  1449. <ul>
  1450. <li>consectetur adipisicing elit</li>
  1451. <li>sed do eiusmod tempor incididunt</li>
  1452. <li>ut labore et dolore magna aliqua</li>
  1453. </ul>
  1454. <h3>Ut enim ad minim veniam</h3>
  1455. <ul>
  1456. <li>quis nostrud exercitation ullamco</li>
  1457. <li>laboris nisi ut aliquip ex ea commodo consequat</li>
  1458. <li>Excepteur sint occaecat cupidatat non proident</li>
  1459. </ul>
  1460. </td>
  1461. </tr>
  1462. </tbody>
  1463. </table>
  1464. <p><br>
  1465. <br>
  1466. </p>
  1467. <style type="text/css">body{}</style><!-- to fix a strange bug appearing with firefox when editing this template -->
  1468. </body>
  1469. ');
  1470. INSERT INTO system_template (title, comment, image, content) VALUES
  1471. ('TemplateTitleFlash', 'TemplateTitleFlashDescription', 'flash.gif', '
  1472. <head>
  1473. {CSS}
  1474. </head>
  1475. <body>
  1476. <center>
  1477. <table style="background: transparent url({IMG_DIR}faded_blue_horizontal.png ) repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left; width: 100%; height: 400px;" border="0" cellpadding="15" cellspacing="6">
  1478. <tbody>
  1479. <tr>
  1480. <td align="center">
  1481. <embed width="700" height="300" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="{COURSE_DIR}flash/SpinEchoSequence.swf" play="true" loop="true" menu="true"></embed></span><br />
  1482. </td>
  1483. </tr>
  1484. </tbody>
  1485. </table>
  1486. <p><br>
  1487. <br>
  1488. </p>
  1489. </center>
  1490. </body>
  1491. ');
  1492. INSERT INTO user_friend_relation_type (id, title)
  1493. VALUES
  1494. (1,'SocialUnknow'),
  1495. (2,'SocialParent'),
  1496. (3,'SocialFriend'),
  1497. (4,'SocialGoodFriend'),
  1498. (5,'SocialEnemy'),
  1499. (6,'SocialDeleted');
  1500. INSERT INTO skill (name) VALUES ('Root');
  1501. INSERT INTO skill_rel_skill VALUES(1, 1, 0, 0, 0);
  1502. INSERT INTO course_type (id, name) VALUES (1, 'All tools');
  1503. INSERT INTO course_type (id, name) VALUES (2, 'Entry exam');
  1504. INSERT INTO sequence_rule (description)
  1505. VALUES ('If user completes 70% of an entity or group of items, he will be able to access another entity or group of items');
  1506. INSERT INTO sequence_condition (description, mat_op, param, act_true, act_false) VALUES
  1507. ('<= 100%','<=', 100.0, 2, null),
  1508. ('>= 70%','>=', 70.0, 0, null);
  1509. INSERT INTO sequence_rule_condition VALUES
  1510. (1,1,1),
  1511. (2,1,2);
  1512. INSERT INTO sequence_method (description,formula, assign, met_type) VALUES
  1513. ('Add completed item','v#2 + $complete_items;', 2, 'add'),
  1514. ('Update progress by division', 'v#2 / v#3 * 100;', 1, 'div'),
  1515. ('Update items count', '$total_items;', 3,'update'),
  1516. ('Enable success', '1;', 4, 'success'),
  1517. ('Store success date', '(empty(v#5))? api_get_utc_datetime() : v#5;', 5, 'success'),
  1518. ('Enable availability', '1;', 6, 'pre'),
  1519. ('Store availability start date', '(empty(v#7))? api_get_utc_datetime() : v#7;', 7, 'pre'),
  1520. ('Store availability end date', '(empty($available_end_date))? api_get_utc_datetime($available_end_date) : "0000-00-00 00:00:00";', 8, 'pre'),
  1521. ('Increase the items count', 'v#3 + $total_items;', 3,'add'),
  1522. ('Update completed items', '$complete_items;', 2,'update'),
  1523. ('Update progress', '$complete_items / $total_items * 100;', 1, 'update');
  1524. INSERT INTO sequence_rule_method VALUES
  1525. (1,1,1,1),
  1526. (2,1,2,3),
  1527. (3,1,3,0),
  1528. (4,1,4,0),
  1529. (5,1,5,0),
  1530. (6,1,6,0),
  1531. (7,1,7,0),
  1532. (8,1,8,0),
  1533. (9,1,9,2),
  1534. (10,1,10,0),
  1535. (11,1,11,0);
  1536. INSERT INTO sequence_variable VALUES
  1537. (1, 'Percentile progress', 'advance', 0.0),
  1538. (2, 'Completed items', 'complete_items', 0),
  1539. (3, 'Items count', 'total_items', 0),
  1540. (4, 'Completed', 'success', 0),
  1541. (5, 'Completion date', 'success_date', '0000-00-00 00:00:00'),
  1542. (6, 'Available', 'available', 0),
  1543. (7, 'Availability start date', 'available_start_date', '0000-00-00 00:00:00'),
  1544. (8, 'Availability end date', 'available_end_date', '0000-00-00 00:00:00');
  1545. INSERT INTO sequence_formula VALUES
  1546. (1,1,2),
  1547. (2,2,2),
  1548. (3,2,3),
  1549. (4,2,1),
  1550. (5,3,3),
  1551. (6,4,4),
  1552. (7,5,5),
  1553. (8,6,6),
  1554. (9,7,7),
  1555. (10,8,8),
  1556. (11,9,3),
  1557. (12,10,2),
  1558. (13,11,1);
  1559. INSERT INTO sequence_valid VALUES
  1560. (1,1,1),
  1561. (2,1,2);
  1562. INSERT INTO sequence_type_entity VALUES
  1563. (1,'Lp', 'Learning Path','c_lp'),
  1564. (2,'Quiz', 'Quiz and Tests','c_quiz'),
  1565. (3,'LpItem', 'Items of a Learning Path','c_lp_item');
  1566. -- Version 1.10.0.39
  1567. INSERT INTO settings_current
  1568. (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable)
  1569. VALUES
  1570. ('hide_home_top_when_connected', '', 'radio', 'Platform', 'false', 'HideHomeTopContentWhenLoggedInText', 'HideHomeTopContentWhenLoggedInComment', NULL, '', true),
  1571. ('hide_global_announcements_when_not_connected','','radio','Platform','false', 'HideGlobalAnnouncementsWhenNotLoggedInText','HideGlobalAnnouncementsWhenNotLoggedInComment',NULL,'', true),
  1572. ('course_creation_use_template','','textfield','Course','','CourseCreationUsesTemplateText','CourseCreationUsesTemplateComment',NULL,'',true),
  1573. ('allow_strength_pass_checker','','radio','Security','true','EnablePasswordStrengthCheckerText','EnablePasswordStrengthCheckerComment',NULL,'',true),
  1574. ('allow_captcha','','radio','Security','false','EnableCaptchaText','EnableCaptchaComment',NULL,'',true),
  1575. ('captcha_number_mistakes_to_block_account','','textfield','Security',5,'CaptchaNumberOfMistakesBeforeBlockingAccountText','CaptchaNumberOfMistakesBeforeBlockingAccountComment',NULL,'',true),
  1576. ('captcha_time_to_block','','textfield','Security',5,'CaptchaTimeAccountIsLockedText','CaptchaTimeAccountIsLockedComment',NULL,'',true),
  1577. ('drh_can_access_all_session_content','','radio','Session','true','DRHAccessToAllSessionContentText','DRHAccessToAllSessionContentComment',NULL,'',true),
  1578. ('display_groups_forum_in_general_tool','','radio','Tools','true','ShowGroupForaInGeneralToolText','ShowGroupForaInGeneralToolComment',NULL,'',true),
  1579. ('allow_tutors_to_assign_students_to_session','','radio','Session','false','TutorsCanAssignStudentsToSessionsText','TutorsCanAssignStudentsToSessionsComment',NULL,'',true);
  1580. INSERT INTO settings_options (variable, value, display_text)
  1581. VALUES
  1582. ('hide_home_top_when_connected','true','Yes'),
  1583. ('hide_home_top_when_connected','false','No'),
  1584. ('hide_global_announcements_when_not_connected','true','Yes'),
  1585. ('hide_global_announcements_when_not_connected','false','No'),
  1586. ('allow_strength_pass_checker','true','Yes'),
  1587. ('allow_strength_pass_checker','false','No'),
  1588. ('allow_captcha','true','Yes'),
  1589. ('allow_captcha','false','No'),
  1590. ('drh_can_access_all_session_content','true','Yes'),
  1591. ('drh_can_access_all_session_content','false','No'),
  1592. ('display_groups_forum_in_general_tool','true','Yes'),
  1593. ('display_groups_forum_in_general_tool','false','No'),
  1594. ('allow_tutors_to_assign_students_to_session','true','Yes'),
  1595. ('allow_tutors_to_assign_students_to_session','false','No');
  1596. UPDATE user SET username_canonical = username;
  1597. -- Version 1.10.0.40
  1598. INSERT INTO settings_current
  1599. (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable)
  1600. VALUES
  1601. ('allow_lp_return_link', NULL, 'radio', 'Course', 'true', 'AllowLearningPathReturnLinkTitle', 'AllowLearningPathReturnLinkComment', NULL, NULL, 1),
  1602. ('hide_scorm_export_link', NULL, 'radio', 'Course', 'false', 'HideScormExportLinkTitle', 'HideScormExportLinkComment', NULL, NULL, 1),
  1603. ('hide_scorm_copy_link', NULL, 'radio', 'Course', 'false', 'HideScormCopyLinkTitle', 'HideScormCopyLinkComment', NULL, NULL, 1),
  1604. ('hide_scorm_pdf_link', NULL, 'radio', 'Course', 'false', 'HideScormPdfLinkTitle', 'HideScormPdfLinkComment', NULL, NULL, 1),
  1605. ('session_days_before_coach_access', NULL, 'textfield', 'Session', '0', 'SessionDaysBeforeCoachAccessTitle', 'SessionDaysBeforeCoachAccessComment', NULL, NULL, 1),
  1606. ('session_days_after_coach_access', NULL, 'textfield', 'Session', '0', 'SessionDaysAfterCoachAccessTitle', 'SessionDaysAfterCoachAccessComment', NULL, NULL, 1),
  1607. ('pdf_logo_header', NULL, 'radio', 'Course', 'false', 'PdfLogoHeaderTitle', 'PdfLogoHeaderComment', NULL, NULL, 1),
  1608. ('order_user_list_by_official_code', NULL, 'radio', 'Platform', 'false', 'OrderUserListByOfficialCodeTitle', 'OrderUserListByOfficialCodeComment', NULL, NULL, 1),
  1609. ('email_alert_manager_on_new_quiz', NULL, 'radio', 'Tools', 'true', 'AlertManagerOnNewQuizTitle', 'AlertManagerOnNewQuizComment', NULL, NULL, 1),
  1610. ('show_official_code_exercise_result_list', NULL, 'radio', 'Tools', 'false', 'ShowOfficialCodeInExerciseResultListTitle', 'ShowOfficialCodeInExerciseResultListComment', NULL, NULL, 1),
  1611. ('course_catalog_hide_private', NULL, 'radio', 'Platform', 'false', 'HidePrivateCoursesFromCourseCatalogTitle', 'HidePrivateCoursesFromCourseCatalogComment', NULL, NULL, 1),
  1612. ('catalog_show_courses_sessions', NULL, 'radio', 'Platform', '0', 'CoursesCatalogueShowSessionsTitle', 'CoursesCatalogueShowSessionsComment', NULL, NULL, 1),
  1613. ('auto_detect_language_custom_pages', NULL, 'radio', 'Platform', 'true', 'AutoDetectLanguageCustomPagesTitle', 'AutoDetectLanguageCustomPagesComment', NULL, NULL, 1),
  1614. ('lp_show_reduced_report', NULL, 'radio', 'Tools', 'false', 'LearningPathShowReducedReportTitle', 'LearningPathShowReducedReportComment', NULL, NULL, 1),
  1615. ('allow_session_course_copy_for_teachers', NULL, 'radio', 'Session', 'false', 'AllowSessionCourseCopyForTeachersTitle', 'AllowSessionCourseCopyForTeachersComment', NULL, NULL, 1),
  1616. ('hide_logout_button', NULL, 'radio', 'Platform', 'false', 'HideLogoutButtonTitle', 'HideLogoutButtonComment', NULL, NULL, 1),
  1617. ('redirect_admin_to_courses_list', NULL, 'radio', 'Platform', 'false', 'RedirectAdminToCoursesListTitle', 'RedirectAdminToCoursesListComment', NULL, NULL, 1),
  1618. ('course_images_in_courses_list', NULL, 'radio', 'Course', 'false', 'CourseImagesInCoursesListTitle', 'CourseImagesInCoursesListComment', NULL, NULL, 1),
  1619. ('student_publication_to_take_in_gradebook', NULL, 'radio', 'Gradebook', 'first', 'StudentPublicationSelectionForGradebookTitle', 'StudentPublicationSelectionForGradebookComment', NULL, NULL, 1),
  1620. ('certificate_filter_by_official_code', NULL, 'radio', 'Gradebook', 'false', 'FilterCertificateByOfficialCodeTitle', 'FilterCertificateByOfficialCodeComment', NULL, NULL, 1),
  1621. ('exercise_max_ckeditors_in_page', NULL, 'textfield', 'Tools', '0', 'MaxCKeditorsOnExerciseResultsPageTitle', 'MaxCKeditorsOnExerciseResultsPageComment', NULL, NULL, 1),
  1622. ('document_if_file_exists_option', NULL, 'radio', 'Tools', 'rename', 'DocumentDefaultOptionIfFileExistsTitle', 'DocumentDefaultOptionIfFileExistsComment', NULL, NULL, 1),
  1623. ('add_gradebook_certificates_cron_task_enabled', NULL, 'radio', 'Tools', 'false', 'GradebookCronTaskGenerationTitle', 'GradebookCronTaskGenerationComment', NULL, NULL, 1),
  1624. ('openbadges_backpack', NULL, 'textfield', 'Gradebook', 'https://backpack.openbadges.org/', 'OpenBadgesBackpackUrlTitle', 'OpenBadgesBackpackUrlComment', NULL, NULL, 1),
  1625. ('cookie_warning', NULL, 'radio', 'Tools', 'false', 'CookieWarningTitle', 'CookieWarningComment', NULL, NULL, 1),
  1626. ('hide_course_group_if_no_tools_available', NULL, 'radio', 'Tools', 'false', 'HideCourseGroupIfNoToolAvailableTitle', 'HideCourseGroupIfNoToolAvailableComment', NULL, NULL, 1),
  1627. ('catalog_allow_session_auto_subscription', NULL, 'radio', 'Session', 'false', 'CatalogueAllowSessionAutoSubscriptionTitle', 'CatalogueAllowSessionAutoSubscriptionTitle', NULL, NULL, 1),
  1628. ('registration.soap.php.decode_utf8', NULL, 'radio', 'Platform', 'false', 'SoapRegistrationDecodeUtf8Title', 'SoapRegistrationDecodeUtf8Comment', NULL, NULL, 1),
  1629. ('allow_delete_attendance', NULL, 'radio', 'Tools', 'false', 'AttendanceDeletionEnableTitle', 'AttendanceDeletionEnableComment', NULL, NULL, 1),
  1630. ('gravatar_enabled', NULL, 'radio', 'Platform', 'false', 'GravatarPicturesTitle', 'GravatarPicturesComment', NULL, NULL, 1),
  1631. ('gravatar_type', NULL, 'radio', 'Platform', 'mm', 'GravatarPicturesTypeTitle', 'GravatarPicturesTypeComment', NULL, NULL, 1),
  1632. ('limit_session_admin_role', NULL, 'radio', 'Session', 'false', 'SessionAdminPermissionsLimitTitle', 'SessionAdminPermissionsLimitComment', NULL, NULL, 1),
  1633. ('show_session_description', NULL, 'radio', 'Session', 'false', 'ShowSessionDescriptionTitle', 'ShowSessionDescriptionComment', NULL, NULL, 1),
  1634. ('hide_certificate_export_link_students', NULL, 'radio', 'Gradebook', 'false', 'CertificateHideExportLinkStudentTitle', 'CertificateHideExportLinkStudentComment', NULL, NULL, 1),
  1635. ('hide_certificate_export_link', NULL, 'radio', 'Gradebook', 'false', 'CertificateHideExportLinkTitle', 'CertificateHideExportLinkComment', NULL, NULL, 1),
  1636. ('dropbox_hide_course_coach', NULL, 'radio', 'Tools', 'false', 'DropboxHideCourseCoachTitle', 'DropboxHideCourseCoachComment', NULL, NULL, 1),
  1637. ('sso_force_redirect', NULL, 'radio', 'Security', 'false', 'SSOForceRedirectTitle', 'SSOForceRedirectComment', NULL, NULL, 1),
  1638. ('session_course_ordering', NULL, 'radio', 'Session', 'false', 'SessionCourseOrderingTitle', 'SessionCourseOrderingComment', NULL, NULL, 1),
  1639. ('gamification_mode', NULL, 'radio', 'Platform', '0', 'GamificationModeTitle', 'GamificationModeComment', NULL, NULL, 1);
  1640. INSERT INTO settings_options (variable, value, display_text)
  1641. VALUES
  1642. ('allow_lp_return_link', 'true', 'Yes'),
  1643. ('allow_lp_return_link', 'false', 'No'),
  1644. ('hide_scorm_export_link', 'true', 'Yes'),
  1645. ('hide_scorm_export_link', 'false', 'No'),
  1646. ('hide_scorm_copy_link', 'true', 'Yes'),
  1647. ('hide_scorm_copy_link', 'false', 'No'),
  1648. ('hide_scorm_pdf_link', 'true', 'Yes'),
  1649. ('hide_scorm_pdf_link', 'false', 'No'),
  1650. ('pdf_logo_header', 'true', 'Yes'),
  1651. ('pdf_logo_header', 'false', 'No'),
  1652. ('order_user_list_by_official_code', 'true', 'Yes'),
  1653. ('order_user_list_by_official_code', 'false', 'No'),
  1654. ('email_alert_manager_on_new_quiz', 'true', 'Yes'),
  1655. ('email_alert_manager_on_new_quiz', 'false', 'No'),
  1656. ('show_official_code_exercise_result_list', 'true', 'Yes'),
  1657. ('show_official_code_exercise_result_list', 'false', 'No'),
  1658. ('course_catalog_hide_private', 'true', 'Yes'),
  1659. ('course_catalog_hide_private', 'false', 'No'),
  1660. ('catalog_show_courses_sessions', '0', 'CatalogueShowOnlyCourses'),
  1661. ('catalog_show_courses_sessions', '1', 'CatalogueShowOnlySessions'),
  1662. ('catalog_show_courses_sessions', '2', 'CatalogueShowCoursesAndSessions'),
  1663. ('auto_detect_language_custom_pages', 'true', 'Yes'),
  1664. ('auto_detect_language_custom_pages', 'false', 'No'),
  1665. ('lp_show_reduced_report', 'true', 'Yes'),
  1666. ('lp_show_reduced_report', 'false', 'No'),
  1667. ('allow_session_course_copy_for_teachers', 'true', 'Yes'),
  1668. ('allow_session_course_copy_for_teachers', 'false', 'No'),
  1669. ('hide_logout_button', 'true', 'Yes'),
  1670. ('hide_logout_button', 'false', 'No'),
  1671. ('redirect_admin_to_courses_list', 'true', 'Yes'),
  1672. ('redirect_admin_to_courses_list', 'false', 'No'),
  1673. ('course_images_in_courses_list', 'true', 'Yes'),
  1674. ('course_images_in_courses_list', 'false', 'No'),
  1675. ('student_publication_to_take_in_gradebook', 'first', 'First'),
  1676. ('student_publication_to_take_in_gradebook', 'last', 'Last'),
  1677. ('certificate_filter_by_official_code', 'true', 'Yes'),
  1678. ('certificate_filter_by_official_code', 'false', 'No'),
  1679. ('document_if_file_exists_option', 'rename', 'Rename'),
  1680. ('document_if_file_exists_option', 'overwrite', 'Overwrite'),
  1681. ('add_gradebook_certificates_cron_task_enabled', 'true', 'Yes'),
  1682. ('add_gradebook_certificates_cron_task_enabled', 'false', 'No'),
  1683. ('cookie_warning', 'true', 'Yes'),
  1684. ('cookie_warning', 'false', 'No'),
  1685. ('hide_course_group_if_no_tools_available', 'true', 'Yes'),
  1686. ('hide_course_group_if_no_tools_available', 'false', 'No'),
  1687. ('catalog_allow_session_auto_subscription', 'true', 'Yes'),
  1688. ('catalog_allow_session_auto_subscription', 'false', 'No'),
  1689. ('registration.soap.php.decode_utf8', 'true', 'Yes'),
  1690. ('registration.soap.php.decode_utf8', 'false', 'No'),
  1691. ('allow_delete_attendance', 'true', 'Yes'),
  1692. ('allow_delete_attendance', 'false', 'No'),
  1693. ('gravatar_enabled', 'true', 'Yes'),
  1694. ('gravatar_enabled', 'false', 'No'),
  1695. ('gravatar_type', 'mm', 'mistery-man'),
  1696. ('gravatar_type', 'identicon', 'identicon'),
  1697. ('gravatar_type', 'monsterid', 'monsterid'),
  1698. ('gravatar_type', 'wavatar', 'wavatar'),
  1699. ('limit_session_admin_role', 'true', 'Yes'),
  1700. ('limit_session_admin_role', 'false', 'No'),
  1701. ('show_session_description', 'true', 'Yes'),
  1702. ('show_session_description', 'false', 'No'),
  1703. ('hide_certificate_export_link_students', 'true', 'Yes'),
  1704. ('hide_certificate_export_link_students', 'false', 'No'),
  1705. ('hide_certificate_export_link', 'true', 'Yes'),
  1706. ('hide_certificate_export_link', 'false', 'No'),
  1707. ('dropbox_hide_course_coach', 'true', 'Yes'),
  1708. ('dropbox_hide_course_coach', 'false', 'No'),
  1709. ('sso_force_redirect', 'true', 'Yes'),
  1710. ('sso_force_redirect', 'false', 'No'),
  1711. ('session_course_ordering', 'true', 'Yes'),
  1712. ('session_course_ordering', 'false', 'No'),
  1713. ('gamification_mode', '1', 'Yes'),
  1714. ('gamification_mode', '0', 'No');
  1715. UPDATE settings_current SET selected_value = '1.10.0.43' WHERE variable = 'chamilo_database_version';