فهرست منبع

[svn r15116] Set public_admin as default CSS and removed update from migration script (people using default should keep with default)

Yannick Warnier 17 سال پیش
والد
کامیت
1b2773b7ef
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 1
      main/install/dokeos_main.sql
  2. 0 1
      main/install/migrate-db-1.8.4-1.8.5-pre.sql

+ 1 - 1
main/install/dokeos_main.sql

@@ -499,7 +499,7 @@ VALUES
 ('service_ppt2lp', 'path_to_lzx', 'textfield', NULL, NULL, '', NULL, NULL, NULL),
 ('service_ppt2lp', 'size', 'radio', NULL, '720x540', '', NULL, NULL, NULL),
 ('wcag_anysurfer_public_pages', NULL, 'radio','Platform','false','PublicPagesComplyToWAITitle','PublicPagesComplyToWAIComment', NULL, NULL),
-('stylesheets', NULL, 'textfield','stylesheets','dokeos_classic','',NULL, NULL, NULL),
+('stylesheets', NULL, 'textfield','stylesheets','public_admin','',NULL, NULL, NULL),
 ('upload_extensions_list_type', NULL, 'radio', 'Security', 'blacklist', 'UploadExtensionsListType', 'UploadExtensionsListTypeComment', NULL, NULL),
 ('upload_extensions_blacklist', NULL, 'textfield', 'Security', '', 'UploadExtensionsBlacklist', 'UploadExtensionsBlacklistComment', NULL, NULL),
 ('upload_extensions_whitelist', NULL, 'textfield', 'Security', 'htm;html;jpg;jpeg;gif;png;swf;avi;mpg;mpeg', 'UploadExtensionsWhitelist', 'UploadExtensionsWhitelistComment', NULL, NULL),

+ 0 - 1
main/install/migrate-db-1.8.4-1.8.5-pre.sql

@@ -97,7 +97,6 @@ INSERT INTO settings_options (variable, value, display_text) VALUES ('ldap_versi
 INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('service_visio', 'visio_use_rtmpt', 'radio', null, 'false', 'VisioUseRtmptTitle', 'VisioUseRtmptComment', NULL, '');
 INSERT INTO settings_options (variable, value, display_text) VALUES ('visio_use_rtmpt', 'true', 'Yes');
 INSERT INTO settings_options (variable, value, display_text) VALUES ('visio_use_rtmpt', 'false', 'No');
-UPDATE settings_current SET selected_value='dokeos_classic' WHERE variable='stylesheets' AND category='stylesheets';
 ALTER TABLE settings_current ADD COLUMN access_url int unsigned not null default 1;
 ALTER TABLE settings_current ADD COLUMN access_url_changeable int unsigned not null default 0;
 ALTER TABLE settings_current ADD INDEX (access_url);