mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
add ability to select CSS files in themes/
This commit is contained in:
@@ -291,7 +291,7 @@ create table ttrss_tags (id integer primary key auto_increment,
|
||||
|
||||
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
||||
|
||||
insert into ttrss_version values (109);
|
||||
insert into ttrss_version values (110);
|
||||
|
||||
create table ttrss_enclosures (id integer primary key auto_increment,
|
||||
content_url text not null,
|
||||
@@ -439,6 +439,8 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_MOBILE_REVERSE_HEADLINES', 1, 'false', '', 1);
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('USER_CSS_THEME', 2, '', 'Select theme', 2, 'Select one of the available CSS themes');
|
||||
|
||||
update ttrss_prefs set access_level = 1 where pref_name in ('ON_CATCHUP_SHOW_NEXT_FEED',
|
||||
'SORT_HEADLINES_BY_FEED_DATE',
|
||||
'VFEED_GROUP_BY_FEED',
|
||||
|
||||
@@ -249,7 +249,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
|
||||
|
||||
create table ttrss_version (schema_version int not null);
|
||||
|
||||
insert into ttrss_version values (109);
|
||||
insert into ttrss_version values (110);
|
||||
|
||||
create table ttrss_enclosures (id serial not null primary key,
|
||||
content_url text not null,
|
||||
@@ -389,6 +389,8 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_MOBILE_REVERSE_HEADLINES', 1, 'false', '', 1);
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('USER_CSS_THEME', 2, '', 'Select theme', 2, 'Select one of the available CSS themes');
|
||||
|
||||
update ttrss_prefs set access_level = 1 where pref_name in ('ON_CATCHUP_SHOW_NEXT_FEED',
|
||||
'SORT_HEADLINES_BY_FEED_DATE',
|
||||
'VFEED_GROUP_BY_FEED',
|
||||
|
||||
7
schema/versions/mysql/110.sql
Normal file
7
schema/versions/mysql/110.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
begin;
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('USER_CSS_THEME', 2, '', 'Select theme', 2, 'Select one of the available CSS themes');
|
||||
|
||||
update ttrss_version set schema_version = 110;
|
||||
|
||||
commit;
|
||||
7
schema/versions/pgsql/110.sql
Normal file
7
schema/versions/pgsql/110.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
begin;
|
||||
|
||||
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('USER_CSS_THEME', 2, '', 'Select theme', 2, 'Select one of the available CSS themes');
|
||||
|
||||
update ttrss_version set schema_version = 110;
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user