1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-24 06:37:10 +00:00
This commit is contained in:
Andrew Dolgov
2013-03-18 14:16:34 +04:00
parent c670a80ddd
commit 76a7ae56d3
2 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
class GoogleReaderTheme extends Plugin {
private $link;
private $host;
function about() {
return array(1.0,
"Make tt-rss look similar to Google Reader",
"levito");
}
function init($host) {
$this->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");
}
}
?>