From 76a7ae56d3eb47a28b97879f1ad7a88ed7e7706d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Mar 2013 14:16:34 +0400 Subject: add plugin based on google reader css at http://tt-rss.org/forum/viewtopic.php?f=22&t=1287&start=15#p5956 --- plugins/googlereadertheme/init.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 plugins/googlereadertheme/init.php (limited to 'plugins/googlereadertheme/init.php') diff --git a/plugins/googlereadertheme/init.php b/plugins/googlereadertheme/init.php new file mode 100644 index 000000000..76e6fa421 --- /dev/null +++ b/plugins/googlereadertheme/init.php @@ -0,0 +1,25 @@ +link = $host->get_link(); + $this->host = $host; + + // force-enable combined mode + set_pref($this->link, "COMBINED_DISPLAY_MODE", true); + } + + function get_css() { + return file_get_contents(dirname(__FILE__) . "/init.css"); + } +} +?> -- cgit v1.2.3