<title>Tiny Tiny RSS : Preferences</title>
<link rel="stylesheet" href="tt-rss.css" type="text/css">
+ <? $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?>
+ <? if ($user_css_url) { ?>
+ <link type="text/css" href="<?= $user_css_url ?>"/>
+ <? } ?>
+
<? if (get_pref($link, 'USE_COMPACT_STYLESHEET')) { ?>
<link rel="stylesheet" href="tt-rss_compact.css" type="text/css">
'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),
'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),
<link rel="stylesheet" type="text/css" href="tt-rss.css">
+ <? $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?>
+ <? if ($user_css_url) { ?>
+ <link type="text/css" href="<?= $user_css_url ?>"/>
+ <? } ?>
+
<? if (get_pref($link, 'USE_COMPACT_STYLESHEET')) { ?>
<link rel="stylesheet" href="tt-rss_compact.css" type="text/css">