diff options
Diffstat (limited to 'classes')
-rwxr-xr-x | classes/pref/feeds.php | 9 | ||||
-rw-r--r-- | classes/pref/prefs.php | 13 | ||||
-rw-r--r-- | classes/pref/system.php | 3 |
3 files changed, 17 insertions, 8 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index d29cf70f5..058646bdc 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -1134,7 +1134,8 @@ class Pref_Feeds extends Handler_Protected { function index() { print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">"; - print "<div id=\"pref-feeds-feeds\" dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Feeds')."\">"; + print "<div id=\"pref-feeds-feeds\" dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>rss_feed</i> ".__('Feeds')."\">"; $sth = $this->pdo->prepare("SELECT COUNT(id) AS num_errors FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ?"); @@ -1268,7 +1269,8 @@ class Pref_Feeds extends Handler_Protected { print "</div>"; # feeds pane - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>import_export</i> ".__('OPML')."\">"; print __("Using OPML you can export and import your feeds, filters, labels and Tiny Tiny RSS settings.") . __("Only main settings profile can be migrated using OPML."); @@ -1323,7 +1325,8 @@ class Pref_Feeds extends Handler_Protected { print "</div>"; # pane - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Published & shared articles / Generated feeds')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>share</i> ".__('Published & shared articles / Generated feeds')."\">"; print __('Published articles can be subscribed by anyone who knows the following URL:'); diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 92a5f0818..045e0bc98 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -176,7 +176,8 @@ class Pref_Prefs extends Handler_Protected { $_SESSION["prefs_op_result"] = ""; print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">"; - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Personal data / Authentication')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>person</i> ".__('Personal data / Authentication')."\">"; print "<form dojoType=\"dijit.form.Form\" id=\"changeUserdataForm\">"; @@ -422,7 +423,8 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane - print "<div dojoType=\"dijit.layout.AccordionPane\" selected=\"true\" title=\"".__('Preferences')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" selected=\"true\" + title=\"<i class='material-icons'>settings</i> ".__('Preferences')."\">"; print "<form dojoType=\"dijit.form.Form\" id=\"changeSettingsForm\">"; @@ -675,7 +677,8 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Plugins')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>extension</i> ".__('Plugins')."\">"; print "<form dojoType=\"dijit.form.Form\" id=\"changePluginsForm\">"; @@ -839,14 +842,16 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane print "</div>"; #pane - print "</doiv>"; #border-container + print "</div>"; #border-container print "</form>"; + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "hook_prefs_tab", "prefPrefs"); print "</div>"; #container + } function toggleAdvanced() { diff --git a/classes/pref/system.php b/classes/pref/system.php index ef2ca98b0..f44b499c8 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -26,7 +26,8 @@ class Pref_System extends Handler_Protected { function index() { print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">"; - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Event Log')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>report</i> ".__('Event Log')."\">"; if (LOG_DESTINATION == "sql") { |