mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
add icons to accordion panels in preferences
fix typo in pref-prefs closing panel tag
This commit is contained in:
@@ -46,7 +46,8 @@ class Af_Comics extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefFeeds") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Feeds supported by af_comics')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>photo</i> ".__('Feeds supported by af_comics')."\">";
|
||||
|
||||
print "<p>" . __("The following comics are currently supported:") . "</p>";
|
||||
|
||||
|
||||
@@ -121,7 +121,8 @@ class Af_Psql_Trgm extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefFeeds") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Mark similar articles as read')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>extension</i> ".__('Mark similar articles as read')."\">";
|
||||
|
||||
if (DB_TYPE != "pgsql") {
|
||||
print_error("Database type not supported.");
|
||||
|
||||
@@ -44,7 +44,8 @@ class Af_Readability extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefFeeds") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Readability settings (af_readability)')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>extension</i> ".__('Readability settings (af_readability)')."\">";
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
|
||||
print_error("This plugin requires PHP version 5.6.");
|
||||
|
||||
@@ -27,7 +27,8 @@ class Af_RedditImgur extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefFeeds") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Reddit content settings (af_redditimgur)')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>extension</i> ".__('Reddit content settings (af_redditimgur)')."\">";
|
||||
|
||||
$enable_readability = $this->host->get($this, "enable_readability");
|
||||
$enable_content_dupcheck = $this->host->get($this, "enable_content_dupcheck");
|
||||
|
||||
@@ -205,7 +205,8 @@ class Af_Zz_ImgProxy extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefFeeds") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Image proxy settings (af_zz_imgproxy)')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>extension</i> ".__('Image proxy settings (af_zz_imgproxy)')."\">";
|
||||
|
||||
print "<form dojoType=\"dijit.form.Form\">";
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@ class Bookmarklets extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args == "prefFeeds") {
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Bookmarklets')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>bookmark</i> ".__('Bookmarklets')."\">";
|
||||
|
||||
print __("Drag the link below to your browser toolbar, open the feed you're interested in in your browser and click on the link to subscribe to it.");
|
||||
|
||||
|
||||
@@ -50,7 +50,8 @@ class Import_Export extends Plugin implements IHandler {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefFeeds") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Import and export')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>import_export</i> ".__('Import and export')."\">";
|
||||
|
||||
print_notice(__("You can export and import your Starred and Archived articles for safekeeping or when migrating between tt-rss instances of same version."));
|
||||
|
||||
|
||||
@@ -32,7 +32,8 @@ class Mail extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefPrefs") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Mail plugin')."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>mail</i> ".__('Mail plugin')."\">";
|
||||
|
||||
print "<p>" . __("You can set predefined email addressed here (comma-separated list):") . "</p>";
|
||||
|
||||
|
||||
@@ -49,7 +49,8 @@ class NSFW extends Plugin {
|
||||
function hook_prefs_tab($args) {
|
||||
if ($args != "prefPrefs") return;
|
||||
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__("NSFW Plugin")."\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\"
|
||||
title=\"<i class='material-icons'>extension</i> ".__("NSFW Plugin")."\">";
|
||||
|
||||
print "<br/>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user