From 814e49f8f78c349b471726c01d7a7cd2eb5121c3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 Dec 2018 08:56:28 +0300 Subject: add icons to accordion panels in preferences fix typo in pref-prefs closing panel tag --- classes/pref/feeds.php | 9 ++++++--- classes/pref/prefs.php | 13 +++++++++---- classes/pref/system.php | 3 ++- 3 files changed, 17 insertions(+), 8 deletions(-) (limited to 'classes/pref') 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 "
"; - print "
"; + print "
rss_feed ".__('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 "
"; # feeds pane - print "
"; + print "
import_export ".__('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 "
"; # pane - print "
"; + print "
share ".__('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 "
"; - print "
"; + print "
person ".__('Personal data / Authentication')."\">"; print "
"; @@ -422,7 +423,8 @@ class Pref_Prefs extends Handler_Protected { print "
"; #pane - print "
"; + print "
settings ".__('Preferences')."\">"; print ""; @@ -675,7 +677,8 @@ class Pref_Prefs extends Handler_Protected { print "
"; #pane - print "
"; + print "
extension ".__('Plugins')."\">"; print ""; @@ -839,14 +842,16 @@ class Pref_Prefs extends Handler_Protected { print "
"; #pane print "
"; #pane - print ""; #border-container + print "
"; #border-container print ""; + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "hook_prefs_tab", "prefPrefs"); print "
"; #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 "
"; - print "
"; + print "
report ".__('Event Log')."\">"; if (LOG_DESTINATION == "sql") { -- cgit v1.2.3