From 386d7b5bda0a1d86896d08a6805307ea18ea919f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Nov 2005 07:44:19 +0100 Subject: [PATCH] new option - USER_STYLESHEET_URL --- prefs.php | 5 +++++ schema/ttrss_schema_mysql.sql | 3 +++ schema/ttrss_schema_pgsql.sql | 3 +++ tt-rss.php | 5 +++++ 4 files changed, 16 insertions(+) diff --git a/prefs.php b/prefs.php index 4b15c52e..0c036d99 100644 --- a/prefs.php +++ b/prefs.php @@ -15,6 +15,11 @@ Tiny Tiny RSS : Preferences + + + + + diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index bb311bcc..3ac062c7 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -189,6 +189,9 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_ 'This option is useful when you are reading several planet-type aggregators with partially colliding userbase. When disabled, it forces same posts from different feeds to appear only once.'); +insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('USER_STYLESHEET_URL', 2, '', 'User stylesheet URL',2, + 'Link to user stylesheet to override default style, disabled if empty.'); + create table ttrss_user_prefs ( owner_uid integer not null, pref_name varchar(250), diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index a9befdce..107b094d 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -177,6 +177,9 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_ 'This option is useful when you are reading several planet-type aggregators with partially colliding userbase. When disabled, it forces same posts from different feeds to appear only once.'); +insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('USER_STYLESHEET_URL', 2, '', 'User stylesheet URL',2, + 'Link to user stylesheet to override default style, disabled if empty.'); + create table ttrss_user_prefs ( owner_uid integer not null references ttrss_users(id) on delete cascade, pref_name varchar(250) not null references ttrss_prefs(pref_name), diff --git a/tt-rss.php b/tt-rss.php index f35478b6..f52a67d7 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -17,6 +17,11 @@ + + + + + -- 2.39.5