1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-03 16:59:14 +00:00

rework user CSS support (bump schema)

This commit is contained in:
Andrew Dolgov
2010-11-24 19:23:24 +03:00
parent dcb38ced56
commit 88e4e5979c
12 changed files with 98 additions and 17 deletions

View File

@@ -16,7 +16,7 @@
$prefs_blacklist = array("HIDE_FEEDLIST", "SYNC_COUNTERS", "ENABLE_LABELS",
"ENABLE_SEARCH_TOOLBAR", "HIDE_READ_FEEDS", "ENABLE_FEED_ICONS",
"ENABLE_OFFLINE_READING", "EXTENDED_FEEDLIST", "FEEDS_SORT_BY_UNREAD",
"OPEN_LINKS_IN_NEW_WINDOW");
"OPEN_LINKS_IN_NEW_WINDOW", "USER_STYLESHEET_URL");
$profile_blacklist = array("ALLOW_DUPLICATE_POSTS", "PURGE_OLD_DAYS",
"PURGE_UNREAD_ARTICLES", "DIGEST_ENABLE", "DIGEST_CATCHUP",
@@ -419,6 +419,10 @@
$timezones = explode("\n", file_get_contents("lib/timezones.txt"));
print_select($pref_name, $value, $timezones, 'dojoType="dijit.form.FilteringSelect"');
} else if ($pref_name == "USER_STYLESHEET") {
print "<button dojoType=\"dijit.form.Button\"
onclick=\"customizeCSS()\">" . __('Customize') . "</button>";
} else if ($pref_name == "DEFAULT_UPDATE_INTERVAL") {