data.sql 122 KB

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